Filter löschen
Filter löschen

How can I obtain 12epwm signals from F28379D Launchpad?

17 Ansichten (letzte 30 Tage)
Merve Aydin
Merve Aydin am 12 Mai 2023
Kommentiert: Merve Aydin am 29 Mai 2023
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.

Antworten (1)

Vishwa
Vishwa am 16 Mai 2023
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 Kommentare
Merve Aydin
Merve Aydin am 18 Mai 2023
I am sincerely grateful
Merve Aydin
Merve Aydin am 29 Mai 2023
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...

Melden Sie sich an, um zu kommentieren.

Produkte


Version

R2023a

Community Treasure Hunt

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

Start Hunting!

Translated by