28388D SCI_A received data is wrong

Hi, I have a problem in 28388D SCI communication.the code picture are as follow,the program is transmit the data what you received. on serial debugging interface. I can't receive what I transmit. So I went to CCS try to find out the reason. It turns out that whatever value the upper machine sends it receives value is 255. I don't why and where the bug is?
Thank for your help! Here are some screenshots

 採用された回答

yeyuan zhu
yeyuan zhu 2021 年 12 月 8 日

0 投票

The result of the problem was to set the oscillator to 10MHz in the hardware configuration

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeMATLAB についてさらに検索

質問済み:

2021 年 12 月 7 日

回答済み:

2021 年 12 月 8 日

Community Treasure Hunt

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

Start Hunting!

Translated by