ALC DC offset calibration problem

3 posts / 0 new
Last post
yesways
Offline
Last seen: 4 months 6 days ago
Joined: 2017-05-09 14:32
ALC DC offset calibration problem

We are using the ALC function of the DA7212 with success in several projects.

Recently we tried to use the automatic DC offset calibration, accessible through

the ALC_CTRL_1 register.

 

However, when we have completed this procedure, following the recommended

sequence, the ALC will behave strangely:

 

- It will, as expected, lower the gain and thus the output volume when high sounds comes in

- It will NOT increase the gain again, unless there is SOME sound coming in.

If the input is quiet, the gain will stay low indefinetly.

 

We have tried in many ways to remedy this behaviour,

since it will NOT work in our application, but have not succeeded.

For example, playing around with the noise threshold, min and max gains, attack and sustain rates

seem to not affect this problem at all. IF we go to a fully digital ALC, then this problem

goes away, but we need to have analog + digital ALC

 

Does anyone have an explanation to why this is happening, and a proposed solution?

 

 

 

Device: 
ED_Dialog
Offline
Last seen: 18 hours 44 min ago
Staff
Joined: 2017-09-18 11:54
Hello,

Hello,

You have posted in the anoucment section of the forum. However i will look into this for you.

Kind regards,
Elliott Dexter 

ED_Dialog
Offline
Last seen: 18 hours 44 min ago
Staff
Joined: 2017-09-18 11:54
Hello,

Hello,

Could you send me your set-up script?

Something to look out for is the time for the calibration to be completed. I have attached a script for MIC to ADC for referance, we would also suggest enabling the ALC_ANTICLIP_CTRL,

Kind regards,
Elliott

Attachment: