
413
CHAPTER 17
IEBus CONTROLLER (
PD178096A, 178098A, 178F098 ONLY)
User’s Manual U12790EJ2V0UD
17.6.2 Master reception
Before performing master reception, it is necessary to notify the slave unit of slave transmission. Therefore, more than
two communication frames are necessary for master reception.
The slave unit prepares the transmit data, sets (1) the slave transmission enable flag (ENSLVTX), and waits.
Initial preparation processing:
Set a unit address, slave address, and control data.
Communication start processing:
Set the bus control register (enable communication and master request).
Figure 17-30. Master Reception
<1> Interrupt (INTIE2) occurrence
Judgment of occurrence of error
→
Error processing
↓
Judgment of slave request
→
Slave reception processing
↓
Judgment of conflict result
→
Remaster request processing
<2> Interrupt (INTIE2) occurrence
Judgment of occurrence of error
→
Error processing
↓
Judgment of end of communication
→
End of communication processing
↓
Judgment of end of frame
→
Frame end processing (See 17.6.2 (2) Frame end processing)
Remarks 1.
: Interrupt (INTIE1) occurrence (See 17.6.2 (1) Interrupt (INTIE1) occurrence)
The receive data stored in the IEBus data register (DR) is read by software.
At this time, the data transfer direction is SFR (peripheral)
→ RAM (memory).
2. n = Final number of data bytes
Approx. 1,014 s (mode 1)
Start
Broad-
cast
M address
P
S address
P
A
Control
A
P
Telegraph
length
A
P
Data 1
Approx. 390 s
(mode 1)
Data 1
P
A
Data 2
P
A
Data n
 1
P
A
Data n
P
A
<2>
<1>