Hello,
I have a thread that is reading sensor data over I2C. When I suspend it I cant access I2C from another thread that's reading another I2C device.
I tried isolating the I2C read function with mutex so only one device can access it at a time and when thread goes to sleep to release the mutex but it did not help.
Any ideas why?
Regards,