2022-04-06 06:38 AM
Let's assume we have a software that uses FDCAN Classic and I2C with multiple slaves.
FDCAN Priority = 1
I2C Priority = 2
During the transmission / Receiving process, the I2C is locked : __HAL_LOCK(hi2c);
If an FDCAN interruption arrives during the I2C process, does the I2C get interrupted or does it wait until the I2C process get unlocked ?
Solved! Go to Solution.
2022-04-06 07:01 AM
I2C gets interrupted. Because NVIC normally is set up to allow nested interrupts.
2022-04-06 07:01 AM
I2C gets interrupted. Because NVIC normally is set up to allow nested interrupts.
2022-04-06 07:14 AM
Thanks Pavel