AnsweredAssumed Answered

Configurable DAC Gains of SGTL using I2C setttings in iMx6q

Question asked by Abhijeet Gokar on Feb 17, 2020
Latest reply on Feb 17, 2020 by Abhijeet Gokar

Hi,

 

We are using sgtl5000 sound card for 16-bit linear audio communication application. The SGTL chip is interfaced with the iMx6 processor, and the processor's dts has i2c enabled.

 

Currently, i2ctools is not added into the kernel image, hence the user cannot make changes to the to card registers using i2cset/i2cget command.

 

Is there anyway to get configurable DAC Gains of SGTL using I2C setttings in iMx6q in the userspace, without making any kernel changes.

 

The one simple change I want to make in the chip is the program the 0x0010 address (DAC_VOL), to a configurable volume, say from 0x3c3c to 0x6c6c.

 

Best,

Abhijeet

Outcomes