2017-07-03 04:26 AM
Hi,
I use from stm32f103c8t6.
I haven't problem with i2c1 in this micro but at frequencies above 8mhz , i2c1 does not work.
While the i2c2 has no problems at all system frequencies.
I want use usb-cdc ,
for this reason I can not set the system frequency to 8mhz.
I set the system clock in the following ways , but i2c1 does not work!
What do you think the problem is?
pls help me if u can.
tnx!
2017-07-03 07:37 AM
>>
What do you think the problem is?
Perhaps an issue with the I2C1 settings or code?
>>
but i2c1 does not work!
Yes, so I don't know what that means. Take a look at the bus signals on a scope or analyzer, and confirm if those match the expectations of the attached devices. Check the address output, and ACK response from the device