Replies: 4 comments 1 reply
-
|
Please can you try the beta, some changes were made to the clock. |
Beta Was this translation helpful? Give feedback.
-
|
This looks like an NTP sync issue on the M5Stack Core2. The The Things to try:
This seems like it could be a Core2-specific regression since the Core2 has a different RTC chip (BM8563) than the M5StickC. |
Beta Was this translation helpful? Give feedback.
-
|
This looks like an NTP sync issue on the M5Stack Core2. The The Things to try:
This seems like it could be a Core2-specific regression since the Core2 has a different RTC chip (BM8563) than the M5StickC. |
Beta Was this translation helpful? Give feedback.
-
|
This looks like an I2C bus conflict on the M5Stack Core2. The Root CauseThe M5Stack Core2 has multiple devices on the same I2C bus:
When Bruce accesses the I2C bus for other operations (power management, touch input, etc.), it can collide with the RTC read, causing The value Workarounds1. Update to Latest Bruce VersionBruce v1.14+ has improved I2C bus management with mutex locks. If you're on v1.13, update:
2. Use NTP Sync as FallbackSince you already have WiFi connected, the NTP time should periodically resync. If the clock corrupts but then recovers after a few seconds, the NTP sync is overriding the bad RTC data. 3. Hardware CheckIf this happens consistently even on latest firmware:
Is Your Core2 Broken?Almost certainly not. The This is a known quirk of the ESP32's I2C implementation when multiple peripherals share the bus -- the arduino-esp32 core's I2C driver (esp32-hal-i2c-ng) can throw this error during concurrent access. TL;DR: Update to latest Bruce firmware. Not a hardware issue. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I'm just getting started with Bruce and I'm hoping to get some help with an issue I'm seeing.
I've installed Bruce v1.13 on an M5Stack Core2. I navigate to WiFi and connect to my WiFi, and then I navigate to Config > Clock > NTP Timezone and select my timezone.
The display goes to the Clock display which displays the correct time, but after a few seconds it jumps to 45:85:85.
The following text is logged in the serial console. The
ESP_ERR_INVALID_STATEerror is logged at the exact moment the clock display jumps to an invalid time:Is this a bug? Or is there something wrong with my Core2?
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions