English
Language : 

M38002M4 Datasheet, PDF (83/173 Pages) Mitsubishi Electric Semiconductor – 8-BIT SINGLE-CHIP MICROCOMPUTER
APPLICATION
2.3 Serial I/O
RESET
q X : This bit is not used in this application.
Set it to “0” or “1.” It’s value can be disregarded.
Initialization
SIOCON (Address : 1A16 ) 1111X11X2
N
Pass 2 ms?
Y
TB/RB (Address : 1816 ) Dummy data
SIOSTS (Address : 1916 ), bit1?
0
1
Read out reception data from
TB/RB (Address : 1816 )
q An interval of 2 ms is generated by a timer.
q SRDY output
SRDY signal is output by writing data to
the TB/RB.
Using the SRDY , the transmit enabled bit
(bit4) of the SIOCON is set to “1.”
q Check a completion of receiving
(Receive buffer full flag)
q Receive the first byte data.
A Receive buffer full flag is set to “0” by reading data.
0
SIOSTS (Address : 1916 ), bit1?
1
Read out reception data from
TB/RB (Address : 1816 )
q Check a completion of receiving
(Receive buffer full flag)
q Receive the second byte data.
A Receive buffer full flag is set to “0” by reading data.
Fig. 2.3.18 Control procedure at a receiving side [Communication using a clock synchronous
serial I/O]
3800 GROUP USER’S MANUAL
2-35