- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi!
I have a custom board that uses USB and an external oscillator and I'm trying to get it working with the USB clock set up. When I debug it I see that it gets stuck in the CyClockStartupError function. I know the oscillator works because I scoped it and saw a good signal and I tried a blank project that just had the clock enabled and it initalized fine. From that I think it must be the way I'm adding the USB clock. Attached is my project. Any suggestion will be appreciated!
Thanks!
- Labels:
-
PSoC 5LP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Your project still has a 24MHz crystal enabled. When it is not there the system will halt. Remove the crystal in the clock definitions and place a digital input pin (unsynced!!), connect it to a short wire and name that signal. Select this signal as clock input in clock view.
Bob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sorry, I should have clarified. The external XTAL is 24MHz
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content