MATLAB Answers

Serial send and receive using C2000LaunchPad F28379D and Simulink

26 ビュー (過去 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

  0 件のコメント

サインインしてコメントする。

回答 (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

  0 件のコメント

サインインしてコメントする。

Community Treasure Hunt

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

Start Hunting!

Translated by