ALC DC offset calibration problem

⚠️
Hi there.. thanks for coming to the forums. Exciting news! we’re now in the process of moving to our new forum platform that will offer better functionality and is contained within the main Dialog website. All posts and accounts have been migrated. We’re now accepting traffic on the new forum only - please POST any new threads at//www.wsdof.com/support. We’ll be fixing bugs / optimising the searching and tagging over the coming days.
3 posts / 0 new
Last post
yesways
Offline
Last seen:5 months 5 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.

最近我们试图利用自动直流偏置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:1 month 2 weeks 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:1 month 2 weeks 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: