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
SERIAL I/O
Serial I/O can be used as either clock synchronous or asynchro-
nous (UART) serial I/O. A dedicated timer (baud rate generator) is
also provided for baud rate generation.
(1) Clock Synchronous Serial I/O Mode
Clock synchronous serial I/O can be selected by setting the mode
selection bit of the serial I/O control register to 鈥?鈥?
For clock synchronous serial I/O, the transmitter and the receiver
must use the same clock. If an internal clock is used, transfer is
started by a write signal to the transmit/receive buffer register.
Data bus
Address 0018
16
Receive buffer register
Serial I/O control register
Address 001A
16
Receive buffer full flag (RBF)
Receive interrupt request (RI)
Clock control circuit
P4
4
/R
X
D
Receive shift register
Shift clock
P4
6
/S
CLK
Serial I/O
clock selection bit
Frequency division ratio 1/(n+1)
Baud rate generator
BRG count source selection bit
f(X
IN
)
(f(X
CIN
) in low-speed mode)
1/4
P4
7
/S
RDY1
F/F
Falling-edge detector
1/4
Address 001C
16
Clock control circuit
Shift clock
P4
5
/T
X
D
Transmit shift register
Transmit buffer register
Transmit shift register shift completion flag (TSC)
Transmit interrupt source selection bit
Transmit interrupt request (TI)
Transmit buffer empty flag (TBE)
Address 0019
16
Address 0018
16
Data bus
Serial I/O status register
Fig. 25 Block diagram of clock synchronous serial I/O
Transfer shift clock
(1/2 to 1/2048 of the internal
clock, or an external clock)
D
0
D
0
D
1
D
1
D
2
D
2
D
3
D
3
D
4
D
4
D
5
D
5
D
6
D
6
D
7
D
7
Serial output T
X
D
Serial input R
X
D
Receive enable signal S
RDY
Write signal to receive/transmit
buffer register (address 0018
16
)
TBE = 0
RBF = 1
TSC = 1
Overrun error (OE)
detection
TBE = 1
TSC = 0
Notes 1 :
T he transmit interrupt (TI) can be generated either when the transmit buffer register has emptied (TBE=1) or after the transmit
shift operation has ended (TSC=1), by setting the transmit interrupt source selection bit (TIC) of the serial I/O control register.
2 :
If data is written to the transmit buffer register when TSC=0, the transmit clock is generated continuously and serial data is
output continuously from the T
X
D pin.
3 :
T he receive interrupt (RI) is set when the receive buffer full flag (RBF) becomes 鈥?鈥?.
Fig. 26 Operation of clock synchronous serial I/O function
29

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

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

热门IC型号推荐

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

在线人工客服

买家服务:
卖家服务:

0571-85317607

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

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

建议反馈
返回顶部

建议反馈

联系人:

联系方式:

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