![NEC V854 UPD703006 Скачать руководство пользователя страница 271](http://html.mh-extra.com/html/nec/v854-upd703006/v854-upd703006_user-manual_249287271.webp)
User’s Manual U11969EJ3V0UM00
271
CHAPTER 8 SERIAL INTERFACE FUNCTION
(9) Address coincidence detection
The I
2
C bus can select the specific slave device when the master transmits the slave address.
Address coincidence detection can be automatically performed by hardware. If the local address is set to the
slave address register (SVA), INTIIC interrupt request generates only when the slave address transmitted from
the master and the address set in SVA coincide or when an extension code is received.
(10) Error detection
The I
2
C bus can detect transmission errors by comparing the IIC data before transmission starts and that after
transmission ends because the status of the serial bus during transmission (SDA) is captured also to IIC shift
register (IIC) of the transmitting device. In this case, if the two data differ, it is judged that a transmission error
has occurred.
(11) Extension code
(a) Interrupt request (INTIIC) is issued at the fall of the eighth clock by setting the extension code reception
flag (EXC) regarding it as reception of exception code when the higher 4 bits of the reception address
is either “0000” or “1111”.
The local address stored in the slave address register (SVA) is not affected.
(b) The following is set when “111110xx” is set to SVA by 10-bit address transfer and “111110xx0” is
transferred from the master. However, interrupt request (INTIIC) generates at the fall of the eighth clock.
• Coincidence of the higher 4-bit data : EXC = 1
• Coincidence of the 7-bit data
: COI = 1
(c) The processing after interrupt request is issued differs depending on the data following the extension code.
Therefore, it is performed by software.
For example, LREL is set to 1 and the next communication wait status enters not to operate a device as
a slave after receiving extension code.
Table 8-4. Definition of Extension Code Bit
Slave Address
R/W Bit
Description
0000 000
0
General call address
0000 000
1
Start byte
0000 001
x
CBUS address
0000 010
x
Address reserved for different bus format
1111 0xx
x
10-bit slave address specification
(12) Arbitration
When more than one master simultaneously output start conditions (when setting STT =1 before STD = 1 is
set), master communication continues until the data differs while adjusting the clock. This operation is called
arbitration.
The master which is defeated in arbitration sets the ALD bit of the IIC status register (IICS) at the timing at
which the master is defeated in the arbitration, sets both SCL and SDA lines in Hi-Z status, and releases bus.
The arbitration defeat is detected by software when ALD =1 at the next interrupt request generation timing
(the eighth or ninth clock, stop condition detection, etc.).
For the interrupt generation timing, refer to (7) I
2
C interrupt (INTIIC).
Содержание V854 UPD703006
Страница 2: ...2 User s Manual U11969EJ3V0UM00 MEMO ...
Страница 22: ...22 User s Manual U11969EJ3V0UM00 MEMO ...
Страница 80: ...80 User s Manual U11969EJ3V0UM00 MEMO ...
Страница 134: ...134 User s Manual U11969EJ3V0UM00 MEMO ...
Страница 156: ...156 User s Manual U11969EJ3V0UM00 MEMO ...
Страница 294: ...294 User s Manual U11969EJ3V0UM00 MEMO ...
Страница 320: ...320 User s Manual U11969EJ3V0UM00 MEMO ...
Страница 324: ...324 User s Manual U11969EJ3V0UM00 MEMO ...
Страница 336: ...336 User s Manual U11969EJ3V0UM00 MEMO ...
Страница 376: ...376 User s Manual U11969EJ3V0UM00 MEMO ...
Страница 382: ...382 User s Manual U11969EJ3V0UM00 MEMO ...
Страница 394: ...394 User s Manual U11969EJ3V0UM00 MEMO ...
Страница 396: ...396 User s Manual U11969EJ3V0UM00 MEMO ...