I2S interface for TFA9882

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

I2S interface for TFA9882

1,138 Views
nsnmaniram
Contributor III

Hi, 

1.Can i use the fsl_sai.c and fsl_sai.h libraries for i2s communication?

2.The driver examples such as sai_edma_trafer uses a i2c protocol for read and write in place of i2s, can u please share any example where can i analyze the usage of i2s read and write calls communication?

3.using i2s protocol for communicating with the TFA9882 chipset from MIMXRT1052DVL6B, so can i know what should be the default configurations required to set , to make the TFA9882 in active state?

Thanks,

maniram  

Labels (1)
Tags (1)
0 Kudos
3 Replies

925 Views
jingpan
NXP TechSupport
NXP TechSupport

Hi,

1. yes, the fsl_sai.c is used for I2S communication.

2. I2C is used to read and write WM8960 control register, not for transfer voice data. The example use I2S to transfer voice data.

3. There isn't TFA9882 demo. But you can see some questions in community.

No Audio on KL17 with TFA9882.   

https://community.nxp.com/message/1025782?commentID=1025782#comment-1025782 

Regards,

Jing

925 Views
nsnmaniram
Contributor III

Hi,

Thank you for the reply, can u also please clarify on how to probe the lines wsl,DATA,bit clock lines which are been connected to TFA98xx chip and also how can i check the same lines on TFA9882 chipset? 

Thanks,

maniram

0 Kudos

925 Views
nsnmaniram
Contributor III

hi,

There is a small correction in the above questions,

1. i want to use FLEXIO for configuring the i2s to communicate with TFA9882, so can i know what are the configurations to be done for configuring the FLEXIO as i2s?

2. is there any way that can i use directly an i2s communicating with TFA9882 chip?

3.if possible, can u please the driver for IMXRT1052DVL6B where i can change the driver according to my requirements?

Thanks,

maniram

0 Kudos