cancel
Showing results for 
Search instead for 
Did you mean: 

the I2c of STM32F100C8T6B don't work

amr
Associate
Posted on November 11, 2013 at 11:07

we are trying to make a communication between the Mc and the Accelerometer

I see that the clock and data don't work right 

as on the scope I see the data and clock transitions are making together in the same time while the data must be settled before the rise edge of the clock 

attached image from the scope to the signal 

also I tried to make I22 using bit banging but the rise time and fall time of the port is 20Micro second which is exceed the max rise and fall time 

how to make this time less than 300 nano second 
1 REPLY 1
zzdz2
Associate II
Posted on November 12, 2013 at 17:29

The attached image looks ok to me but there is no acknowledge from the slave.

Maybe you use wrong address or maybe the slave doesn't support write operation.