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.

cc2530设置为偶校验串口打印乱码

Other Parts Discussed in Thread: CC2530

cc2530的sampleApp例子,将串口设置为偶校验(DMA方式),步骤如下:

1.在HalUARTOpenDMA配置

    UxUCR |= UCR_PARITY;
    UxUCR |= UCR_BIT9;
    UxUCR |= UCR_D9;

    dmaCfg.txTick = 38;//(32768Hz / (9600bps / 11 bits))

2.用串口调试助手,波特率9600(波特率配置正常,在没有配置偶校验的情况下,发送、接收正常),偶校验,发送12个16进制数字,只能收到10个

问题出在哪儿,求助。。。。。。