after LPI2C_MasterTransferNonBlocking , program jump __aeabi_assert

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

after LPI2C_MasterTransferNonBlocking , program jump __aeabi_assert

751件の閲覧回数
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 返答(返信)

741件の閲覧回数
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 件の賞賛

733件の閲覧回数
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 件の賞賛