Serial send and receive using C2000LaunchPad F28379D and Simulink

42 Ansichten (letzte 30 Tage)
Oussama S'HISSEH
Oussama S'HISSEH am 25 Jun. 2020
Hi!
I'm programming C2000LaunchPad F28379D using Simulink thanks to "Embedded Coder Support Package for Texas Instruments C2000 Processors".
Actually, I'm trying to do a serial communication between the LauchPad and my computer via USB and read data from an application that a did using Appdesigner.
The problem is: I want to read card's ADCs and send data to serial port, but i want to control number of data and the speed to send with. So I need a buffer to store data and send them when ever the buffer is full, so i can control the number of data to send by controling the buffer size.
I have seen some exemples by the required "DSP System Toolbox" and "Instrument Control Toolbox".
Best regards

Antworten (1)

Venkatesh Chilapur
Venkatesh Chilapur am 1 Jul. 2020
Hi,
Please refer the below post for more details on the 2 model approach for exchanging data over serial between host and target models.
Here is the link to the video which talks in detail about this approach.
HTH,
Regards,
Venkatesh C

Community Treasure Hunt

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

Start Hunting!

Translated by