English
Language : 

M30222 Datasheet, PDF (107/237 Pages) Mitsubishi Electric Semiconductor – SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
deUvnedloepr ment
Specifications in this manual are tentative and subject to change
MITSUBISHI MICROCOMPUTERS
M30222 Group
Rev. G
Serial Communications
SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
UARTi transmit buffer register
(b15)
(b8)
b7
b0 b7
Symbol
b0
U0TB
U1TB
U2TB
Address
03A316, 03A216
03AB16, 03AA16
037B16, 037A16
When reset
Indeterminate
Indeterminate
Indeterminate
Function
RW
Transmit data
Nothing is assigned.
In an attempt to write to these bits, write “0”. The value, if read, turn out to be indeterminate.
UARTi receive buffer register
(b15)
b7
(b8)
b0 b7
O
UARTi bit rate generator
b7
b0
Symbol
Address
When reset
b0
U0RB 03A716, 03A616 Indeterminate
U1RB 03AF16, 03AE16 Indeterminate
U2RB 037F16, 037E16 Indeterminate
Bit
symbol
Bit name
Function
(During clock synchronous
serial I/O mode)
Function
(During UART mode)
RW
Receive data
Receive data
Nothing is assigned.
Write "0" when writing to this bit. If read, the value is "0".
MDFLT SPI Mode fault flag
(Note 3)
0 : Not detected
1 : Detected
ABT Arbitration lost detecting 0 : Not detected
flag (Note 2)
1 : Detected
OER Overrun error flag (Note 1) 0 : No overrun error
1 : Overrun error found
Invalid
Invalid
0 : No overrun error
1 : Overrun error found
OO
FER Framing error flag (Note 1) Invalid
PER Parity error flag (Note 1) Invalid
SUM Error sum flag (Note 1) Invalid
0 : No framing error
1 : Framing error found
0 : No parity error
1 : Parity error found
0 : No error
1 : Error found
Note 1: Bits 15 through 12 are set to “0” when the serial I/O mode select bit (bits 2 to 0 at addresses 03A0 16
03A816 and 037816) are set to “000 2” or the receive enable bit is set to “0”.
(Bit 15 is set to “0” when bits 14 to 12 all are set to “0”.) Bits 14 and 13 are also set to “0” when the
lower byte of the UARTi receive buffer register (addresses 03A6 16, 03AE16 and 037E16) is read out.
Note 2: Arbitration lost detecting flag is allocated to U2RB and only “0” may be written. Nothing is
assigned in bit 11 of U0RB and U1RB. These bits can neither be set or reset. When read, the value
of this bit is “0”.
Note 3: Mode fault flag is allocated to U2RB only. Nothing is assigned in bit 10 of U0RB and U1RB.
The bit is read only. After MDFLT is set, it can be reset only by exiting SPI mdoe.
Symbol
U0BRG
U1BRG
U2BRG
Address
03A116
03A916
037916
When reset
Indeterminate
Indeterminate
Indeterminate
Function
Assuming that set value = n, BRGi divides the count source by
n+1
Values that can be set R W
0016 to FF16
Fig. 1.81. Serial I/O related register (1)
1-108