In reference manual, chapter 1
SAI1 supports to up to 8 I2S/TDM Tx lanes and 8 I2S/TDM Rx lanes at 768kHz/32-
bit
But we use such configuration in M7 part, refer to the sample code in /evkmimx8mp/driver_examples/sai/sdma_record_playback
Test result: The data not received correctly at all.
Test result: FIFO full error is thrown.
Dear NXP supporters, could you help to give an introduction of how to configure this to avoid the error ?
Solved! Go to Solution.
Hi Sanket,
Thanks for concern this issue.
Good news is that we resolve this problem.
patch is attached.
by the way, we are using imx8mp_evk.
Hello @Chengting ,
I hope you are doing well.
->Please kindly provide the evk board name that you are using.
->Please kindly share more details on the issue and dmesg logs to debug the issue further.
Thanks & Regards,
Sanket Parekh
Hi Sanket,
Quite appreciate your attention.
->Please kindly provide the evk board name that you are using.
model = "NXP i.MX8MPlus EVK board"
->Please kindly share more details on the issue and dmesg logs to debug the issue further.
Actually we are using M7 core to do receive data from SAI1, the configuration as following:
sample rate = 768 Khz
wordwidth = 32bit
I2s mode , not TDM
Fifo not combined
8 channel :kSAI_Channel0Mask|kSAI_Channel1Mask|kSAI_Channel2Mask|kSAI_Channel3Mask|kSAI_Channel4Mask|kSAI_Channel6Mask|kSAI_Channel6Mask|kSAI_Channel7Mask
dmesg is in attachment. AS we are using M7 to receive data from SAI1, just dmesg just for reference.
using 8 channel:
Hi Sanket ,
Thank you very much for your concern.
I have checked all your point. Now we are trying to test sai in SDMA mode, if new further information, i will report.
Yours,
Chengting.
Hello @Chengting ,
I hope you are doing well.
I'm happy to help.
Please do let me know if you got any updates from your side.
Thanks & Regards,
Sanket Parekh
Hello @Chengting
I hope you are doing well.
Any updates from your side?
Thanks & Regards,
Sanket Parekh