AnsweredAssumed Answered

SAI3 handler in SDK

Question asked by Giuseppe Scarpi on Jul 20, 2018
Latest reply on Jul 31, 2018 by Artur Petukhov

We are currently working on a custom board that uses all the three audio serials.

To do some tests, I downloaded and successfully modified the sai_interrupt_record_playback example from the SDK, but I was unable to get the same results with SAI3.

 

After some debugging, I discovered that the problem was in the SDK, specifically in startup_mimxrt1052.c

Around line 1042 the code reads:

 

WEAK void SAI3_TX_IRQHandler(void)
{
     SAI3_TX_DriverIRQHandler();
}

But the function in fsl_sai.c is in fact named:

   SAI3_Tx_DriverIRQHandler();

The same typo is also present in the RX handler.

SDK is version 2.4.1

Outcomes