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.

回答(1 个)

Vishwa
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
Hope it helps!
Regards,
Vishwa
  6 个评论
Merve Aydin
Merve Aydin 2023-5-29
Hello again Vishwa,
I have another question, I tried obtaining SPWM with the blocks you sent me last time. I want to change the ePWM trigger as it is in the attached file I'm sending. I couldn't find where to change the form of the trigger signal inside the block. Do you have any suggestions?
Thank you for your time,
Best regards...

请先登录,再进行评论。

标签

产品


版本

R2023a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by