You are here

generation square-wave signal | Cypress Semiconductor

generation square-wave signal

Summary: 1 Reply, Latest post by odissey1 on 02 Dec 2015 12:29 PM PST
Verified Answers: 0
Last post
Log in to post new comments.
maniek's picture
20 posts

I want to generated a square-wave signal with adjustable pulse width and frequency so I think the best will be use PWM module.
This signel had also adjustable voltage level so I need DAC module.
I want to do so that the PWM module generates a signal. On the rising edge I set one voltage level and on the falling edge I set second voltage level.
I know that PWM can generated only one interrupt so PWM module will be generated interrupt on the rising edge. How can I generated interrupt on the falling edge ? I may use GPIO to generated this interrupt but in my projekt all pins have used.

user_342122993's picture
530 posts

To have better response, please post your specs requirements: frequency, duty, bit-res, fixed parameters or variable etc.

And check if this project example from Cypress suits your needs:

Log in to post new comments.