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.

Linux: LM49352 : Loud Speaker doesn't work after power up and registers setting.

Tool/software: Linux

Hi,

We're using LM49352 as an audio codec. The project basic information list as bellows,

Linux Kernel -- 3.14.52

Audio formats -- PCM (slave)

NO MCLK,  use PORT1_CLK  (2.048MHz)

sampling frequency -- 8kHz

Register config:

{ 0x00, 0xa9} { 0x01, 0x01} { 0x10, 0x03} { 0x20, 0x10} { 0x21, 0x00}
{ 0x23, 0x0f} { 0x30, 0x11} { 0x31, 0x00} { 0x40, 0x00} { 0x41, 0x00}
{ 0x44, 0x09} { 0x50, 0x27} { 0x54, 0x1b} { 0x55, 0x02} { 0x56, 0x02}
{ 0x15, 0x0c} { 0x16, 0x0f}

I have read the registers and the values are the same as written. It's supposed that loud speaker should be working but actually no voice at all. As data sheet said on page 39, there should be two outputs (LS+ and LS-) switch at 300KHz from VDD to GND with a 50% duty cycle, with both outputs in phase. We don't get 300KHz square wave either. Can you explain this? How can we get the 300KHz square wave? It's related to hardware design or registers settings?

Thanks,