- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi everyone.
I'm pretty new to this architecture and I'm asked to generate a 16 MHz square wave output, using a CY8C4125LQS-S423.
My understanding is that this part no. has a fixed 24 MHz clock and that I can't route an internal fractional divider to a pin.
Am I right?
Thank you for your help.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
AlSp,
You are correct. The part you have chosen (CY8C4125LQS-S423) is very limited. (Max and only IMO Clock: 24MHz and No UDBs).
If you can switch to the CY8C4145 or CY8C4146 series of parts, you can generate a 32MHz IMO and use it to drive a PWM with a Period of 1 and a Compare of 1. This will provide a 16MHz square wave that you can route to a digital output pin.
Here is an example project of the change suggested.
"Engineering is an Art. The Art of Compromise."
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
AlSp,
You are correct. The part you have chosen (CY8C4125LQS-S423) is very limited. (Max and only IMO Clock: 24MHz and No UDBs).
If you can switch to the CY8C4145 or CY8C4146 series of parts, you can generate a 32MHz IMO and use it to drive a PWM with a Period of 1 and a Compare of 1. This will provide a 16MHz square wave that you can route to a digital output pin.
Here is an example project of the change suggested.
"Engineering is an Art. The Art of Compromise."
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you very much for your reply!
Regards,
Alberto