- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Community,
I want to do bootloading using USB in Psoc 6(CY8C6247BZI-D54). For that I tried USB in empty project and I found Error.
That Error is:
Invalid connection for clock "USBFS_devClk" connected to "\USBFS:USBFS\:clk_usb_dev". The component input does not support generated clocks.
I tried so many things and it is still not working.
Can somebody help me to solve this Error? Can someone send the link for code example of USB in PSOC Creator for PSOC6?
Thank You,
Anjali
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @Anjali ,
You are seeing this error because you have not set the 48Mhz clock to the USB component you have used in the TopDesign.cysch.
Please follow the below steps to resolve this error:
1. Go to the Clocks tab in Design Wide Resources and make sure that the USBFS_Dev_1_busRstClk and USBFS_Dev_1_devClk are checked as shown below.
2. Next, double click on the PathMux1 clock shown in the above image and the below shown opens up (Double clicking on any of the clocks apart from the bottom 2 clocks for USB will open this window).
Navigate to source clocks tab and select USB from the drop down for IMO as shown below:
3. Next, navigate to the FLL/PLL tab and check the box for PLL and then click on the ... and set the desired frequency to 48MHz and save as shown below:
4. Next go to the High Frequency clocks tab and enable Clk_HF3 to Path1(48MHz).
Try the build after this and the error should be resolved.
You will have to additionally configure your USB device in the USB configurator after this by selecting the same from top design as shown below:
Additionally you can also have a look at the attached code example for USBFS in PSoC Creator.
Hope this helps.
Warm Regards
Alen
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @Anjali ,
You are seeing this error because you have not set the 48Mhz clock to the USB component you have used in the TopDesign.cysch.
Please follow the below steps to resolve this error:
1. Go to the Clocks tab in Design Wide Resources and make sure that the USBFS_Dev_1_busRstClk and USBFS_Dev_1_devClk are checked as shown below.
2. Next, double click on the PathMux1 clock shown in the above image and the below shown opens up (Double clicking on any of the clocks apart from the bottom 2 clocks for USB will open this window).
Navigate to source clocks tab and select USB from the drop down for IMO as shown below:
3. Next, navigate to the FLL/PLL tab and check the box for PLL and then click on the ... and set the desired frequency to 48MHz and save as shown below:
4. Next go to the High Frequency clocks tab and enable Clk_HF3 to Path1(48MHz).
Try the build after this and the error should be resolved.
You will have to additionally configure your USB device in the USB configurator after this by selecting the same from top design as shown below:
Additionally you can also have a look at the attached code example for USBFS in PSoC Creator.
Hope this helps.
Warm Regards
Alen