How do I encode to a TMS320F28335 and see PWM signals live?
6 views (last 30 days)
Show older comments
I am running a PWM DC to DC converter using the TMS320F28335 digital signals processor on a TMDSPREX28335 mounting board. When I download the program, involving ADC PIDs and PWM blocks, the download will be successful but the transistors are stuck on or 100% duty cycle. If I switch the controller off and back on the circuit functions correctly but I am unable to view the values of the program with scopes because in the process of turning the controller off and back on the DSP loses communication with the DSP. The DSP is being powered and programmed through the USB.
5 Comments
Answers (1)
Dr. Pemendra Kumar Pardhi
on 1 Apr 2022
Hello ryan,
As per your comment, you are able to run the model in external mode,then general the pwm signals As given below link
https://in.mathworks.com/matlabcentral/answers/862265-code-generation-for-tms320f28379d-using-matlab-with-repeating-sequence-and-relational-operators-bloc?s_tid=srchtitle
In given above link pls replace reapitative sequence With Repeating Sequence Interpolated
And at the end of logical operator connect scope On scope you can observe pwm signals
Thanks Pemendra Pardhi
0 Comments
Communities
More Answers in the Power Electronics Control
See Also
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!