
CHAPTER 18 IEBus CONTROLLER
User’s Manual U17790EJ2V0UD
680
(f) Write error occurrence flag (WERR) … Bit 2
<Set/clear conditions>
Set:
This flag is set (1) if a write error occurs.
Clear: By software
A write error occurs if the data written to the DR register is not transmitted in the data field during unit
transmission. The timing of occurrence of a write error is illustrated below.
Figure 18-15. Timing of Write Error Occurrence
. . .
Data field
Acknowledge bit
Write error occurs if data is not
written to DR register during this period.
Approx.
170 ns
INTIE1
Cautions 1. Even when the WERR bit is set (1), the INTIE1 interrupt request signal may be
generated.
2. If the NACK signal is returned, the WERR bit is not set because data is
retransmitted.
(g) Third-party error occurrence flag (DEFLAG)…Bit 0
<Set/clear conditions>
Set:
This flag is set (1) if a timing error or parity error occurs during communication regardless of the
unit (during communication between third parties).
Clear: By software
Caution
If an error occurs before the third-party communication starts even when the slave
address field does not match that of the unit (for example, if the NACK signal is received
when the received address does not match that of the unit in the slave address field (if
the NERR bit is set (1))), the DEFLAG bit is not set (1).
Remark
Communication between third parties may take place in the following two cases.
<1> If the received address in the slave address field does not match that of the unit (during
individual communication: Matching with UAR register, during broadcast communication:
Matching with group or FFFH) and if communication continues after the ACK signal has
been received, the unit monitors that communication.
<2> If the unit cannot respond to the received control data in the control field during broadcast
communication and if communication continues, the unit monitors that communication.
For example, this happens when the unit receives control data FH from master during
broadcast communication but the slave reception enable flag of the unit is disabled
(BCR.ENSLVRX bit = 0) (the NACK signal is returned and communication ends during
individual communication).