Skip to main content
HDesa.1
Associate III
July 14, 2022
Question

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

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.

This topic has been closed for replies.

2 replies

KnarfB
Super User
July 14, 2022

Implement a mutex protecting every I2C access.

hth

KnarfB

HDesa.1
HDesa.1Author
Associate III
July 15, 2022

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?

-RegardsHrishikesh