The OP
Published on 2022-3-28 20:11
Only look at the author
This post is from ARM Technology
Latest reply
Then you can only use software to implement a virtual serial port. Hardware serial ports have different modes, and the 9-bit parity check mode cannot ignore the check error. And your protocol compilation is also very non-standard. You should use the command byte parsing function and express it in bits, which seriously lacks communication reliability.
Details
Published on 2022-4-1 20:47
| ||
|
||
2
Published on 2022-3-28 22:34
Only look at the author
This post is from ARM Technology
| ||
|
||
|
3
Published on 2022-3-29 10:57
Only look at the author
This post is from ARM Technology
Comments
Hello, our A8 core board needs to judge the highest bit (i.e. check bit) when receiving data. When the highest bit D8 is 1, D0-D7 represents the address; when the highest bit D8=0, D0-D7 represents the data; when I am receiving data sent by the microcontroller, the byte with D8=1 will report a check error
Details
Published on 2022-3-29 18:11
| ||
|
||
|
This post is from ARM Technology
| ||
|
||
|
This post is from ARM Technology
| ||
|
||
|
6
Published on 2022-3-30 15:55
Only look at the author
This post is from ARM Technology
Comments
Thank you for your reply. Now it is a software problem. The hardware is working. Now I set the parity check of the serial port parameter c_cflag to 0. Then I want to ignore the check error PE when receiving the byte with the highest bit as 1 and read the content of the RHR register.
Details
Published on 2022-4-1 15:44
| ||
Personal signature上传了一些书籍资料,也许有你想要的:https://download.eeworld.com.cn/user/chunyang
|
||
|
This post is from ARM Technology
Comments
Then you can only use software to implement a virtual serial port. Hardware serial ports have different modes, and the 9-bit parity check mode cannot ignore the check error. And your protocol compilation is also very non-standard. You should use the command byte parsing function and express it in bits, which seriously lacks communication reliability.
Details
Published on 2022-4-1 20:47
| ||
|
||
|
8
Published on 2022-4-1 20:47
Only look at the author
This post is from ARM Technology
| ||
Personal signature上传了一些书籍资料,也许有你想要的:https://download.eeworld.com.cn/user/chunyang
|
||
|
论坛威望大于30000或网友提名:坛子里公认的技术导师
EEWorld Datasheet Technical Support
EEWorld
subscription
account
EEWorld
service
account
Automotive
development
circle
About Us Customer Service Contact Information Datasheet Sitemap LatestNews
Room 1530, Zhongguancun MOOC Times Building, Block B, 18 Zhongguancun Street, Haidian District, Beijing 100190, China Tel:(010)82350740 Postcode:100190