after LPI2C_MasterTransferNonBlocking , program jump __aeabi_assert

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

after LPI2C_MasterTransferNonBlocking , program jump __aeabi_assert

948 次查看
rs__zen
Contributor I

Hi.

I am facing a problem where the program jumps to an assertion.

After I2c Read or Write (using LPI2C_MasterTransferNonBlocking) in my main function while loop, program jumps __aeabi_assert function.

My I2c code is works fine at before the loop function.

The while loop function is running at about 10Hz, so no I2C function is being called at very high speed.

Is there any solution to this?

 

Thank you.

标签 (1)
标记 (1)
0 项奖励
回复
2 回复数

938 次查看
rs__zen
Contributor I

Solve it myself

The cause was the rank of the interruption.

I used NVIC_SetPriority function, and it is to set the I2C interrupt priority correctly.

0 项奖励
回复

930 次查看
PabloAvalos
NXP TechSupport
NXP TechSupport

Hi @rs__zen 

 

Thank you so much for use our community.

 

I see that you already find the solution, so please if you have more questions, please let me know.

 

Thank you.
Best Regards.
Pablo Avalos.

0 项奖励
回复