How do I encode to a TMS320F28335 and see PWM signals live?
6 次查看(过去 30 天)
显示 更早的评论
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.
回答(1 个)
Dr. Pemendra Kumar Pardhi
2022-4-1
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 个评论
社区
另请参阅
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!