MATLAB Answers

Serial communication between two Launchpads

4 ビュー (過去 30 日間)
Timo Lenz
Timo Lenz 2020 年 3 月 5 日
回答済み: Antonin 2020 年 3 月 31 日
Hi there,
I would like to use one of the serial interfaces of the TI C2000 Launchpad F28379D to send serial communication to another participant or to receive messages. Is there an example or something similar?
(I do not mean the external mode, but another serial communication to another system)
Many many thanks
Kind regards
Timo

  0 件のコメント

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

回答 (2 件)


Antonin
Antonin 2020 年 3 月 31 日
There are multiple ways you can do this. The simplest that comes to my mind would be to use SCI. Just connect the Tx pin of one LaunchPad to the Rx pin of the other, and vice versa. Then, you can use SCI Transmit and SCI Receive blocks. Make sure to configure the correct pins in the configset of both models under SCI settings and make sure to pick matching baudrates. This shouldn't be too hard.
I hope it helps,
Cheers,
Antonin.

  0 件のコメント

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

カテゴリ

Community Treasure Hunt

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

Start Hunting!

Translated by