Connection between Code Composer & Matlab on F28388D Texas Microcontroller

Hi , i am currently programming the F28388D Microcontroller from TI. I wanna know since i am collecting some data from the ADC modules on code composer studio, if it is possible to move these data ,that i collect into a buffer in CCS, to Matlab in order to trasnfer the data and plot it. I just found guide that used Simulink also to program with TI Blocks and generate automatically Code to run for TI microcontroller , but in my case i am running the code from CCS and i wanna send my data to Matlab for the plot. If there are some references or examples of how to this.
Thanks in advice

Answers (1)

I understand you're collecting ADC data from the TI F28388D microcontroller in Code Composer Studio and want to transfer it to MATLAB for plotting.
You have two straightforward options:
If it is possible with current workflow, for real-time data transfer, use serial communication. Configure the UART/SCI module on the F28388D to send your ADC buffer data. In MATLAB, receive the data using the "serialport" interface.
Make sure the COM port and baud rate match your microcontroller settings.
For offline analysis, export your ADC data from Code Composer Studio to a CSV or binary file. In MATLAB, import and plot the data.
The serial method works well for live monitoring. The file method is simpler for post-collection analysis.
For more information, the following documentation links can be referred:
I hope this helps!

Asked:

on 21 Mar 2026 at 15:13

Answered:

about 3 hours ago

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!