M38220E1-FP Datasheet

  • M38220E1-FP

  • SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER

  • 980.52KB

  • 78页

  • MITSUBISHI   MITSUBISHI

扫码查看芯片数据手册

上传产品规格书

PDF预览

MITSUBISHI MICROCOMPUTERS
3822 Group
SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
(2) Asynchronous Serial I/O (UART) Mode
Clock asynchronous serial I/O mode (UART) can be selected by
clearing the serial I/O mode selection bit of the serial I/O control
register to 鈥?鈥?
Eight serial data transfer formats can be selected, and the transfer
formats used by a transmitter and receiver must be identical.
The transmit and receive shift registers each have a buffer regis-
ter, but the two buffers have the same address in memory. Since
the shift register cannot be written to or read from directly, transmit
data is written to the transmit buffer, and receive data is read from
the receive buffer.
The transmit buffer can also hold the next data to be transmitted,
and the receive buffer register can hold a character while the next
character is being received.
Data bus
Address 0018
16
OE
P4
4
/R
X
D
STdetector
7 bits
8 bits
Receive buffer register
Serial I/O control register
Address 001A
16
Character length selection bit
Receive shift register
Receive buffer full flag (RBF)
Receive interrupt request (RI)
1/16
PE FE
SP detector
Clock control circuit
UART control register
Address 001B
16
Serial I/O synchronous clock selection bit
P4
6
/S
CLK
BRG count source selection bit
f(X
IN
)
(f(X
CIN
) in low-speed mode)
1/4
Frequency division ratio 1/(n+1)
Baud rate generator
Address 001C
16
ST/SP/PA generator
1/16
P4
5
/T
X
D
Character length selection bit
Transmit buffer register
Transmit shift register shift completion flag (TSC)
Transmit interrupt source selection bit
Transmit interrupt request (TI)
Transmit buffer empty flag (TBE)
Serial I/O status register Address 0019
16
Transmit shift register
Address 0018
16
Data bus
Fig. 27 Block diagram of UART serial I/O
Transmit or receive clock
Transmit buffer write signal
TBE=0
TSC=0
TBE=1
Serial output T
X
D
ST
D
0
TBE=0
TBE=1
D
1
1 start bit
7 or 8 data bits
1 or 0 parity bit
1 or 2 stop bit (s)
SP
ST
D
0
D
1
锟?frac12;
Generated
TSC=1
锟?frac12;
SP
at 2nd bit in 2-stop-bit mode
Receive buffer read signal
RBF=1
Serial input R
X
D
ST
D
0
D
1
ST
D
0
RBF=0
RBF=1
SP
SP
D
1
Notes 1 :
Error flag detection occurs at the same time that the RBF flag becomes 鈥?鈥?(at 1st stop bit, during reception).
2 :
The transmit interrupt (TI) can be selected to occur when either the TBE or TSC flag becomes 鈥?鈥?by the setting of the transmit interrupt source
selection bit (TIC) of the serial I/O control register.
3 :
The receive interrupt (RI) is set when the RBF flag becomes 鈥?鈥?
4 :
After data is written to the transmit buffer register when TSC=1, 0.5 to 1.5 cycles of the data shift cycle is necessary until changing to TSC=0.
Fig. 28 Operation of UART serial I/O function
30

M38220E1-FP相关型号PDF文件下载

您可能感兴趣的PDF文件资料

热门IC型号推荐

扫码下载APP,
一键连接广大的电子世界。

在线人工客服

买家服务:
卖家服务:

0571-85317607

客服在线时间周一至周五
9:00-17:30

关注官方微信号,
第一时间获取资讯。

建议反馈
返回顶部

建议反馈

联系人:

联系方式:

按住滑块,拖拽到最右边
>>
感谢您向阿库提出的宝贵意见,您的参与是维库提升服务的动力!意见一经采纳,将有感恩红包奉上哦!