- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Greetings All!
Using a PSOC 6, I am trying to use a single PWM module to control a boost converter single power switch MOSFET, AND trigger an external ADC.
I want to use the PWM's overflow output to trigger the external ADC, but the pulse is too narrow to reliably trigger the ADC. On my oscilloscope, with the PWM frequency at 25kHz, I measure the overflow pulse at ~60 nanoseconds.
Is there a way to "stretch" this overflow pulse?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
If you are using PSoC Creator, you can add the SR Flip-flop component between the PWM and ADC.
- Connect the "s" to the PWM overflow
- Connect the "r" to the ADC "sdone" or "eos"
- Connect the "q" to the ADC "soc"
- Clock the SR Flip-flop with the same frequency you clock the PWM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
If you are using PSoC Creator, you can add the SR Flip-flop component between the PWM and ADC.
- Connect the "s" to the PWM overflow
- Connect the "r" to the ADC "sdone" or "eos"
- Connect the "q" to the ADC "soc"
- Clock the SR Flip-flop with the same frequency you clock the PWM