Hi,
I bought the TPA2016 breakout amplifier for its I2C control ability. I thought I would be able to instantaneously control the gain of the amplifier output over I2C. However, this is not the case. The volume will eventually reach the set gain, but it takes approximately ten seconds to reach this volume. Is there a way to set the amplifier to respond to gain changes faster?
Thank you!
TPA2016 Volume Rampup Speed
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- adafruit2
- Posts: 22148
- Joined: Fri Mar 11, 2005 7:36 pm
Re: TPA2016 Volume Rampup Speed
make sure you have the AGC totally off:
audioamp.setAGCCompression(TPA2016_AGC_OFF);
audioamp.setAGCRelease(0);
audioamp.setGain(12);
audioamp.setAGCCompression(TPA2016_AGC_OFF);
audioamp.setAGCRelease(0);
audioamp.setGain(12);
Please be positive and constructive with your questions and comments.