How can I get ePWM9 to epWM12 signals using SImulink

2 次查看(过去 30 天)
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

回答(1 个)

Dhruv
Dhruv 2024-10-21
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 个评论
Mikel
Mikel 2024-10-23,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)

请先登录,再进行评论。

标签

Community Treasure Hunt

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

Start Hunting!

Translated by