generation square-wave signal

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

cross mob
Anonymous
Not applicable
        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.   
0 Likes
1 Reply
odissey1
Level 9
Level 9
First comment on KBA 1000 replies posted 750 replies posted
        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: http://www.cypress.com/forum/psoc-community-components/psoc-today-usb-psoc-3-pulse-generator-project...   
0 Likes