▲ 0 r/embedded
Is HAL I2C Driver Code will work on RTOS Environment?
Actually what i want to know is, whether the HAL I2C Driver code will work reliable in Multitasking RTOS Environment (Even after adding the mutex to avoid simultaneous port access).
Will the I2C driver handle heavy task Switching, while updating crucial hardware registers. will it survive, and work reliable, without any issue? or do I need to make the i2c transaction as atomic, to avoid task switching happening at i2c mid transaction(start, address , write, stop )step??
Chip am using is STM32F4 series
u/Intelligent-Error212 — 18 hours ago