Hello my friends. I have 2 questions to ask. Do you know if STM32F103C8T6 can be used as slave mode? what if the STM32F103C8T6 has any I2C issues when used in slave mode? Thank you in advance for your attention.
..
..
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.
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.