SAI3 handler in SDK

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

SAI3 handler in SDK

991 次查看
giuseppescarpi
Contributor III

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

标记 (3)
0 项奖励
回复
1 回复

839 次查看
art
NXP Employee
NXP Employee

Dear Giuseppe Scarpi,

Thank you for sharing your insight. Will ask the software team to fix it.


Have a great day,
Artur

0 项奖励
回复