English
Language : 

ISD5216 Datasheet, PDF (42/75 Pages) Winbond – 8 to 16 minutes voice record/playback device with integrated codec
ISD5216
7.10 PROGRAMMING THE ISD 5216
7.10.1. Sending a byte on the I2C interface
When reading or writing a byte of data on the I2C bus, two different
mechanisms for flow control are used, the first is the standard ACK
that the slave or master sends after reading or writing a byte, but the
ISD5216 also uses flow control by holding the clock line (SCL) low
until the chip is ready to transmit data,
For example, the sequence of sending the slave address will be as
follows:
1. Send one byte 10000000 {Slave Address, R/W = 0} 80h.
2. Slave ACK.
3. Next time the clock is pulled high by the master, wait for SCL
to actually go high.
7.10.2. POWER-UP SEQUENCE
This sequence prepares the ISD5216 for an operation to follow, and
waits for the Tpud time before sending the next command sequence.
1. Send I2C Start.
2. Send one byte 10000000 {Slave Address, R/W = 0} 80h.
3. Send one byte 10000000 {Command Byte = Power Up} 80h.
4. Send I2C Stop.
S SLAVE ADDRESS W A
AP
Power up (80h)
Conventions used in I2C Data
Transfer Diagrams
S = START Condition
P = STOP Condition
DATA = 8 bit data transfer
R = “1” in the R/W bit
W
= “0” in the R/W bit
A = ACK (Acknowledge)
N = No ACK
SLAVE ADDRESS
= 7 bit Slave
Address
The Box color indicates the
direction of data flow
= Host to Slave (Gray)
= Slave to Host (White)
7.10.3. Read Status command
The read status command is a read request from the Host processor to the ISD5216 without
delivering a Command Byte. The Host supplies all of the clocks (SCL). The ISD5216 drives the data
line (SDA). During the read commands, to read status, send the following sequence.
1. Host executes I2C START
2. Send Slave Address with R/W bit = “1” (Read) 81h.
3. Read one byte of data and send ACK, the read data is the status byte
4. Read one byte of data and send ACK, the read data is the upper address byte
5. Read one byte of data and send NACK, the read data is the lower address byte
6. Host sends I2C STOP
Note: The processor could have sent an I2C STOP after the Status Word data transfer, and thus aborted the transfer of the
Address bytes
- 42 -