This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

tvp5158 and DM6467

Other Parts Discussed in Thread: TVP5158

Hi,

I have two question about tvp5158 and the mcasp of DM6467.

1) When I set reg c0h of the tvp5158 through i2c,I found set 00h(16k) and 10h(8k), the pin LRCLKR output is always 16KHz.

I can readback the value of reg c0h, although it's 10h,but output LRCLKP output is 16KHz.

When I set BCLK_R_Freq,the BCLK output is  64fs(1MHz) or 256fs(4MHz).

How to output 8K sample rate?

2)I wirite a simple driver for tvp5158 audio on the DM6467.I test the recording through AXR0[0] of the DM6467,

but found no data detect in the rxbuf.

The reg setting in tvp5158:

0x10, 0x88, 0x88, 0x68, /* C0 */ //i2s master SD_R only 64fs 16bit  mode 8k sample
0x01, 0x00, 0x00, 0x00, /* C4 */

0x00, /* C8 */

The reg setting in DM6467:

offset is from 00 to f0

 0x100102 0x0 0x0 0x0
0x0 0x0 0x0 0x2c000001
0x0 0x0 0x0 0x0
0x91 0x0 0x0 0x0
0x0 0x1f 0x0 0x0
0x0 0x0 0x0 0x0
0x1f 0xffff 0x8074 0x200
0x80 0x8000 0xf 0x0
0x104 0x0 0x0 0x0
0x0 0x0 0x0 0x0
0x1f 0xffff 0x74 0x0
0x0 0x8000 0x0 0x0
0x10c 0x17f 0x0 0x0
0x0 0x0 0x0 0x0
0x0 0x0 0x0 0x0

func : 0

dir: 0

gblctl: 0x1f

gblxctl: 0x1f

rxstat: 0x104    //not data detected

rx buf : 0x0   //always 0

What's wrong about the above setting?

Any help is welcomed.

Thanks.

zcliang