2024-09-13 11:14 PM
I was implementing i2c on the stm32f4 to read the as5600 magnetic encoder. Everything ran perfectly for a while, then the I2C got stuck, I check and see that after the start generate, sda transition when the scl still low. I checked many times and the same thing happened every time.
2024-09-14 01:20 AM
Where you see "wrong" signal?
For me it looks ok.
2024-09-14 03:45 AM
ah yes my bad,
right after generated start, the sda somehow changed before the scl.
2024-09-14 04:52 AM
Ok, this looks ... like an error. One clock pulse, then nothing...
1. What you doing there ? (command call ?)
2. Did you check for errors ? (state of I2S registers ?)
2024-10-08 08:08 AM
This is "start" only signal, is your code make I2C start without send package?
Maybe the delay too long, send package out your screen.