8 Universal Asynchronous Receiver/Transmitter (UART)
73
CW6632B Bluetooth 3.0 Audio Player SOC
Version 1.0.0
Copyright ©2015, www.appotech.com. All Rights Reserved.
Register 8-4 UARTBAUDH
– UART0 Baud Rate High Byte
Position
7
6
5
4
3
2
1
0
Name
UARTBAUDH
Default
0
0
0
0
0
0
0
0
Access
WO
WO
WO
WO
WO
WO
WO
WO
UARTBAUD = {UARTBAUDH, UARTBAUDL}
Register 8-5 UARTDIV
Position
7
6
5
4
3
2
1
0
Name
UARTDIV
Default
0
0
0
0
0
0
0
0
Access
WO
WO
WO
WO
WO
WO
WO
WO
Baud Rate =F
sys clock
/ [(UA1) x (U 1)]
Register 8-6 UARTDATA
– UART0 Data
Position
7
6
5
4
3
2
1
0
Name
UARTDATA
Default
x
x
x
x
x
x
x
x
Access
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
Write this location will load the data to transmitter buffer. And read this location will read the data from the receiver
buffer.
8.2
UART1
8.2.1
Overview
UART1 is a serial port capable of asynchronous transmission. The UART1 can function in normal and DMA full
duplex mode. Please sees PMUXCON0 bit 6 descriptions
when PMUXCON0[6] == 0
Receive pin (RX)
– UART1RX0 (P17)
Transmit pin (TX)
– UART1TX0 (P16)
Or PMUXCON0[6] == 1
Receive pin (RX)
– UART1RX1 (BT_TX)
Transmit pin (TX)
– UART1TX1 (BT_RX)
8.2.2
UART1 Special Function Registers
Register 8-7 UART1CON
– UART1 control
Position
7
6
5
4
3
2
1
0
Name
UTSBS
UTTXNB
NBITEN
UTEN
TXIE
RXIE
OVERFLOWIE DMASEL
Default
0
1
0
0
0
0
-
0