cancel
Showing results for 
Search instead for 
Did you mean: 

PSoC Creator & Designer Software

RiTa_288331
New Contributor II

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?

0 Likes
1 Solution
RodolfoGL
Employee

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

View solution in original post

0 Likes
1 Reply
RodolfoGL
Employee

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

View solution in original post

0 Likes