|
AK7755EN_16 Datasheet, PDF (81/109 Pages) Asahi Kasei Microsystems – DSP with Mono ADC Stereo CODEC + Mic/Lineout Amp | |||
|
◁ |
[AK7755]
1-5. The First Byte
The First Byte, which includes the Slave-address, is input after the Start condition is set, and a target IC
device that will be accessed on the bus is selected by the Slave-address. The Slave-address is configured
with the upper 7-bits. When the I2CSEL pin = âHâ and the EXTEEP pin = âLâ, data of the upper 6-bits is
â001100â. The next 1 bit is the address bits that select the desired IC which are set by the CAD pin. The
slave address will be â0011000â when the I2CSEL pin =âHâ and the EXTEEP pin = âLâ. However, the
CAD pin should be set to âLâ if the MATSEL pin = âLâ to set the slave address to â0011000â when
downloading from EEPROM by DLS bit even if the I2CSEL pin =âHâ and the EXTEEP pin = âLâ.
When the Slave-address is inputted, an external device that has the identical device address generates an
acknowledgement and instructions are then executed. The 8th bit of the First Byte (lowest bit) is allocated
as the R/W Bit. When the R/W Bit is â1â, the read instruction is executed, and when it is â0â, the write
instruction is executed.
Note 52. In this document, there is a case that describes a âWrite Slave-address assignmentâ when both
address bits match and a Slave-address at R/W Bit = â0â is received. There is a case that
describes âRead Slave-address assignmentâ when both address bits matches and a Slave-address
at R/W Bit = â1â is received.
0
0
1
1
0
0
CAD R/W
When I2CSEL pin = âHâ and EXTEEP pin = âLâ
0
0
1
1
0
0
0
R/W
When I2CSEL pin = âHâ and EXTEEP pin = âHâ, or using DLS bit
Figure 66. First Byte Configuration (I2C)
1-6. The Second and Succeeding Bytes
The data format of the second and succeeding bytes of the AK7755 Transfer / Receive Serial data
(command code, address and data in microcontroller interface format) on the I2C BUS are all
configured with a multiple of 8-bits. When transferring or receiving those data on the I2C BUS, they
are divided into an 8-bit data stream segment and they are transferred / received with the MSB side
data first with an acknowledgement in-between.
Example)
When transferring / receiving A1B2C3 (hex) 24-bit serial data in microprocessor interface format:
(1) M(1)iãcrã¤ocã³oã³nã¤troã³lã¿leã¼r Iãnã§teã¼rfã¹acã®eãFã©oã¼rmãaãtã (2) I(21C)I2CFã®orãmã©aã¼t ããã
A1
B2
C3
A1
B2
C3
A
A
24BIT
8BIT
8BIT
8BIT
A â¦Acknowledge
Figure 67. Division of Data (I2C)
Note 53. In this document, there is a case that describes a write instruction command code which is
received at the second byte as âWrite Commandâ. There is a case that describes a read
instruction command code which is received at the second byte as âRead Commandâ.
014006643-E-00
- 81 -
2014/10
|
▷ |