cancel
Showing results for 
Search instead for 
Did you mean: 

Hello, Can anyone please guide me with CMSIS-RTOS & I2C communication interface?

HDesa.1
Senior

I am using multiple devices which access I2C communication channel. Can anyone suggest me what should be the preferred method to avoid clashes between the devices.

The devices are placed across different RTOS tasks.

-Regards
Hrishikesh
2 REPLIES 2
KnarfB
Principal III

Implement a mutex protecting every I2C access.

hth

KnarfB

HDesa.1
Senior

Thank you for the suggestion.

As I am new to RTOS, could you please provide me some insight on Mutex and Binary Semaphores. Also will I need individual mutexes for each devices?

-Regards
Hrishikesh