AnsweredAssumed Answered

Connection and setup of 4-wire I2S on LPC4337?

Question asked by Sigurd Möller on Dec 16, 2016
Latest reply on Jan 23, 2017 by Sigurd Möller

As the title states, I need to connect a stereo CODEC in a 4-wire configuration. Mostly I see the UDA1380 CODEC being used but since this is obsolete I am going for the NAU8822LYG. This CODEC has 5 I2S pins:

MCLK (Master Clock)

BCLK (bit/data clock)
FS (Frame Sync / Word Select)

DACIN (Data In)

and

ADCOUT (Data Out)

 

(for now I have done the following:

I2S0_TX_MCLK -> MCLK

I2S0_TX_SCK -> BCLK

I2S0_TX_WS -> FS

I2S0_TX_SDA -> DACIN

I2S0RXSDA -> ADCOUT)

 

How would I connect this to the LPC4337? Furthermore, does anyone have example code to make this work? the UM10503 manual makes no sense to be how how go about this task. When they talk about the 4-wire setups I can not tell how I actualyl connect this to my CODEC. 

Thanks in advance

Outcomes