AnsweredAssumed Answered

K22F - I2S - SDK v2 - receiving problem

Question asked by Jasper Verschueren on Mar 18, 2016


Hi,

 

Since last week I'm trying to setup a I2S connection between the FRDM-K22F devel board and the SGTL5000 eval kit.

I'm new to this community and to KDS.

 

I have succeeded in sending data from the K22 to the codec but receiving is not working.

I'm using the functions of the SDK v2 but the documentation is very poor and I can't find topics in the community about it.

I'm using the interrupt mode and would like to update to the DMA mode when I get it working. The K22F is in slave mode while the SGTL5000 is the master.

 

Does anyone have DEMO code for this?

 

 

When I run my code (attached) I get FIFO errors but I don't now what to do with them.

Is the buffer that I declared used as FIFO?

Is it declared some where else?

Do I have to declare some FIFO sizes?

...

 

 

Thanks in advance!

 

Jasper

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

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

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

Outcomes