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.

zstack为什么把串口波特率115200换了9600之后往串口里写数据会出问题?

Other Parts Discussed in Thread: CC2530

我想在CC2530里向串口发送:

uint8 Data[9]={0xFF,0x01,0x86,0x00,0x00,0x00,0x00,0x00,0x79};

HalUARTWrite(0,Data,9);

使用115200的时候可以,但是使用9600 的时候,发现串口并不在第一时间写数据,而是等到缓存满了之后才写,或者这时候向单片机的串口发送一个字符串之后才正常。不知道这是为什么呢?