after LPI2C_MasterTransferNonBlocking , program jump __aeabi_assert

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

after LPI2C_MasterTransferNonBlocking , program jump __aeabi_assert

745 Views
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.

Labels (1)
Tags (1)
0 Kudos
2 Replies

735 Views
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 Kudos

727 Views
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 Kudos