13.5 Operation
(5) Slave transmit routine
After the slave receives the control bits and is set as slave transmit, this routine is used to transmit data to
the master. This routine is executed inside interrupt routine with ST3-0 bits (upper 2 bits are 00) in status
register indicating the status as slave transmit has been set.
Transmission ends without
all data being transmitted
Note1: The reason for the abnormal termination of transmission can be known by reading
the TE, PEF and ACK bits of status register. The remaining data that can't be
transmitted will be sent out when GOTS bit in command register CMRH is written
'1' again.
In order clear the WDB, the bit WDBC in CMRL is written '1'.
Note2: Please do not wrtie WDB when WDBF=1
Note3: N is the number of data byte for slave transmit
182
Chapter 13: IE Bus
Status register read
Y
ST3-0 = 3H?
Note1
ST3-0 = 0H?
ST3-0 = 2H?
Begin
N
Y
N
Note2
N
N = 0?
Y
Note2
N
Y
End
Set telegraph length
Data transmit
GOT = 1
WDBF = 1?
N
Setup slave
WDB write
transmit data
Data transmit
GOT = 1
Done by hardware
N = N-1
MB90580 Series
Y