Serial send and receive using C2000LaunchPad F28379D and Simulink

조회 수: 7 (최근 30일)
Oussama S'HISSEH
Oussama S'HISSEH 2020년 6월 25일
답변: Venkatesh Chilapur 2020년 7월 1일
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

답변 (1개)

Venkatesh Chilapur
Venkatesh Chilapur 2020년 7월 1일
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