XR16M780
I
REV. 1.0.0 1.62V TO 3.63V HIGH PERFORMANCE UART WITH 64-BYTE FIFO
GENERAL DESCRIPTION................................................................................................ 1
FEATURES................................................................................................................................................ ... . 1
APPLICATIONS ............................................................................................................................................. . 1
F
IGURE
1. XR16M780 B
LOCK
D
IAGRAM
.......................................................................................................................................... 1
F
IGURE
2. P
IN
O
UT
A
SSIGNMENT
F
OR
32-
PIN
QFN
AND
48-
PIN
TQFP P
ACKAGES
I
N
16
AND
68 M
ODE
............................................. 2
F
IGURE
3. P
IN
O
UT
A
SSIGNMENT
F
OR
25-
PIN
BGA P
ACKAGE
........................................................................................................... 3
ORDERING INFORMATION............................................................................................................................... 3
PIN DESCRIPTIONS ........................................................................................................ 4
1.0 PRODUCT DESCRIPTION . .......... .................................................................................................... ... ... . 7
2.0 FUNCTIONAL DESCR IPTIO NS ............. ... ... ... ... .... ... ... ... .... ... ... ... .... ... ... ... ... .... ... ... ... .... ... ... ... ... ....... ... ... . 8
2.1 CPU INTERFACE ................................................................................................................................................ 8
F
IGURE
4. XR16M780 T
YPICAL
I
NTEL
/M
OTOROLA
D
ATA
B
US
I
NTERCONNECTIONS
............................................................................ 8
2.2 SERIAL INTERFACE........................................................................................................................................... 9
F
IGURE
5. XR16M780 T
YPICAL
S
ERIAL
I
NTERFACE
C
ONNECTIONS
................................................................................................... 9
F
IGURE
6. XR16M780 T
YPICAL
S
ERIAL
I
NTERFACE
C
ONNECTIONS
................................................................................................. 10
2.3 DEVICE RESET................................................................................................................................................. 11
2.4 INTERNAL REGISTERS.................................................................................................................................... 11
2.5 INT OUPUT........................................................................................................................................................ 11
T
ABLE
1: INT P
IN
O
PERATION
FOR
T
RANSMITTER
..................................................................................... ...................................... 11
T
ABLE
2: INT P
IN
O
PERATION
FOR
R
ECEIVER
................................................................................................................................ 11
2.6 CRYSTAL OSCILLATOR OR EXTERNAL CLOCK INPUT.............................................................................. 12
F
IGURE
7. T
YPICAL
C
RYSTAL
C
ONNECTIONS
.................................................................................................................................. 12
2.7 PROGRAMMABLE BAUD RATE GENERATOR WITH FRACTIONAL DIVISOR ........................................... 13
2.7.1 INDEPENDENT TX/RX BRG........................................................... .............................................................................. 13
F
IGURE
8. B
AUD
R
ATE
G
ENERATOR
............................................................................................................................................... 14
T
ABLE
3: T
YPICAL
DATA
RATES
WITH
A
24 MH
Z
CRYSTAL
OR
EXTERNAL
CLOCK
AT
16X S
AMPLING
................................................... 14
2.8 TRANSMITTER.................................................................................................................................................. 15
2.8.1 TRANSMIT HOLDING REGISTER (THR) - WRITE ONLY........................................................................................... 15
2.8.2 TRANSMITTER OPERATION IN NON-FIFO MODE.................................................................................................... 15
F
IGURE
9. T
RANSMITTER
O
PERATION
IN
NON
-FIFO M
ODE
.............................................................................................................. 15
2.8.3 TRANSMITTER OPERATION IN FIFO MODE............................................................................................................. 16
F
IGURE
10. T
RANSMITTER
O
PERATION
IN
FIFO
AND
F
LOW
C
ONTROL
M
ODE
................................................................................... 16
2.9 RECEIVER......................................................................................................................................................... 16
2.9.1 RECEIVE HOLDING REGISTER (RHR) - READ-ONLY .............................................................................................. 16
F
IGURE
11. R
ECEIVER
O
PERATION
IN
NON
-FIFO M
ODE
.................................................................................................................. 17
F
IGURE
12. R
ECEIVER
O
PERATION
IN
FIFO
AND
A
UTO
RTS F
LOW
C
ONTROL
M
ODE
....................................................................... 17
2.10 AUTO RTS (HARDWARE) FLOW CONTROL................................................................................................ 18
2.11 AUTO RTS HYSTERESIS ............................................................................................................................... 18
T
ABLE
4: A
UTO
RTS (H
ARDWARE
) F
LOW
C
ONTROL
....................................................................................................... ................. 18
2.12 AUTO CTS FLOW CONTROL......................................................................................................................... 18
F
IGURE
13. A
UTO
RTS
AND
CTS F
LOW
C
ONTROL
O
PERATION
....................................................................................................... 19
2.13 AUTO XON/XOFF (SOFTWARE) FLOW CONTROL...................................................................................... 20
T
ABLE
5: A
UTO
X
ON
/X
OFF
(S
OFTWARE
) F
LOW
C
ONTROL
............................................................................................................... 20
2.14 SPECIAL CHARACTER DETECT.................................................................................................................. 20
2.15 NORMAL MULTIDROP MODE........................................................................................................................ 20
2.15.1 AUTO ADDRESS DETECTION .................................................................................................................................. 21
2.16 INFRARED MODE........................................................................................................................................... 21
F
IGURE
14. I
NFRARED
T
RANSMIT
D
ATA
E
NCODING
AND
R
ECEIVE
D
ATA
D
ECODING
.......................................................................... 22
2.17 SLEEP MODE WITH AUTO WAKE-UP AND POWER-SAVE FEATURE...................................................... 22
2.17.1 SLEEP MODE ............................................................................................................................................................. 22
2.17.2 POWER-SAVE FEATURE .......................................................................................................................................... 23
2.17.3 WAKE-UP INTERRUPT .............................................................................................................................................. 23
2.18 INTERNAL LOOPBACK................................................................................................................................. 24
F
IGURE
15. I
NTERNAL
L
OOPBACK
................................................................................................................................................... 24
3.0 UART INTERNAL REGISTERS.... ......................................................................................................... 25
T
ABLE
6: UART INTERNAL REGISTERS .................................................................................................................................. 25
T
ABLE
7: INTERNAL REGISTERS DESCRIPTION. S
HADED
BITS
ARE
ENABLED
WHEN
EFR B
IT
-4=1 ......................................... 26
4.0 INTERNAL REGISTER DESCRIPTIONS.............................................................................................. 27
4.1 RECEIVE HOLDING REGISTER (RHR) - READ- ONLY.................................................................................. 27
4.2 TRANSMIT HOLDING REGISTER (THR) - WRITE-ONLY............................................................................... 27
4.3 INTERRUPT ENABLE REGISTER (IER) - READ/WRITE ................................................................................ 28
4.3.1 IER VERSUS RECEIVE FIFO INTERRUPT MODE OPERATION ...................... ......................................................... 28