2022-05-19 07:43 AM
2022-05-19 10:22 AM
I2C Master and Slave implementations should be viable on the STM32F1 series parts.
There should be working examples under CubeF1, and perhaps CubeMX can manifest code.
The F1 is the oldest and least flexible of the STM32 families, certainly in usable pins and maturity in the peripheral design.
I2C Slaves should be possible, but likely to be non-trivial.
I2C peripheral on STM32F1 is a bit quirky, as I recall, so pins need to be high, and the order sequence of pins, peripheral, enable gets to be critical. On the master side, with SPL, I recall the Cmd Enable needed to be done prior to the main initialization.
2022-05-19 10:22 AM
I2C Master and Slave implementations should be viable on the STM32F1 series parts.
There should be working examples under CubeF1, and perhaps CubeMX can manifest code.
The F1 is the oldest and least flexible of the STM32 families, certainly in usable pins and maturity in the peripheral design.
I2C Slaves should be possible, but likely to be non-trivial.
I2C peripheral on STM32F1 is a bit quirky, as I recall, so pins need to be high, and the order sequence of pins, peripheral, enable gets to be critical. On the master side, with SPL, I recall the Cmd Enable needed to be done prior to the main initialization.
2022-05-19 01:01 PM
@Community member thank you so much for the suppor.