cancel
Showing results for 
Search instead for 
Did you mean: 

I2C Timing Configration

DK3
Associate II

Hi,

Please tell me about I2C timing configration.

I use Nucleo-L552ZE-Q.

I set up the I2C as shown in the picture following the reference manual(RM0438, Table 326).

The fi2cclk is 48MHz.

115840.jpg

 

But SCL cycle is very slow. 

115937.jpg

How can I set the SCL cycle to 1000 kHz ?

Best regards.

 

 

2 REPLIES 2
Techn
Senior III

Please review your clock configuration to ascertain that the peripheral clock is correct.  If the crystal is not oscillating, it may swich back to internal.

Techn_0-1733926335757.png

 

If you feel a post has answered your question, please click "Accept as Solution".
DK3
Associate II

Thank you for your reply.

I checked my clock configration.

I don't use external clock.

Please let me know if there is something that needs to be changed.

DK3_0-1734311035432.png

Best regards.