-
Notifications
You must be signed in to change notification settings - Fork 3
Closed
Description
Regardless of “frequency” setting, actual I2C frequency is always about 155 KHz.
i.e.. these all yield the same throughput:
i2c = I2C(2, frequency=100000) # Extended bus on 22, 23 "
i2c = I2C(2, frequency=400000) # Extended bus on 22, 23 "
i2c = I2C(2, frequency=1000000) # Extended bus on 22, 23 "
Test system is Raspberry Pi 3 B+, configured with two extra I2C buses in /boot/config.txt:
dtoverlay=i2c-gpio,bus=2,i2c_gpio_sda=22,i2c_gpio_scl=23
dtoverlay=i2c-gpio,bus=3,i2c_gpio_sda=17,i2c_gpio_scl=27
Happens on both buses.
Not sure if this belongs here or is an underlying busio issue.
Extra peculiar that it’s a somewhat non-standard-ish 155 KHz, not defaulting to an Arduino-like 100 KHz.
Metadata
Metadata
Assignees
Labels
No labels