Hi, I'm having troubles interpreting a calculation from the TLV320AIC3204 Application Reference Guide (SLAA557).
The document outlines a few registers that can be used to control the attack and decay times of each each channel's AGC:
- Page 0 / Register 89: Left Channel Attack Time
- Page 0 / Register 90: Left Channel Decay Time
- Page 0 / Register 97: Right Channel Attack Time
- Page 0 / Register 98: Right Channel Decay Time
For these registers, the upper 5 bits specify the times as follows:
Attack Time = [1,63] * 32 ADC Word Clocks
Decay Time = [1,63] * 512 ADC Word Clocks
This is clear enough, but I'm unclear on the 3 LSBs of these registers, which specify the Scale Factor. I don't see any other references to this value in the document, so I'm unclear on what it does exactly. Are the attack times above multiplied by this factor? Are they divided by it? Is there some other calculation that uses this factor?
Thanks