Skip to main content
Graduate
April 7, 2024
Solved

I2C Slave address

  • April 7, 2024
  • 1 reply
  • 1027 views

Hello everyone!

I am making a project with STM32F072 MCU and I have 3 devices that need to be controlled via I2C: a DAC, an ADC and a current monitor that has an ADC integrated. I've made the connections and part choices so that I have 3 different 7-bit addresses for them: 1001001, 1000000 and 1100000.

There is one question that I have: I don't understand from the datasheet if it supports 3 devices or just 2 on the same I2C1 Bus.... can someone clarify me if its possible, or I need the other I2C as well for 3rd device?

AlexB99_0-1712499662677.png

Can someone clarify if I need to use the 2nd I2C for my 3rd device or not?

 

Thanks

    This topic has been closed for replies.
    Best answer by Pavel A.

    If the STM32 is the master, it can support 3 devices, and much more, on each I2C controller. Given that all connected devices are compatible with the configured bitrate (400 Kbit/s or 100 Kbit/sec or "Fast").

    1 reply

    Pavel A.Answer
    Super User
    April 7, 2024

    If the STM32 is the master, it can support 3 devices, and much more, on each I2C controller. Given that all connected devices are compatible with the configured bitrate (400 Kbit/s or 100 Kbit/sec or "Fast").