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.

请问协议栈里串口如何使用奇偶校验

Other Parts Discussed in Thread: CC2530

我代码里


U0UCR = 0x20| 0x10|0x08;这样设置偶校验


U0UCR =  0x10|0x08;这样设置奇校验,请问这样对吗?还有我现在用的是dma方式收发数据,请问dma方式能不能用奇偶校验,我现在实际调试中发现,串口发送有奇偶校验,但是接收协议栈好像没有奇偶校验,请问奇偶校验的实现需要自己写代码吗?如果需要自己写, 哪里有参考资料,O(∩_∩)O谢谢