How can I obtain 12epwm signals from F28379D Launchpad?
5 次查看(过去 30 天)
显示 更早的评论
I want to see 12 epwm signals on the oscilloscope at the same time using TMS320F28379D launcpad, but Matlab/simulink-2022b does not allow me to use the same epwm block twice. I tried to set epwmA and epwmB using epwm1 block. According to the datasheet, I should have seen pwm from pins 39 and 40. However, I couldn't see it. I would be very happy if you could help.
0 个评论
回答(1 个)
Vishwa
2023-5-16
Hi,
You should certainly be able to use multiple ePWM blocks, just make sure that each block is configured to a different ePWM module. TMS320F28379D launchpad has 12 ePWM modules, depending on your requirements you can use either all 12 ePWM blocks or 6 ePWM blocks. (1 block can generate 2 complementary pulses)
GPIO Pins in which you prefer to see the output can be configured from “Model Settings > Hardware Implementation”
For detail description of ePWM block in Simulink please refer the following documentation: Generate enhanced Pulse Width Modulated (ePWM) waveforms - Simulink - MathWorks India
Please see this example, which uses 2 ePWM blocks: Using Time-Base Counter Synchronization to Synchronize ePWMs and eCAPS - MATLAB & Simulink - MathWorks India
Hope it helps!
Regards,
Vishwa
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!