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