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