
CHAPTER 18 IEBus CONTROLLER
User’s Manual U16541EJ4V0UD
632
18.1.2 Determination of bus mastership (arbitration)
An operation to occupy the bus is performed when a unit connected to the IEBus controls the other units. This
operation is called arbitration.
When two or more units simultaneously start transmission, arbitration is used to grant one of the units the
permission to occupy the bus.
Because only one unit is granted the bus mastership as a result of arbitration, the priority conditions of the bus are
predetermined as follows.
Caution
The bus mastership is released if communication is aborted.
(1) Priority by communication type
Broadcast communication (communication from one unit to multiple units) takes precedence over normal
communication (communication from one unit to another).
(2) Priority by master address
If the communication type is the same, communication with the lower master address takes precedence.
A master address consists of 12 bits, with unit 000H having the highest priority and unit FFFH having the
lowest priority.
18.1.3 Communication mode
The IEBus has three communication modes each having a different transfer rate. The V850ES/SG2 supports
communication modes 1 and 2. The transfer rate and the maximum number of transfer bytes in one communication
frame in communication modes 1 and 2 are as shown in Table 18-1.
Table 18-1. Transfer Rate and Maximum Number of Transfer Bytes in Each Communication Mode
Communication Mode
Maximum Number of Transfer Bytes (Bytes/Frame)
Effective Transfer Rate (kbps)
Note
1
32
Approx. 17
2
128
Approx. 26
Note
The effective transfer rate when the maximum number of transfer bytes is transmitted.
Select the communication mode for each unit connected to the IEBus before starting communication.
If the
communication mode of the master unit and that of the partner unit (slave unit) are not the same, communication is
not correctly executed.
18.1.4 Communication address
With the IEBus, each unit is assigned a specific 12-bit address. This communication address consists of the
following identification numbers.
Higher 4 bits: Group number (number to identify the group to which each unit belongs)
Lower 8 bits: Unit number (number to identify each unit in a group)