A related question is a question created from another question. When the related question is created, it will be automatically linked to the original question.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hey, Is it possible to use I2C, SPI and other drivers in HWI ISR? In my project, i am calling I2C transfer function in HWI ISR, but getting error as "I2C Bus fault". Tried to look into the I2C_transfer() function, but could not able to resolve the error.
No. Most of the driver APIs must be called from task context. Can you change your ISR to post a semaphore that a task is waiting on? Then then have the task do the I2C operation?