Stretching the PWM overflow output

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
RiTa_288331
Level 2
Level 2
10 replies posted 10 questions asked 5 replies posted

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
Employee
250 solutions authored 250 sign-ins 5 comments on KBA

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
Employee
250 solutions authored 250 sign-ins 5 comments on KBA

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

0 Likes