How can I obtain 12epwm signals from F28379D Launchpad?

조회 수: 11 (최근 30일)
Merve Aydin
Merve Aydin 2023년 5월 12일
댓글: Merve Aydin 2023년 5월 29일
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월 18일
I am sincerely grateful
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