- Configure the GPIO pin: Choose a GPIO pin that you want to use for monitoring the ePWM blanking signal. Configure the pin as an input using the appropriate GPIO registers or the corresponding peripheral configuration tool provided by your development environment.
- Enable the ePWM blanking signal routing: In order to route the ePWM blanking signal to the GPIO pin, you need to configure the appropriate register in the ePWM module. The specific register and bit names may vary depending on the exact microcontroller and development environment you are using.
- Connect the ePWM blanking signal to the GPIO pin: Physically connect the output of the ePWM blanking signal to the GPIO pin you have chosen. This can be done by connecting the appropriate pins or using jumper wires, depending on your hardware setup.
- Monitor the ePWM blanking signal: Once you have completed the above steps, you can now monitor the ePWM blanking signal on the GPIO pin using a scope or any other monitoring device. This will allow you to observe the behavior of the blanking signal alongside the PWM and CMPSS1H outputs.
C2000 can EPWMxBLANK be routed out to a GPIO pin?
3 views (last 30 days)
Show older comments
I'm having trouble getting the ePWM blanking window working as I want on an F28388D (I'm trying to blank out the switch-on spike for a Peak Curent Control scheme).
Is there a method to route the effective EPWMxBLANK signal out to a GPIO pin so that I can monitor it on a scope vs the PWM and CMPSS1H outputs? (I have CMPSS1H connected to a GPIO already for this purpose).
Kind regards,
Richard.
0 Comments
Answers (1)
Sivapriya Srinivasan
on 5 Sep 2023
Hello Richard,
Yes, you can route the ePWM blanking signal to a GPIO pin for monitoring it on a scope. On the F28388D microcontroller, you can use the ePWMxTZ signal to achieve this. Here are the steps to route the ePWMxBLANK signal to a GPIO pin:
For further assistance refer Generate enhanced Pulse Width Modulated (ePWM) waveforms - Simulink (mathworks.com
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!