ADUC7025BCPZ32-RL7 AD [Analog Devices], ADUC7025BCPZ32-RL7 Datasheet - Page 63

no-image

ADUC7025BCPZ32-RL7

Manufacturer Part Number
ADUC7025BCPZ32-RL7
Description
Precision Analog Microcontroller 12-bit Analog I/O, ARM7TDMI MCU
Manufacturer
AD [Analog Devices]
Datasheet
Error = 0% compared to 6.25% with the normal baud rate
generator.
UART Registers Definition
The UART interface consists on 12 registers: COMTX,
COMRX, COMDIV0, COMIEN0, COMDIV1, COMIIDO,
COMCON0, COMCON1, COMSTA0, COMSTA1, COMSCR,
and COMDIV2.
COMTX Register
Name
COMTX
COMTX is an 8-bit transmit register.
COMRX Register
Name
COMRX
COMRX is an 8-bit receive register.
COMDIV0 Register
Name
COMDIV0
COMDIV0 is a low-byte divisor latch. COMTX, COMRX,
and COMDIV0 share the same address location. COMTX
and COMRX can be accessed when Bit 7 in COMCON0
register is cleared. COMDIV0 can be accessed when Bit 7
of COMCON0 is set.
COMIEN0 Register
Name
COMIEN0
COMIEN0 is the interrupt enable register.
Table 48. COMIEN0 MMR Bit Descriptions
Bit
7:4
3
2
1
0
Name
EDSSI
ELSI
ETBEI
ERBFI
Address
0xFFFF0700
Address
0xFFFF0700
Address
0xFFFF0700
Address
0xFFFF0704
Description
Reserved.
Modem Status Interrupt Enable Bit. Set by
user to enable generation of an interrupt if
any of COMSTA1[3:0] are set. Cleared by user.
Rx Status Interrupt Enable Bit. Set by user to
enable generation of an interrupt if any of
COMSTA0[3:0] are set. Cleared by user.
Enable Transmit Buffer Empty Interrupt. Set
by user to enable interrupt when buffer is
empty during a transmission. Cleared by user.
Enable Receive Buffer Full Interrupt. Set by
user to enable interrupt when buffer is full
during a reception. Cleared by user.
Default Value
0x00
Default Value
0x00
Default Value
0x00
Default Value
0x00
Access
R/W
Access
R
Access
R/W
Access
R/W
Rev. A | Page 63 of 92
COMDIV1 Register
Name
COMDIV1
COMDIV1 is a divisor latch (high byte) register.
COMIID0 Register
Name
COMIID0
COMIID0 is the interrupt identification register.
Table 49. COMIID0 MMR Bit Descriptions
Bit 2:1
Status
Bits
00
11
10
01
00
COMCON0 Register
Name
COMCON0
COMCON0 is the line control register.
Table 50. COMCON0 MMR Bit Descriptions
Bit
7
6
5
4
3
2
1:0
Name
DLAB
BRK
SP
EPS
PEN
STOP
WLS
Bit 0
NINT
1
0
0
0
0
ADuC7019/20/21/22/24/25/26/27
Address
0xFFFF0704
Address
0xFFFF0708
Address
0xFFFF070C
Description
Divisor Latch Access. Set by user to enable
access to COMDIV0 and COMDIV1 registers.
Cleared by user to disable access to COMDIV0
and COMDIV1 and enable access to COMRX
and COMTX.
Set Break. Set by user to force SOUT to 0.
Cleared to operate in normal mode.
Stick Parity. Set by user to force parity to
defined values: 1 if EPS = 1 and PEN = 1,
0 if EPS = 0 and PEN = 1.
Even Parity Select Bit. Set for even parity.
Cleared for odd parity.
Parity Enable Bit. Set by user to transmit and
check the parity bit. Cleared by user for no
parity transmission or checking.
Stop Bit. Set by user to transmit 1.5 stop bits if the
word length is 5 bits or 2 stop bits if the word
length is 6 bits, 7 bits, or 8 bits. The receiver
checks the first stop bit only, regardless of the
number of stop bits selected. Cleared by user to
generate 1 stop bit in the transmitted data.
Word Length Select:
00 = 5 bits, 01 = 6 bits
10 = 7 bits, 11 = 8 bits
Priority
1
2
3
4
Definition
No interrupt
Receive line
status interrupt
Receive buffer
full interrupt
Transmit buffer
empty interrupt
Modem status
interrupt
Default Value
0x00
Default Value
0x01
Default Value
0x00
Clearing
Operation
Read COMSTA0
Read COMRX
Write data to
COMTX or read
COMIID0
Read COMSTA1
register
Access
R/W
Access
R
Access
R/W

Related parts for ADUC7025BCPZ32-RL7