How can I get ePWM9 to epWM12 signals using SImulink

2 views (last 30 days)
Mikel
Mikel on 17 Oct 2024
Commented: Mikel on 23 Oct 2024 at 11:23
Hi
I need to get 12 pairs of PWMs with a TI Delfino F2837xD Launchpad, using simulnk
I am able to get ePWMs (A and B) 1 to 8, but I have troubles to get the rest between epWM 9 and ePWM 10.
I have tried configuring them by writing some registers using a System Initialize block but doesn't seem to work well.
Do you know how to configure them?
Thanks in advance

Answers (1)

Dhruv
Dhruv on 21 Oct 2024
Hi Mikel,
To configure ePWMs on the TI Delfino F28379D Launchpad using Simulink, you can use the Target Hardware Resources settings. Follow these steps:
  1. Open your Simulink model and go to Modeling > Model Settings.
  2. Select TI Delfino F28379D under Hardware Implementation.
  3. In Hardware board settings, navigate to Target Hardware Resources.
Here, you can configure the ePWMs as shown in the image below:
For more information, please refer to the following documentation page:
Hope this helps!
  1 Comment
Mikel
Mikel on 23 Oct 2024 at 11:23
Hi Dhruv
Thanks for your response.
It doesn't seem to be so easily resolved, as some of these GPIOs are not directly routed to Launchpad Pins.
  • GPIO 17 (ePWM9B)
  • GPIO 20 (ePWM11A)
  • GPIO 21 (ePWM11B)

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!