Hello,
I want to use the Read and Write functions with SAI1 in slave mode and the Write function with SAI2 in master mode using DMA on the imxrt1171. For this, I have made the following configurations:
Here are a few problems I'm facing:
Solved! Go to Solution.
Hi @BrK_,
Thank you for your interest in the NXP MIMXRT product, I would like to provide service for you.
1: If you want to set SAI1 to slave mode, s_saiConfig.masterSlave should set as kSAI_Slave.
1: You can refer to the SDK demo examples “evkbmimxrt1170_sai_edma_ping_pong_buffer_cm7”and modify the corresponding configuration to verify SAI2
bitClockFreq = sampleRate * bitWidth * channelNumbers
You can use an tool to test whether the clock is correct.
Best Regards
mayliu
Hi @BrK_,
Thank you for your interest in the NXP MIMXRT product, I would like to provide service for you.
1: If you want to set SAI1 to slave mode, s_saiConfig.masterSlave should set as kSAI_Slave.
1: You can refer to the SDK demo examples “evkbmimxrt1170_sai_edma_ping_pong_buffer_cm7”and modify the corresponding configuration to verify SAI2
bitClockFreq = sampleRate * bitWidth * channelNumbers
You can use an tool to test whether the clock is correct.
Best Regards
mayliu