2023-02-07 06:05 AM
2023-02-07 07:46 AM
Hello @JMP.1 ,
You can refer to the I2C WIKI : Getting started with I2C - stm32mcu
Hope my answer helped you!
Foued
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2023-02-07 08:20 AM
I tried, using Timer and EXTI. It barely works at 200kHz if there is no other interrupt in the STM32.
So my piece of advice: Keep away from trying this.
2023-02-08 12:55 AM
thanks for your reply, this post is helpful when iam doing this i2c with hardware module support. i need to implement software i2c for slave
2023-02-08 12:56 AM
Could you please share that code, i can just try atleast
2023-03-01 06:36 AM
Hello @JMP.1 ,
Please check this link . It will help you to implement software I2C for slave.
Foued
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2023-03-01 08:34 AM
Well, you have been warned.. STM32F437 code extract. EXTI on both SDA and SCL, plus a slave state machine interrupt based to grasp the I2C bus bit events, and a spy which put in BV (SW fifo) all the I2C seen events as an ASCII String.
2023-03-01 08:34 AM
2023-03-01 08:35 AM
2023-03-01 08:35 AM