PWM Block in One-shot Application | Cypress Semiconductor
PWM Block in One-shot Application
I am trying to implement a one-shot using the PWM block. My system must rapidly (< a few 10s of usec) respond to a rising edge trigger pulse by putting out a fixed pulse length output (pulse length of ~10msec). The trigger signal may have multiple transitions, so I would like to trigger the one-shot on the first rising edge transition and ignore further triggers until the period of the one-shot is over. I am using a clock frequency of 1 MHz on the PWM block
I have tried a variety of approaches using the PWM block, but I am having several major problems:
- There's a delay of several msec between the trigger pulse and the output pulse
- I want the output to be low and pulse high after trigger. I seem to end up with an output that is initially high and pulses low when triggered
- I don't really see a major difference between the two run modes (one-shot with single or multiple triggers)
Does anyone out there have an example of successfully using this block for this sort of thing?