I don't know how to use CS42L52 to play voice or record , I don't fand boed's demo ,so I meet the problem very serious. can you provide a demo to how configurate the CS42L52 ? thank you very much
I guess you'd start by understand the part from it's documentation, and connectivity to the board, and the audio formats you are attempting to play.
Related, but not 100% on point. www.mind-dump.net/configuring-the-stm32f4-discovery-for-audio
the problem for me ,that I must use CS42L52 AIN3A/AIN3B MIC/line in ,because I want make a IP phine,so I have to configure cs42l52 register. But I find much Software ,them don't use MIC I try to configure cs42l52 register hope to receive data,but I find whatever I use MIC or not ,the AIN3A/AIN3B pin also receive data,so I think I must configure wrong,now I realy not know how to do.
this I configure cs42l52 register for AIN3A/AIN3B
//power down Codec_WriteRegister(0x02, 1);
//The clock Codec_WriteRegister(0x05, 0x81); //slave Codec_WriteRegister(0x06, 0x2C);
//ADC choose Codec_WriteRegister(0x08,0x40); Codec_WriteRegister(0x09,0x40);
//ADC volume Codec_WriteRegister(0x16, 0x7F); Codec_WriteRegister(0x17, 0x7F);
//power on Codec_WriteRegister(0x02, 0x18); Codec_WriteRegister(0x03, 0x01);