English
Language : 

CC2510FX Datasheet, PDF (155/244 Pages) List of Unclassifed Manufacturers – True System-on-Chip with Low Power RF Transceiver and 8051 MCU
UxBAUD.BAUD_M[7:0]=0). If SPI master
mode does not need to receive data, the
maximum
SPI
rate
is
F/2
(UxGCR.BAUD_E[4:0]=19
and
UxBAUD.BAUD_M[7:0]=0). Setting higher
baud rates than this will give erroneous results.
C2510Fx / CC2511Fx
For SPI slave mode the maximum baud rate is
always F/8.
Note that the baud rate must be configured
before any other UART or SPI operations take
place (the baud rate should never be changed
when UxCSR.ACTIVE is asserted).
Baud rate [bps]
2400
4800
9600
14400
19200
28800
38400
57600
76800
115200
230400
UxBAUD.BAUD_M UxGCR.BAUD_E Error (%)
131
6
0.04
131
7
0.04
131
8
0.04
34
9
0.13
131
9
0.04
34
10
0.13
131
10
0.04
34
11
0.13
131
11
0.04
34
12
0.13
34
13
0.13
Table 55: Commonly used Baud Rate Settings for 26 MHz System Clock
Baud rate [bps]
2400
4800
9600
14400
19200
28800
38400
57600
76800
115200
230400
UxBAUD.BAUD_M UxGCR.BAUD_E Error (%)
163
6
0.08
163
7
0.08
163
8
0.09
59
9
0.13
163
9
0.10
59
10
0.14
163
10
0.10
59
11
0.14
163
11
0.10
59
12
0.14
59
13
0.14
Table 56: Commonly used Baud Rate Settings for 24 MHz System Clock
13.14.4 USART Flushing
The current operation can be aborted
(operation stopped and all data buffers
cleared)
by
setting
UxUCR.FLUSH=1.Asserting the FLUSH bit
should either be aligned with USART interrupts
or a wait time of one bit duration (at current
baud rate) should be added after setting the bit
to 1 before accessing the USART registers.
13.14.5 USART Interrupts
Each USART has two interrupts. These are the
USART x RX complete interrupt
(TCON.URXxIF) and the USART x TX
complete interrupt (IRCON2.UTXxIF). The
interrupts are enabled by setting
IEN0.URXxIE=1 and IEN2.UTXxIE=1,
respectively. Please see the previous sections
on how the interrupt flags are asserted in the
different modes of operation (UART RX, UART
TX, SPI master, and SPI Slave).
SWRS055D
Page 155 of 243