参数资料
型号: M38002E4SP
元件分类: 微控制器/微处理器
英文描述: 8-BIT, OTPROM, 8 MHz, MICROCONTROLLER, PDIP64
封装: 0.750 INCH, 1.78 MM PITCH, PLASTIC, SDIP-64
文件页数: 161/174页
文件大小: 1752K
代理商: M38002E4SP
2-38
3800 GROUP USER’S MANUAL
APPLICATION
2.3 Serial I/O
Control procedure : When the registers are set as shown in Figure 2.3.21, the Serial I/O can transmit
1-byte data simply by writing data to the Transmit buffer register.
Thus, after setting the CS signal to “L,” write the transmission data to the
Receive buffer register on a 1-byte base, and return the CS signal to “H” when
the desired number of bytes have been transmitted.
Figure 2.3.23 shows a control procedure of serial I/O.
Fig. 2.3.23 Control procedure of serial I/O [Output of serial data]
Set the Serial I/O.
Set the CS signal output level to “L.”
Set the Serial I/O transmit interrupt
request bit to “0.”
Write a transmission data.
(start to transmit 1-byte data)
Check the completion of transmitting 1-
byte data.
Use any of RAM area as a counter for
counting the number of transmitted bytes.
Check that transmission of the target
number of bytes has been completed.
Return the CS signal output level to “H”
when transmission of the target number of
bytes is completed.
RESET
P5 (Address : 0A16 ), bit3
0
N
Y
1
IREQ1 (Address : 3C16 ), bit3?
Complete to transmit data?
Initialization
SIOCON
UARTCON
BRG
ICON1
P5
P5D
....
(Address : 1A16)
(Address : 1B16), bit4
(Address : 1C16)
(Address : 3E16), bit3
(Address : 0A16), bit3
(Address : 0B16)
P5 (Address : 0A16 ), bit3
1
q
X : This bit is not used in this application.
Set it to “0” or “1.” It’s value can be disregarded.
q
Serial I/O transmit interrupt : Disabled
Set the CS signal output port.
(“H” level output)
IREQ1 (Address : 3C16 ), bit3
0
TB/RB (Address : 1816 )
a transmission
data
q
110110002
0
8–1
0
1
XXXX1XXX2
相关PDF资料
PDF描述
M37480M2T-XXXFP 8-BIT, MROM, 4 MHz, MICROCONTROLLER, PDSO32
M38503E4SS 8-BIT, UVPROM, 4 MHz, MICROCONTROLLER, CDIP42
M30803MG-XXXFP 16-BIT, MROM, 20 MHz, MICROCONTROLLER, PQFP100
M38C24M6-XXXHP 8-BIT, MROM, 4 MHz, MICROCONTROLLER, PQFP64
M38C24M6A-XXXFP 8-BIT, MROM, 5 MHz, MICROCONTROLLER, PQFP64
相关代理商/技术参数
参数描述
M38002E4SS 制造商:MITSUBISHI 制造商全称:Mitsubishi Electric Semiconductor 功能描述:8-BIT SINGLE-CHIP MICROCOMPUTER
M38002E4-XXXFP 制造商:MITSUBISHI 制造商全称:Mitsubishi Electric Semiconductor 功能描述:8-BIT SINGLE-CHIP MICROCOMPUTER
M38002E4-XXXFS 制造商:MITSUBISHI 制造商全称:Mitsubishi Electric Semiconductor 功能描述:8-BIT SINGLE-CHIP MICROCOMPUTER
M38002E4-XXXHP 制造商:MITSUBISHI 制造商全称:Mitsubishi Electric Semiconductor 功能描述:8-BIT SINGLE-CHIP MICROCOMPUTER
M38002E4-XXXSP 制造商:RENESAS 制造商全称:Renesas Technology Corp 功能描述:8-BIT SINGLE-CHIP MICROCOMPUTER 740 FAMILY / 38000 SERIES