Question
I2C communication in ISR
Hello everybody,
I would need to use the HAL_I2C_Master_Transmit function in an ISR, in particular I would like to use it in the HAL_ADC_ConvCpltCallback function.
I have seen that the HAL_I2C_Master_Transmit function calls HAL_GetTick() so I set the interrupt priority of Tima Base: Syste tick timer to a higher priority than all the others interrupts, but the HAL_ADC_ConvCpltCallback function stops when HAL_I2C_Master_Transmit is called.
Can anyone help me?
This is my NVIC configuration:

