- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am wanting to produce a 31.25kHz accurate clock signal out of GPIO pin what can run continuously.
I will be using an external crystal on eco pins (P15.0, P15.1) which is 20ppm.
Can I simply place a clock component , set it derived from IMO and frequency to 31.25 kHz , attach to GPIO pin and get 31.25kHz with accuracy derived from the crystal?
Thanks
Solved! Go to Solution.
- Labels:
-
PSoC 5 Architecture
-
PSoC 5LP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You can refer to the below linker:
- 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
Since
31.25 kHz = 24 MHz / 3 / 256 = 24 MHz / 768
the clock source must be selected as XTAL or PLL, and divider must be set exactly to 768.
Make sure that the XTAL is indeed operates at 24.000 +/- 0.003 MHz. Most likely it is not (needs capacitors tuning), so there is no point of using 20ppm XTAL, 100ppm will do.
/odissey1