I am using C2000 TMS320F28379D board with Matlab. I am not clear in using ePWM and eQEP blocks with Matlab. In case of ePWM, how can I set exact duty cycle and the frequency that we need?. And in the eQEP how should I use that for speed reading?
6 views (last 30 days)
Show older comments
rangana jayasanka
on 25 Sep 2018
Answered: Venkatesh Chilapur
on 25 Sep 2018
If anyone has used this, please help me.
0 Comments
Accepted Answer
Venkatesh Chilapur
on 25 Sep 2018
Checkout the example 'c2807x_2837xx_adcpwmasynctest_ert.slx' from the support package for ePWM use case. For eQEP the example 'c28335pmsmfoc_ert' has an example of decoding the rotor position using eQEP module.
0 Comments
More Answers (1)
Venkatesh Chilapur
on 25 Sep 2018
The MathWorks documentation is also a good starting point to dig for details. Like in this case the following link as plenty details on the eQEP use case.
https://www.mathworks.com/help/releases/R2018a/supportpkg/texasinstrumentsc2000/examples/permanent-magnet-synchronous-motor-field-oriented-control.html
and below link details the on the configuration items ePWM block.
https://www.mathworks.com/help/releases/R2018a/supportpkg/texasinstrumentsc2000/ref/c280xc2802xc2803xc2805xc2806xc2833xc2834xf28m3xf2807xf2837xdf2837xsf28004xepwm.html
Hope this helps, Venkatesh C
0 Comments
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!