lpcware

UDA1380 I2S - registers coniguration

Discussion created by lpcware Employee on Jun 15, 2016
Latest reply on Jun 15, 2016 by lpcware
Content originally posted in LPCWare by paavo91 on Wed Nov 26 04:09:25 MST 2014
Hi everyone!

I have lpc4088 and UDA1380 codec and want to initiate some audio. Could anyone tell me which registers I need to set to transfer audio from line-in to MCU and put it back do headphones out? I tried to run example from lpc-open but it doesn't work.

I changed pin configuration for I2C and I2S in board_sysinit.c to correct pins and nothing works.

It only works if I set EN_AVC bit in UDA1380 but I thinks it is only audio mixer and it connect input with output so I can hear sound.

I need to know which registers have to be set to run everything correctly. Then I start look for problems with my I2S config in LPC4088.

Thanks in advance!
P

Original Attachment has been moved to: uda1380.c.zip

Original Attachment has been moved to: i2s.c.zip

Original Attachment has been moved to: uda1380.h.zip

Outcomes