reading I2S data on imx28 ?

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

reading I2S data on imx28 ?

1,013 Views
yongkimin
Contributor III

Hi, I'm trying solve the problem below.

https://community.freescale.com/message/383950?et=watches.email.thread#383950

My board start the I2S signal something but the read data is not I expected.

But the problem is solved the frzen after reading some I2S data.

I solved that I changed the buffer size to between 1K and 2K.

Still the signal is not differ my expectation. I keep going.

Thanks.

Labels (1)
0 Kudos
Reply
2 Replies

818 Views
jamesbone
NXP TechSupport
NXP TechSupport

SO basically your problem it is now solve changing the buffer sizes right?

0 Kudos
Reply

818 Views
yongkimin
Contributor III

To Dear jamesbone

I solved my problem!

First the frozen of my SW is come from too many debug log (device driver log + my application log) so sometimes under-run occur.

So I did reduce log and I display just need log, after this reduce the log the under-run was disapper.

But I recommend the buffer size not small. The buffer size is will differ your platform.

The opposite I2S is send 32 bit signal each, total 64 fs master signal (include valid 16 bit signal on 20 bit signal).

But my settings is 16 bit slave signal, this make conflict my I2S sound.

I solved the chage the setting to 20 bit.

Thanks.

0 Kudos
Reply