- External mode: https://www.mathworks.com/help/releases/R2020b/supportpkg/texasinstrumentsc2000/ug/parameter-tuning-and-signal-logging-with-serial-external-mode.html
- If your algorithm is running at fater rate like 50 usec, we have a custom serial protocol to log and tune signals. This method is explained in this video: https://www.mathworks.com/matlabcentral/fileexchange/61420-dc-dc-buck-converter-example.
MATLAB to TI C2000 F28379D data exchange
27 次查看(过去 30 天)
显示 更早的评论
I would like to send and receive data between MATLAB and a TI C2000 F28379D controller. More specifically the F28379D is to control and monitor a circuit but will also require comparisons with previously aquired calibration data to help in the control of the output signal, hence I am looking for near real-time data flow from the controller to MATLAB and for MATLAB to be able to change a variable/register in the controller if needed. Is it possible to accomplish this via an I2C command or will I need to find another means to accomplish this? Eitherway I am stuggling with setting up the communication path and could some guidance on how to accomplish this.
0 个评论
采纳的回答
Sumith Sekharan
2020-10-1
To communicate with Simulink/MATLAB from F28379D Launchpad, you can use the USB serial interface available on the hardware. For logging and tuning we can use 2 methods:
Hope this helps, let us know.
Thanks,
Sumith
更多回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!