cancel
Showing results for 
Search instead for 
Did you mean: 

USB FS and I2C clock conflict

kqian
Associate II
Posted on June 19, 2015 at 15:18

I am using F429 in my project. The USB FS is required 168Mhz clocking, but the I2C need 180MHz in order to use 400khz speed. When I set the clocking to 168MHz and set the I2C speed to 100khz, the I2C always stop after a short running.

Anyone has the idea how can I solve the conflict issue?

Thanks
2 REPLIES 2
Posted on June 19, 2015 at 15:27

It doesn't have to run at 400 KHz, most I2C parts should be able to run from just above DC to 400 KHz. That you have to run at 374 KHz won't make the part fail. It should work fine at 100 KHz, so look deeper in to what's actually going on with the bus, and the part.

Last time I looked at the I2C peripheral you could play games with the duty cycle, and either 50/50 or 16/9 (25 clocks)

Tips, buy me a coffee, or three.. PayPal Venmo Up vote any posts that you find helpful, it shows what's working..
kqian
Associate II
Posted on June 19, 2015 at 16:42

The I2C chips is STMPE1600QTR which is used to expand some DIO. I think the 168MHz should be work since the datasheet says it support up to 400kHz.  With 168Mhz, if I just read DI, it looks work well, but if I write DO, the bus always get crash. the SCL signal is gong after crash.

Any idea what's happen?

Thanks a lot