hard20 pts · first answer countsmicrocontrollersinterruptsi2c
Timeouts fail in HAL callbacks
An STM32 HAL I2C call with a 100 ms timeout is made from inside a UART receive callback (an ISR). If the I2C device does not answer, the system hangs forever. Why?
Discussion 0
Join free to post in the discussion.
Related questions
- Why use volatileEmbedded Systems Engineer
- Keeping ISRs shortEmbedded Systems Engineer
- Why I2C needs pull-upsEmbedded Systems Engineer
- The interrupt vector tableEmbedded Systems Engineer
- I2C lines sitting at 0 VEmbedded Systems Engineer
- Doing heavy work in an ISREmbedded Systems Engineer
- printf inside an interruptEmbedded Systems Engineer
- What an open-drain output can doEmbedded Systems Engineer