TMS320F28379D: Matlab compile and build ok but HW no show
1 次查看(过去 30 天)
显示 更早的评论
TMS320F28379D: Matlab compile and build ok but HW not acting as supposed.
Greetings,
I'm using matlab simulink to put in place an electric motor piloting systems. This one receives information like currents and rotor position (Inputs) and delivers 3 PWMs (Outpus).
When I simulate my model on my PC, everything runs just fine. Hereafter, the results on the diagnostics window:
(see attached image capture)
When I want to run it on my Launchpad, the compilation goes right, the build goes right. But, the the HW seems it does not react.
For debugging, I added a simple block that I already tested separately. This code uses a sin(t) signal with a 2s period and 2 leds. The red led is on if the sin is positive and blue led is on if the led is negative.
I redeployed my model in the launchpad with the debugging, no errors shown, and both leds are constantly ON.
Notes:
> I've tested the Matlab/Launchpad input and output blocks separately and they seemed to work just fine.
> I've tested the debugging blocks on a separate isolated model to confirm it worked properly on its own.
Since I'm new to the Launchpad, new with its interface with Matlab and it shows no errors I don't know where to look for potential problem sources. What can the cause(s) be? Is there a clue to look into?
I did a problem report on the texas instrument site (https://e2e.ti.com/support/microcontrollers/c2000-microcontrollers-group/c2000/f/c2000-microcontrollers-forum/1047248/tms320f28379d-matlab-compile-and-build-ok-but-hw-not-acting-as-supposed/3875419#3875419). Since, the a solution was not found I was send directly to the matlab site.
Kindest regards,
Gonzalo
0 个评论
回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!