Multiple i2c-buses and HW-clock problem

Topics (not sure which fora)
when not sure where to post, post here and mods will move it to right forum.

Moderators: leecollings, remb0

Post Reply
ulfh2018
Posts: 65
Joined: Sunday 11 November 2018 9:01
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Oslo
Contact:

Multiple i2c-buses and HW-clock problem

Post by ulfh2018 »

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?
ulfh2018
Posts: 65
Joined: Sunday 11 November 2018 9:01
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Oslo
Contact:

Re: Multiple i2c-buses and HW-clock problem

Post by ulfh2018 »

Just an update.

Seems to work on version 4.19.97-v7+ but not on 4.19.118-v7+

Maybe I have to wait for an update of the kernel.
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests