Datasheet
TLV320AIC3120
www.ti.com
SLAS653A –FEBRUARY 2010–REVISED MAY 2012
5. Power up DAC
(a) Set register page to 0
(b) Power up DAC channels and set digital gain
(c) Unmute digital volume control
A detailed example can be found in Section 5.6.13.
5.6.13 Example Register Setup to Play Digital Data Through DAC and Headphone/Speaker
Outputs
A typical EVM I
2
C register control script follows to show how to set up the TLV320AIC3120 DAC in
playback mode with f
S
= 44.1 kHz and MCLK = 11.2896 MHz.
# Key: w 30 XX YY ==> write to I2C address 0x30, to register 0xXX, data 0xYY
# # ==> comment delimiter
#
# The following list gives an example sequence of items that must be executed in the time
# between powering the device up and reading data from the device. Note that there are
# other valid sequences depending on which features are used.
#
# 1. Define starting point:
# (a) Power up applicable external hardware power supplies
# (b) Set register page to 0
#
w 30 00 00
#
# (c) Initiate SW reset
#
w 30 01 01
#
# 2. Program clock settings
# (a) Program PLL clock dividers P, J, D, R (if PLL is used)
#
# PLL_clkin = MCLK,codec_clkin = PLL_CLK
w 30 04 03
# J = 8
w 30 06 08
# D = 0000, D(13:8) = 0, D(7:0) = 0
w 30 07 00 00
#
# (b) Power up PLL (if PLL is used)
# PLL Power up, P = 1, R = 1
#
w 30 05 91
#
# (c) Program and power up NDAC
#
# NDAC is powered up and set to 8
w 30 0B 88
#
# (d) Program and power up MDAC
#
# MDAC is powered up and set to 2
w 30 0C 82
#
# (e) Program OSR value
#
# DOSR = 128, DOSR(9:8) = 0, DOSR(7:0) = 128
w 30 0D 00 80
#
# (f) Program I2S word length if required (16, 20, 24, 32 bits)
# and master mode (BCLK and WCLK are outputs)
#
# mode is i2s, wordlength is 16, slave mode
w 30 1B 00
#
Copyright © 2010–2012, Texas Instruments Incorporated APPLICATION INFORMATION 65
Submit Documentation Feedback
Product Folder Link(s): TLV320AIC3120