2023-04-11 11:06 PM
Can STM32G030 run simultanisly the two buildin i2c's cannels at the same time?
2023-04-12 06:56 PM
Of course it can, otherwise the chip would use an IO pin mux and time multiplex them with a single I2C peripheral. However some coding investment is needed to reach this level in bare metal. Interrupt based statemachine digesting a queue of i2c transactions.
As for 128 slave addressing per bus, you may be limited by bus total capacitancd and max bit rate, if trying to make an array of sensors for exemple. Each slave needs a unique address, and usually with limited selections.