ΣSigmaStudio Ask AI Русский Log in

Using an external Audio Codec (cs42448) with ADAU1452

SigmaDSP & SigmaStudio fabi Dec 11, 2022 00:00 2 replies Original on forum ↗
Subscribe
fabi Question
Dec 11, 2022 00:00

Hello,
I'm in the process of building a 6ch output DSP. I have worked succesfully with the AUAD1701, but now i'm stuggeling to get an external Audio Codec working with ADAU1452.

I would be very glad if you could hock me up with some resources regarding the Serial Input/Output functions of the ADAU1452. For example configuration screenshots of the "serial_ports" "clock_control" and other important Settings Tabs, as well as a basic schematic to redirect an input to an output. Or just some tips on where to find some ducumentation regarding my problems.

Thank you in advance, best regards,
Fabian

Audio Signal Processors

adau1452

software

cs42448

sigmaStudio 4.7

i2s

SigmaDSP Audio Processors

serial_ports

audio codex

Show More

Harishgowtham Reply
Dec 12, 2022 00:00

Hello fabi,

I have attached a basic project and block diagram for your reference. I'm just considering that your system is running at 48KHz. So, I have set up everything for 48KHz and I also assume six stereos coming in and going out.

Serial port: In ADAU1452, there are four serial input ports and four serial output ports available. Each serial ports only allows a single stereo. So, for both input and output side we have to use 3 serial ports for 3 stereos - 6 channels.

It's better to use DSP as a master for BCLK and LRCLK for all the ports and DSP is also sending the master clock (MCLK) that is 12.288MHz. I have also mentioned the pin numbers in the block diagram. Please refer that.

You don't need to change anything in the clock register and serial ports page. Let it be as default as we required.

6_ch.dspproj

For the MCLK to the CODEC, here the DSP is putting out 12.288MHz in the CLKOUT pin that is 256*fs and also refer your codec datasheet for the incoming frequency needed and the PLL sections and other configs.

This is a basic overview if you want to know more about serial port clock slaving and running at other sample rates etc. then we will see further.

So kindly do reply if you have any queries or want more explanation on this.

Regards,

Harish

pastedimage1670839093134v1.png
pastedimage1670839093134v1.png
4540.MicrosoftTeams-image-(7).png
4540.MicrosoftTeams-image-(7).png
MicrosoftTeams-image-(3).png
MicrosoftTeams-image-(3).png
BartLuyckx Reply
Dec 16, 2023 00:00

Hi tried the program which was provided as solution to work with the adau1452 - CS42448 combo. The program can be download correctly by i dont get any output.

I dont know how I have to work with the debug function which is included