Skip to main content
Explorer
June 26, 2024
Solved

How to configure I2C_TIMINGR for STM32L073RZT6?

  • June 26, 2024
  • 1 reply
  • 1090 views

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.