Programming SGTL5000 Stereo Codec

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Programming SGTL5000 Stereo Codec

Jump to solution
992 Views
jamesmin
Contributor II

Hi. I am writing driver code for SGTL5000 audio codec. The voltage I am using for the codec is VDDIO=3.3v, VDDA=3.3v and VDDD=1.8v.

As the voltage level is different from other reference board, I want someone double check the register values that needs to be configured for my case. The values I am trying to use is like below.

Write CHIP_ANA_POWER 0x4260

Write CHIP_LINREG_CTRL 0x006C

Write CHIP_REF_CTRL 0x01FF

Write CHIP_LINE_OUT_CTRL 0x0322

Write CHIP_REF_CTRL 0x004F

Write CHIP_SHORT_CTRL 0x1106

Write CHIP_ANA_CTRL 0x0133

Write CHIP_ANA_POWER 0x6AFF

Write CHIP_DIG_POWER 0x0073

Write CHIP_LINE_OUT_VOL 0x0505

As I use external VDDD. Can you check whether any additional value needs to be applied?

Also I want to know whether external VDDD can be used on the latest SGTL5000 device (revision:0x11).

Thank you.

James.

Labels (1)
0 Kudos
1 Solution
672 Views
igorpadykov
NXP Employee
NXP Employee

Hi James

please look at AN3663 SGTL5000 Initialization and Programming

http://cache.freescale.com/files/analog/doc/app_note/AN3663.pdf

external VDDD should be applied according to

http://cache.freescale.com/files/analog/doc/errata/SGTL5000ER.pdf

Best regards

igor

-----------------------------------------------------------------------------------------------------------------------

Note: If this post answers your question, please click the Correct Answer button. Thank you!

-----------------------------------------------------------------------------------------------------------------------

View solution in original post

0 Kudos
1 Reply
673 Views
igorpadykov
NXP Employee
NXP Employee

Hi James

please look at AN3663 SGTL5000 Initialization and Programming

http://cache.freescale.com/files/analog/doc/app_note/AN3663.pdf

external VDDD should be applied according to

http://cache.freescale.com/files/analog/doc/errata/SGTL5000ER.pdf

Best regards

igor

-----------------------------------------------------------------------------------------------------------------------

Note: If this post answers your question, please click the Correct Answer button. Thank you!

-----------------------------------------------------------------------------------------------------------------------

0 Kudos