Skip to content

fix(thinknode_m6): Free the I2C bus before probing the RTC - #3926

Open
obook wants to merge 1 commit into
meshcore-dev:devfrom
obook:m6-i2c-bus-recovery
Open

obook wants to merge 1 commit into
meshcore-dev:devfrom
obook:m6-i2c-bus-recovery

Conversation

@obook

@obook obook commented Nov 23, 2026

Copy link
Copy Markdown

A reset during an RTC read can leave the RTC holding SDA low. The next boot then hangs on the RTC probe, and pressing reset does not help because it does not reset the RTC.

This clocks SCL up to nine times before Wire.begin() so the RTC releases the bus. Tested on an M6 stuck this way: the debug log showed SDA=0 at boot, and the board now boots.

Thanks

A reset during an RTC read left SDA held low, and the RTC probe then
hung every boot. Up to nine clock pulses release the bus.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant