我用com9输出0a,总是会带一个0d、但是输出其他的字符就不会自带0d。
代码如下:
输出09,0b-15都不会自带0d
我用crc校验码进行校验,没有0d的校验码是对的。
这个0d是为什么?
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
我用com9输出0a,总是会带一个0d、但是输出其他的字符就不会自带0d。
代码如下:
输出09,0b-15都不会自带0d
我用crc校验码进行校验,没有0d的校验码是对的。
这个0d是为什么?
你好,
建议你先使用uart驱动里的例子测试一下,看是否有同样的问题。
Thanks,
Chris
你好,
com端口是PC上的,在芯片上是UART,你有看过mmwave_sdk_03_06_00_00-LTS\packages\ti\drivers\uart\test么?
Thanks,
Chris