Figure 6.13-10 Master Transmits Data To Slave By 10-Bit; Figure 6.13-11 Master Reads Data From Slave By 10-Bit - Nuvoton ISD94124BYI Technical Reference Manual

Isd arm cortex-m4f soc
Table of Contents

Advertisement

one Read/Write bit – in this case it is '0' indicating a write operation. The second address byte
contains the lower 8-bit address. The master keeps sending data after addressing byte
acknowledged. The 7-bit and 10-bit address devices can work on the same bus.
S
ADDRESS 1st byte
11110XX

Figure 6.13-10 Master Transmits Data to Slave by 10-bit

Master reads data from a slave with 10-bit address
Figure 6.13-11 shows a master reading data from a slave with 10-bit address. First the master
needs to send 10-bit addressing bits with R/W bit as 0 in the first header byte; then the master
needs to send the second header byte only with R/W bit as 1 to indicate this is a master read
operation.
S
ADDRESS 1st byte
11110XX
Sr
ADDRESS 1st byte
11110XX

Figure 6.13-11 Master Reads Data from Slave by 10-bit

6.13.5.2 Operational Description
6.13.5.2.1 I2C Initialization
An interrupt driven process is suitable for handling the ISD94100 series I2C communication. When
working as a master, the ISD94100 series device generates a START condition, then responds to
the following interrupts; in slave mode, after I2C initialization the device simply waits for I2C
interrupts.
Typically the ISD94100 series I2C initialization does the following:
Enable I2C module clock
Configure I2C clock speed, enable I2C module
Enable I2C interrupt, and initialize I2C NVIC vector
Configure its own the slave address register.
Sep 9, 2019
ISD94100 Series Technical Reference Manual
R/W
A
ADDRESS 2nd byte
'0' : write
...
DATA
(n bytes + acknowlegde)
R/W
A
ADDRESS 2nd byte
'0' : write
R/W
A
DATA
'1' : read
(n bytes + acknowlegde)
Page 624 of 928
...
A
A
DATA
A/A
data transfer
...
A
A
DATA
A/A
data transfer
P
P
Rev1.09

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents