- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I use a poc5 kit with cy8c5888 and have to define the clock for USB usage.
I once tried this kit with USBUART example, this worked perfect. Now I have to set up project by myself. This board has no external crystal, so it should run on internal clock. unfortunately the clock selection offers only highly volatile clock sources. So how to configure this device for 0,25% acuticy ?
Second question: How to change psoc device in a example project.... I once was successful but I cannot rememeber and seached for this for 30minutes.... 😞
regards
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello RuGl_1600761
1) For the USB clock setting as correctly mentioned by Len you need to make the following settings in case of PSOC 5LP:
1. IMO: Set to 24 MHz.
2. ILO: Set to 100 kHz
3. USB: Enable and select IMOx2 to achieve 48 MHz
2) In order to change the device, in your workspace explorer, right click on the project and select Device Selector
In the device selector you and Filter from the list of desired CPU, Family, Series, etc and choose the required device.
Kindly let me know if you have any further queries related to this issue.
Best Regards
Ekta
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
RuGl,
You're clock setting look correct. I can set mine to the same as yours. I don't get the "!" mark on the USB clock block.
Select the "!". It should give you a clue why it is complaining. With that clue, you might be able to fix the issue.
How to change the device:
Select the project where you want to change the device and right click.
The "Device Selector..." should be one of the menu items. Select it. The Device Selector window should come up.
Len
"Engineering is an Art. The Art of Compromise."
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
accuracy 0.25% enabled only for USB -> IMOx2 - 48MHz
I didn't pay attention to it before and can't explain...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Evgeniy,
You are correct. I noticed it too.
RuGl,
You need to change the USB Clock source from "PLL_OUT - 24 MHz" to "IMOx2 - 48 MHz". This will automatically force the IMO clock block to set to 24 MHz +/-0.25%.
This should correct that problem.
Len
"Engineering is an Art. The Art of Compromise."
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Rupert,
In the attached image I see that the source to the USB is selected as PLL_OUT. Can you please change the source of clock to the USB block as IMOx2 -48 MHz. Keep the IMO at 24Mhz. Ensure the ILO is at 100 kHz.
Please let me know if this setting work for you.
Best Regards
Ekta
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Ok found it ... I have to change the clock inside USB box… here I can find the IMOx2.
Thanks.
Regards
Rupert
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Rupert,
I assume since you found the IMOx2 selection in the USB clock block, it now works to get 0.25% tolerance.
Len
"Engineering is an Art. The Art of Compromise."
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Len,
yes, USB HID is working now, thanks.
Best regards
Rupert
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Rupert,
EXCELLENT!
To help the community, please select one post from the numerous contributors in this discussion as the post that best answers your issue correctly. This will then close the discussion and provide others looking for a answer to the same problem.
Len
"Engineering is an Art. The Art of Compromise."
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello RuGl_1600761
1) For the USB clock setting as correctly mentioned by Len you need to make the following settings in case of PSOC 5LP:
1. IMO: Set to 24 MHz.
2. ILO: Set to 100 kHz
3. USB: Enable and select IMOx2 to achieve 48 MHz
2) In order to change the device, in your workspace explorer, right click on the project and select Device Selector
In the device selector you and Filter from the list of desired CPU, Family, Series, etc and choose the required device.
Kindly let me know if you have any further queries related to this issue.
Best Regards
Ekta