cancel
Showing results for 
Search instead for 
Did you mean: 

How to configure I2C_TIMINGR for STM32L073RZT6?

Mohsin
Associate II

Timing.pngI2C_TIMINGR is configured for I2C bus speed of 400kHz. Is his configuration correct?

 

  • PRESC[3:0] = 0010 (PRESC = 2)
  • SCLDEL[3:0] = 0001 (SCLDEL = 1)
  • SDADEL[3:0] = 0001 (SDADEL = 1)
  • SCLL[7:0] = 00001010 (SCLL = 10)
  • SCLH[7:0] = 00001010 (SCLH = 10)

Is it correct or not?

1 ACCEPTED SOLUTION

Accepted Solutions

https://community.st.com/t5/forums/searchpage/tab/message?advanced=false&allow_punctuation=false&q=%20I2C_TIMINGR

 

A complex system that works is invariably found to have evolved from a simple system that worked.
A complex system designed from scratch never works and cannot be patched up to make it work.

View solution in original post

1 REPLY 1

https://community.st.com/t5/forums/searchpage/tab/message?advanced=false&allow_punctuation=false&q=%20I2C_TIMINGR

 

A complex system that works is invariably found to have evolved from a simple system that worked.
A complex system designed from scratch never works and cannot be patched up to make it work.