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 USART波特率设置的问题

Other Parts Discussed in Thread: CC2530

用户手册说到关于波特率的设置,有几点不明白:

1. 手册里说Baud_m=0/baud_e=16的时候波特率最大。根据波特率计算公式,baud_m越大,波特率越高。那Baud_m=0的时候应该不是最大值?baud_e有5 bit,那最大值应该是31,而不是16?

2. uart和spi的波特率是不是用同一个公式计算?spi的最大值怎么设置?我在这个帖子

http://www.deyisupport.com/question_answer/wireless_connectivity/zigbee/f/104/t/57999.aspx

看到:

 U1BAUD = 0x00;              // BAUD_M = 0

U1GCR |= 0x11;              // BAUD_E = 17时波特率最大

不过里面提到的swru191e.pdf的下载链接已经打不开了(swru191是英文版的用户手册,swru191e是。。。?),所以没法考证。

3. 对于cc2530支持的spi最高波特率,user manual上说See the device data sheet for the maximum baud rate in SPI mode. 在datasheet里好像没有这样的信息?

有劳各位解惑,谢谢。