Skip to main content
Mohsin
Associate II
June 26, 2024
Solved

How to configure I2C_TIMINGR for STM32L073RZT6?

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?

This topic has been closed for replies.
Andrew Neil
Andrew NeilBest answer
Super User
June 26, 2024

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.

1 reply

Andrew Neil
Andrew NeilBest answer
Super User
June 26, 2024
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.