Problems with serial communication LAUNCHXL_f28379D

Hi.
I want to use LAUNCHXL_f28379D to communicate with other microprocessor via serial port, so I'm doing some tests and I can't do what I need.
The objective is to use the launchpad to send an specific frame of 8 bytes with a period of a second using SCI_C, to test the proper working I have done a simulink program where the launchpad sends "1 10 2 10 3 10 4 10 5 10" frame (unit 8, with no package header or terminator) and I have connected SCI_C to my PC's USB using an FTDI adapter to monitor what is sending using an specific software. What I receive is this: 06 00 98 80 18 00 98 80 1E 00 98 80 60 00 98 80 (Hex) or ..˜€..˜€..˜€`.˜€ characters.
As you can see the data that I receive isnt 8 bytes and the numbers doesnt coincide.
I will appreciate any help, thanks in advance!
EDIT: I have also tryed to do sending only a number and these are the results:
If I send a "49" (Uint 8) what i receive is "06 0f" (supposedly in hexadecimal)
If I send a "2" (Uint 8) what i receive is "18 00" (supposedly in hexadecimal)
Thanks again!

 採用された回答

jon iglesias
jon iglesias 2019 年 11 月 19 日

0 投票

FInally I solved the problem adjusting the "oscillator clock (OSCCLK) frecuency" to 10Mhz in CPU 1 configuration.

1 件のコメント

Cristóbal Cardenas
Cristóbal Cardenas 2021 年 1 月 19 日
Hi, i have some problems with the same LAUNCHXL-F28379D, i dont have any data in the output pins, but i can make de SCI-A work. Could you help me?

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

その他の回答 (1 件)

jon iglesias
jon iglesias 2019 年 11 月 19 日

0 投票

Anyone?
Thanks in advice

カテゴリ

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

製品

リリース

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by