参数资料
型号: TAS3004PFBRG4
厂商: TEXAS INSTRUMENTS INC
元件分类: 消费家电
英文描述: SPECIALTY CONSUMER CIRCUIT, PQFP48
封装: GREEN, PLASTIC, TQFP-48
文件页数: 37/84页
文件大小: 671K
代理商: TAS3004PFBRG4
6–3
6.3.2
TAS3004 I2C Readback Example
The TAS3004 will save in a Stack or First-In First-Out (FIFO) buffer the last 7 bytes that were sent to it. When an I2C
read command is sent to the device (LSB=high), it answers by popping the first byte off the stack. The TAS3004 will
then expect either a SendAck command or an I2C Stop command from the host. If a SendAck command is sent from
the host then the TAS3004 will pop another byte off the stack. If an I2C Stop is sent then the TAS3004 will end this
transaction. The proper sequence for reading is described as follows:
I2C Start
Send I2C address byte with read Bit Set to 1 (LSB set equal to 1)
receive Byte 0
Send Ack
receive Byte 1
Send Ack
receive Byte 2
Send Ack
receive Byte 3
Send Ack
receive Byte 4
Send Ack
receive Byte 5
Send Ack
receive Byte 6 (if you send an ACK after Byte 6 it will lock up the TAS3004)
I2C Stop
Where:
I2C Start is a valid I2C Start Command
Receive Byte is a valid I2C Command which reads a byte from the TAS3004.
SendAck is a avalid I2C Command that informs the TAS3004 that a byte has been read.
I2C Stop is a valid I2C Stop Command
NOTES:
1. The TAS3004 will appear to be locked up, if a SendACK is issued after the last byte read. It is required to send an I2C Stop Condition
after the last byte and not a SendACK.
2. The I2Cstart and I2Cstop commands are the same for both I2C read and I2C write.
6.3.3
I2C Wait States
The TAS3004 device performs interpolation algorithms for its volume and tone controls. If a volume or tone change
is sent to the part via I2C, the command sent after the volume or tone (bass and treble) change causes an I2C wait
state to occur. This wait state lasts from 41 ms to 231 ms, depending on the system clock rate, the command sent,
and, in the case of bass or treble, the amount of the change.
Secondly, if a long series of commands are sent to the TAS3004 device, it may occasionally create a short wait state
on the order of 150
s to 300 s while it loads and processes the commands.
When a sample rate of 32 kHz is used, longer wait states can occur, occasionally up to 15 ms.
The preferred way to take care of wait states is to use an I2C controller that recognizes wait states. During the wait
state period, it stops sending data over I2C. If this function is not available on the system controller, fixed delays can
be implemented in the system software to ensure that the controller is not trying to send more data while the TAS3004
device is busy. Sending I2C data while the TAS3004 device is busy causes errors and locks up the device, which must
then be reset.
相关PDF资料
PDF描述
TAS3103DBT SPECIALTY CONSUMER CIRCUIT, PDSO38
TAS3103IDBT SPECIALTY CONSUMER CIRCUIT, PDSO38
TAS3103DBTRG4 SPECIALTY CONSUMER CIRCUIT, PDSO38
TAS3103DBTR SPECIALTY CONSUMER CIRCUIT, PDSO38
TAS3103IDBTRG4 SPECIALTY CONSUMER CIRCUIT, PDSO38
相关代理商/技术参数
参数描述
TAS3103 制造商:TI 制造商全称:Texas Instruments 功能描述:Digital Audio Processor With 3D Effects
TAS3103A 制造商:TI 制造商全称:Texas Instruments 功能描述:Digital Audio Processor With 3D Effects
TAS3103ADBT 功能描述:音频 DSP Digital Audio Processor w/ 3D Eff RoHS:否 制造商:Texas Instruments 工作电源电压: 电源电流: 工作温度范围: 安装风格: 封装 / 箱体: 封装:Tube
TAS3103ADBTG4 功能描述:音频 DSP Digital Audio Processor w/ 3D Eff RoHS:否 制造商:Texas Instruments 工作电源电压: 电源电流: 工作温度范围: 安装风格: 封装 / 箱体: 封装:Tube
TAS3103ADBTR 功能描述:音频 DSP Digital Audio Processor w/ 3D Eff RoHS:否 制造商:Texas Instruments 工作电源电压: 电源电流: 工作温度范围: 安装风格: 封装 / 箱体: 封装:Tube