Skip to main content
Graduate II
July 14, 2022
Question

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

  • July 14, 2022
  • 2 replies
  • 830 views

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

    Super User
    July 14, 2022

    Implement a mutex protecting every I2C access.

    hth

    KnarfB

    HDesa.1Author
    Graduate II
    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?