C2000 Synchronization of ePWM modules with external signal
9 次查看(过去 30 天)
显示 更早的评论
Hello everyone, I am trying to use an external signal to synchronize 4 ePWM (ePWM1, ePWM2, ePWM3 and ePWM4) modules together, however I have not been able to make it work. Modules ePWM1, ePWM2 and ePWM3 are configured as UP/DOWN with TBPRD = 5000 (achieving 20 kHz period) and ePWM4 is also configured in UP/DOWN mode, however TBPRD = 50000 (achieving 2 kHz). I would like to use a signal connected to GPIO40 as an external SYNC to the ePWM modules. The signal is 2 kHz. How am I supposed to configure the ePWM Blocks in Simulink??? BTW: I have configured GPIO40 als SYNCI inthe Hardware settings tab.
I have also noticed that Simulink is not setting the EPWMSYNCINSEL register in the generated code.....
I am using a TMS320F28388D ControlCard
Thanks!
0 个评论
回答(1 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!