- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
is there a way to change the stop output voltage of the PWM pin I am using ( GPIO_11 ) . I am trying to create pulses at a specific frequency but the pin when stoped ( timer disable ) sets to 3.3V.. I want to be able to have to go to zero V.
I have tried changing the OC polarity to Low but that did not work .Changing the duty cycle and not stopping the PCM timer does not produce good results.
thanks
TIM_OCPolarity_Low
- Labels:
-
Cloud
-
GPIO
-
Wifi+Bluetooth
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
What frequency and duty cycle are you trying to create?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
36mhz frequency and 60 percent duty cycle. I want to them use that as the carrier and pulse from 250 cycles to 2000 cycles depending on factors.
Whenever I stop the Pwm to create the low part of the pulse , the voltage goes high ( instead of low ). So I have tried then changing the duty cycle to zero to fake a Pwm stop. It's. It working well. So back to plan A and trying to find the way ( in software to have the Pwm pulse stop with a low voltage. )
Rob