Other Parts Discussed in Thread: TLV320DAC3100
Dear ALL,
ON my board I am using TLV320DAC3100, I am providing 12.37MHz MCLK input, and clock configuration is PLL source=MCLK and CODEC clk_in source= PLL clk. I tried making DAC as I2S master but not getting any clock also not able to generate beep too. Also making DAC as I2S slave also not working, in this case i probed and found clocks and data is present.please find my i2c sequence below.
Page-0
------
i2cset -f -y 2 0x18 0x00 0x00
i2cset -f -y 2 0x18 0x01 0x01
Clock configuration:12.3751Mhz, 48k
------------------------------------
//PLL_clkin = MCLK,codec_clkin = PLL_CLK
i2cset -f -y 2 0x18 0x04 0x03
//pll power-up P=1, R=1
i2cset -f -y 2 0x18 0x05 0x91
//J=7
i2cset -f -y 2 0x18 0x06 0x07s
//D=4472: D-MSB=0x11 D-LSB=0x78
i2cset -f -y 2 0x18 0x07 0x11
i2cset -f -y 2 0x18 0x08 0x78
//ndac power-up, NDAC=3
i2cset -f -y 2 0x18 0x0b 0x83
//mdac power-up, MDAC=5
i2cset -f -y 2 0x18 0x0c 0x85s
//DOSR = 128, DOSR(9:8) = 0, DOSR(7:0) = 128
i2cset -f -y 2 0x18 0x0d 0x00
i2cset -f -y 2 0x18 0x0e 0x80
i2cset -f -y 2 0x18 0x1b 0x00 //i2s, 16bit, slave
i2cset -f -y 2 0x18 0x3c 0x0B //PRB_P11 for playback
i2cset -f -y 2 0x18 0x3c 0x19 //PRB_P25 -for beep
i2cset -f -y 2 0x18 0x00 0x08
i2cset -f -y 2 0x18 0x01 0x04
i2cset -f -y 2 0x18 0x00 0x00
Page-1
------
i2cset -f -y 2 0x18 0x00 0x01
i2cset -f -y 2 0x18 0x1F 0x04
i2cset -f -y 2 0x18 0x21 0x4E
i2cset -f -y 2 0x18 0x23 0x44
i2cset -f -y 2 0x18 0x28 0x06
i2cset -f -y 2 0x18 0x29 0x06
i2cset -f -y 2 0x18 0x1F 0xC2
i2cset -f -y 2 0x18 0x2a 0x1c
i2cset -f -y 2 0x18 0x20 0x86
i2cset -f -y 2 0x18 0x24 0x92
i2cset -f -y 2 0x18 0x25 0x92
i2cset -f -y 2 0x18 0x26 0x92
page-0
-------
i2cset -f -y 2 0x18 0x00 0x00
i2cset -f -y 2 0x18 0x44 0x00
i2cset -f -y 2 0x18 0x42 0xD4
i2cset -f -y 2 0x18 0x41 0xD4
i2cset -f -y 2 0x18 0x3f 0xD4
i2cset -f -y 2 0x18 0x40 0x00
AUDIO BEEP GENERATION:
======================
i2cset -f -y 2 0x18 0x00 0x00
i2cset -f -y 2 0x18 0x47 0x00
i2cset -f -y 2 0x18 0x48 0x80
i2cset -f -y 2 0x18 0x49 0x00
i2cset -f -y 2 0x18 0x4A 0x56
i2cset -f -y 2 0x18 0x4B 0x22
i2cset -f -y 2 0x18 0x4C 0x09
i2cset -f -y 2 0x18 0x4D 0x1C
i2cset -f -y 2 0x18 0x4E 0x7F
i2cset -f -y 2 0x18 0x4F 0xAB
Any support on this issue or any sequence I can test to find if there is any problem with DAC
Thanks and Regards
Vivek

