How can I get ePWM9 to epWM12 signals using SImulink

2 ビュー (過去 30 日間)
Mikel
Mikel 2024 年 10 月 17 日
コメント済み: Mikel 2024 年 10 月 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

回答 (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 日
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