Skip to main content
KHans.4
Visitor II
June 13, 2024
Question

STM32 as Slave on te I2C long-term reliability + example

I am thinking of maybe STM32G0B1CB as Slave on I2C.

More precisely. For example, STM32 would monitor the voltage on 8 lines (ADC), on I2C each line would be presented with 3 registers, Low Voltage High Voltage as writing and Actual Voltage as reading. The function is clear if the voltage reaches between the set limit set IRQ and be able to send data to the I2C Master.
Nothing complicated, according to my basic I2C slave behavior.
My questions.

1. Is it possible to find an example for an I2C slave?

2. What is the reliability of such a solution compared to a HW solution, for example, if an ADC, for example AD1115, was used instead of STM32 on the same I2C?

Thanks

This topic has been closed for replies.

1 reply

Douglas MILLER
ST Employee
June 14, 2024

This post has been escalated to the ST Online Support Team for additional assistance.