![Hitachi H8/3008 Hardware Manual Download Page 382](http://html.mh-extra.com/html/hitachi/h8-3008/h8-3008_hardware-manual_140473382.webp)
366
12.5
Usage Notes
12.5.1
Notes on Use of SCI
Note the following points when using the SCI.
TDR Write and TDRE Flag: The TDRE flag in SSR is a status flag indicating the loading of
transmit data from TDR to TSR. The SCI sets the TDRE flag to 1 when it transfers data from
TDR to TSR.
Data can be written into TDR regardless of the state of the TDRE flag. If new data is written in
TDR when the TDRE flag is 0, the old data stored in TDR will be lost because this data has not
yet been transferred to TSR. Before writing transmit data in TDR, be sure to check that the TDRE
flag is set to 1.
Simultaneous Multiple Receive Errors: Table 12.13 shows the state of the SSR status flags
when multiple receive errors occur simultaneously. When an overrun error occurs the RSR
contents are not transferred to RDR, so receive data is lost.
Table 12.13 SSR Status Flags and Transfer of Receive Data
SSR Status Flags
Receive Data
Transfer
RDRF
ORER
FER
PER
RSR
→
RDR
Receive Errors
1
1
0
0
×
Overrun error
0
0
1
0
Framing error
0
0
0
1
Parity error
1
1
1
0
×
Overrun error +
framing error
1
1
0
1
×
Overrun error +
parity error
0
0
1
1
Framing error +
parity error
1
1
1
1
×
Overrun error +
framing error +
parity error
Note:
: Receive data is transferred from RSR to RDR.
×
: Receive data is not transferred from RSR to RDR.
Summary of Contents for H8/3008
Page 1: ...Hitachi 16 Bit Microcomputer H8 3008 Hardware Manual ADE 602 221 Rev 1 0 9 14 00 Hitachi Ltd ...
Page 4: ......
Page 17: ...xii ...
Page 70: ...54 ...
Page 114: ...98 ...
Page 154: ...138 ...
Page 314: ...298 ...
Page 412: ...396 ...
Page 496: ...480 ...