Why does the same SCI send sequence get different results in 28335 and 28377d?

1 回表示 (過去 30 日間)
Xu Liu
Xu Liu 2019 年 7 月 10 日
回答済み: Xu Liu 2019 年 7 月 13 日
Hello everyone,
I am working on code generation for 28335 and 28377d.
Usually I need to send the data in the program to the host computer for graphical display, so my data usually contains a frame header and a frame tail.
One of the problems is that when I use the same frame header, but the 28335 and 28377d get different data: 377d can be sent correctly (0xfc03), but 335 gets 0x7fff (the above data is little endian mode). But both send the correct end of the frame (0x03fc)
1. When I use 28377d, I use RS485, and 28335 uses RS422 duplex communication. I don't know if this has any effect?
2. In addition, the same model generates the same program whether it is processed differently in different DSP chips (I found that in 28335, the data conversion needs to be changed to uint16, the data is normal, but the zero position becomes 32768, the upper position Machine observation is not convenient)
I want to know if I have not dealt with it, or a bug in software or hardware. Has anyone encountered a similar problem?
  2 件のコメント
Xu Liu
Xu Liu 2019 年 7 月 10 日
Model of sending data and
When the 28335 sends the data, the error frame header received by the host computer



Xu Liu
Xu Liu 2019 年 7 月 13 日
I see,its the comunicate ports problem i think, the problem dispear whan i use rs232

その他の回答 (0 件)




Community Treasure Hunt

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

Start Hunting!

Translated by