ArduinoCore-renesas icon indicating copy to clipboard operation
ArduinoCore-renesas copied to clipboard

Correct I2C Clock setting

Open MyselfAndJo opened this issue 2 years ago • 1 comments

The I2C clock setting should be changed, the settings used give a clock frequency of

Standard: 104 kHz Fast Mode: 560 kHz Fast Mode+: (not working at all)

Proposed settings:

Standard: 99 kHz Fast Mode: 390 kHz Fast Mode+: 930 kHz

MyselfAndJo avatar Sep 22 '23 08:09 MyselfAndJo

CLA assistant check
All committers have signed the CLA.

CLAassistant avatar Sep 22 '23 08:09 CLAassistant

I've made a quick round of measurements and the default values ar ok for me, so i'm closing this PR

UNOR4 Wire

  • I2C_MASTER_RATE_STANDARD 96kHz
  • I2C_MASTER_RATE_FAST 409kHz
  • I2C_MASTER_RATE_FASTPLUS not supported

C33 Wire1

  • I2C_MASTER_RATE_STANDARD 99kHz
  • I2C_MASTER_RATE_FAST 440kHz
  • I2C_MASTER_RATE_FASTPLUS 943kHz

pennam avatar Nov 28 '24 12:11 pennam