Multiple i2c-buses and HW-clock problem
Posted: Tuesday 16 June 2020 9:06
I am trying to implement a system using multiple BME280 over i2c. I have no problem creating multiple i2c-buses, but when I try to implement a HW-clock using DS3231, system will not boot.
My config.txt has the following lines:
dtoverlay=i2c-gpio,bus=4,i2c_gpio_delay_us=1,i2c_gpio_sda=23,i2c_gpio_scl=24
dtoverlay=i2c-gpio,bus=3,i2c_gpio_delay_us=1,i2c_gpio_sda=17,i2c_gpio_scl=27
Information picked up from Instructables.
This creates two extra buses (I have two more lines, creating a total of 4 extra buses, but looks the same)
This works like a dream, I can a dream add i2c in Domoticz, picking up from my BME280 every 30 seconds, but when I try to add
dtoverlay=i2c-rtc,ds3231
System refuse to boot.
Anyone with a good idea, please?
My config.txt has the following lines:
dtoverlay=i2c-gpio,bus=4,i2c_gpio_delay_us=1,i2c_gpio_sda=23,i2c_gpio_scl=24
dtoverlay=i2c-gpio,bus=3,i2c_gpio_delay_us=1,i2c_gpio_sda=17,i2c_gpio_scl=27
Information picked up from Instructables.
This creates two extra buses (I have two more lines, creating a total of 4 extra buses, but looks the same)
This works like a dream, I can a dream add i2c in Domoticz, picking up from my BME280 every 30 seconds, but when I try to add
dtoverlay=i2c-rtc,ds3231
System refuse to boot.
Anyone with a good idea, please?