C2000 ePWM block on Simulink to trigger two ADC channels?

2 ビュー (過去 30 日間)
Solomon
Solomon 2016 年 5 月 25 日
編集済み: Solomon 2016 年 5 月 26 日
I'd like to trigger two ADC channels on the F28377S Launchpad using Simulink, however, I do not know how to set up the ePWM block to trigger the ADCs one after the other but not at the same time. Can someone please guide me through the ePWM block parameters to achieve this?
Thanks!

回答 (1 件)

Sumith Sekharan
Sumith Sekharan 2016 年 5 月 26 日
Hi Solomon, For F28377S processor there is no simultaneous sampling option. But you can achieve the same using 2 ADC modules. You can select the same PWM event trigger for both the modules. This should allow you to sample two channels with the same PWM event.
Hope this helps. Let me know.
Thanks, Sumith
  1 件のコメント
Solomon
Solomon 2016 年 5 月 26 日
編集済み: Solomon 2016 年 5 月 26 日
Hey Sumith, Using two different module works but I have quite a few sources that I want to read from and I don't have enough modules. Also, I'm not trying to sample them at the same time, but I'm trying to alternate sampling between both the channels so that they sample one after the other. This can be done using CCS but I'm a beginner and I would like to use Simulink to achieve the same. I'm pretty sure it has something to do with the ePWM block parameters.
Solomon

サインインしてコメントする。

Community Treasure Hunt

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

Start Hunting!

Translated by