CS4365
4.14.2.1 I2C Write
To write to the device, follow the procedure below while adhering to the control port Switching Specifica-
tions in Section .
1. Initiate a START condition to the I2C bus followed by the address byte. The upper 6 bits must be
001100. The seventh bit must match the setting of the AD0 pin, and the eighth must be 0. The eighth
bit of the address byte is the R/W bit.
2. Wait for an acknowledge (ACK) from the part, then write to the memory address pointer, MAP. This
byte points to the register to be written.
3. Wait for an acknowledge (ACK) from the part, then write the desired data to the register pointed to by
the MAP.
4. If the INCR bit (see Section 4.14.1 ) is set to 1, repeat the previous step until all the desired registers
are written, then initiate a STOP condition to the bus.
5. If the INCR bit is set to 0 and further I2C writes to other registers are desired, it is necessary to initiate
a repeated START condition and follow the procedure detailed from step 1. If no further writes to other
registers are desired, initiate a STOP condition to the bus.
4.14.2.2 I2C Read
To read from the device, follow the procedure below while adhering to the control port Switching Specifi-
cations.
1. Initiate a START condition to the I2C bus followed by the address byte. The upper 6 bits must be
001100. The seventh bit must match the setting of the AD0 pin, and the eighth must be 1. The eighth
bit of the address byte is the R/W bit.
2. After transmitting an acknowledge (ACK), the device will then transmit the contents of the register
pointed to by the MAP. The MAP register will contain the address of the last register written to the
MAP, or the default address (see Section 4.14.1 ) if an I2C read is the first operation performed on the
device.
3. Once the device has transmitted the contents of the register pointed to by the MAP, issue an ACK.
4. If the INCR bit is set to 1, the device will continue to transmit the contents of successive registers. Con-
tinue providing a clock and issue an ACK after each byte until all the desired registers are read, then
initiate a STOP condition to the bus.
5. If the INCR bit is set to 0 and further I2C reads from other registers are desired, it is necessary to initiate
a repeated START condition and follow the procedure detailed from steps 1 and 2 from the I2C Write
instructions followed by step 1 of the I2C Read section. If no further reads from other registers are de-
sired, initiate a STOP condition to the bus.
N ote 1
SDA
001100
ADDR
AD 0
R/W
ACK
DATA
1-8
ACK
DATA
1-8
ACK
SCL
Start
Stop
N ote: If operation is a w rite, th is byte contain s the M em o ry A ddress P ointer, M A P.
Figure 22. Control Port Timing, I2C Mode
DS670F2
31
相关PDF资料
CDB4385 BOARD EVAL FOR CS4385 DAC
CDB43L22 BOARD EVAL FOR CS43L22
CDB5340 BOARD EVAL FOR CS5340 STEREO ADC
CDB5343 BOARD EVAL FOR CS5343 STEREO ADC
CDB5451A EVAL BOARD CS5451A 6CH ADC
CDB5524 EVAL BOARD FOR CS5524 ADC
CDB5581 BOARD EVAL FOR CS5581 ADC
CDK5571 CDB5571 W/CAPTURE PLUS 2 SYSTEM
相关代理商/技术参数
CDB4382 制造商:Cirrus Logic 功能描述:Tools Development kit Kit Con
CDB4382A 功能描述:音频 IC 开发工具 Eval Bd 114dB 192kHz 8-Ch DAC w/DSD RoHS:否 制造商:Texas Instruments 产品:Evaluation Kits 类型:Audio Amplifiers 工具用于评估:TAS5614L 工作电源电压:12 V to 38 V
CDB4383 制造商:CIRRUS 制造商全称:Cirrus Logic 功能描述:114 dB, 192 kHz 8-Channel D/A Converter
CDB4384 功能描述:音频 IC 开发工具 Eval Bd 8-Ch DAC w/DSD RoHS:否 制造商:Texas Instruments 产品:Evaluation Kits 类型:Audio Amplifiers 工具用于评估:TAS5614L 工作电源电压:12 V to 38 V
CDB4385 功能描述:音频 IC 开发工具 Eval Bd 8-Ch DAC w/DSD RoHS:否 制造商:Texas Instruments 产品:Evaluation Kits 类型:Audio Amplifiers 工具用于评估:TAS5614L 工作电源电压:12 V to 38 V
CDB4390 制造商:CIRRUS 制造商全称:Cirrus Logic 功能描述:24-Bit, Stereo D/A Converter for Digital Audio
CDB4391 制造商:CIRRUS 制造商全称:Cirrus Logic 功能描述:24-Bit, 192 kHz Stereo DAC with Volume Control
CDB4391A 功能描述:音频 IC 开发工具 Eval Bd CS4391A RoHS:否 制造商:Texas Instruments 产品:Evaluation Kits 类型:Audio Amplifiers 工具用于评估:TAS5614L 工作电源电压:12 V to 38 V