F28M35 Simulink ePWM block
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Hi all
I am new to this device and blocks associated with it and I have read the block description page. I am trying to do some ADC in and PWM outs. But for all the examples the ePWM blocks are orange and with an input port of "WA", however if I drag the exactly same block from the library the block will not have any input port even if all the settings are the same. I believe the input is to drive the ePWM clock.
Please help me, the image is attached below.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/194519/image.png)
Thanks.
0 commentaires
Réponses (1)
Vineeth Nair
le 31 Août 2018
To get the "WA" input port , open block parameters ->Under counter compare tab-> set the "Specify CMPA via" parameter to - Input port. Note that, this is not the port to drive ePWM clock. To know more about the ePWM block, its timer properties etc. you can go to this link .
3 commentaires
Vineeth Nair
le 3 Sep 2018
1. Priority of ADC's can be changed. In Configuration parameters-> Hardware implementation -> Select required Hardware board. Under Target hardware resources->There are settings for ADC, where priority can be set to high priority. By default it's in round robin mode.
2.Here you can also see settings for clocking. The clock frequency can be changed here. Attaching screenshot of these settings tabs.
Voir également
Catégories
En savoir plus sur Texas Instruments C2000 F28M3x Concerto Processors dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!