<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Tab5: Arduino configTime and configTzTime return the wrong date and time (way off)]]></title><description><![CDATA[<p dir="auto">The configTime() or configTzTime() functions do not return errors but the returned date and time are way off: up to 2 days in the future and totally wrong time too.</p>
<p dir="auto">The esp32 code shown in <a href="https://www.makerguides.com/how-to-synchronize-esp32-clock-with-sntp-server/" target="_blank" rel="noopener noreferrer nofollow ugc">this makernote</a> works without fail on the same Tab5 device.</p>
<p dir="auto">my platformio.ini:</p>
<pre><code>[env:esp32p4_pioarduino]
platform = https://github.com/pioarduino/platform-espressif32.git#54.03.21
upload_speed = 1500000
monitor_speed = 115200
build_type = debug
framework = arduino
board = esp32-p4-evboard
board_build.mcu = esp32p4
board_build.flash_mode = qio
board_build.partitions = default_16MB.csv
board_build.filesystem = spiffs
build_flags = 
	-DBOARD_HAS_PSRAM
	-DCORE_DEBUG_LEVEL=5
	-DARDUINO_USB_CDC_ON_BOOT=1
	-DARDUINO_USB_MODE=1
lib_deps = 
	https://github.com/M5Stack/M5Unified.git
	https://github.com/M5Stack/M5GFX.git

</code></pre>
<p dir="auto">Other Arduino stuff is broken too: after wakeup from lightsleep the display does not work properly half of the time: the cursor position is sometimes totally off, or sometimes it does not wake at all. I suppose the display needs a hardware reset via a GPIO, but can't find any mention of this in the docs.</p>
<p dir="auto">But the hardware is very nice indeed. Especially the undocumented coin battery backup for the RTC is a nice surprise!</p>
]]></description><link>https://community.m5stack.com/topic/7900/tab5-arduino-configtime-and-configtztime-return-the-wrong-date-and-time-way-off</link><generator>RSS for Node</generator><lastBuildDate>Wed, 29 Apr 2026 06:30:07 GMT</lastBuildDate><atom:link href="https://community.m5stack.com/topic/7900.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 19 Nov 2025 13:42:50 GMT</pubDate><ttl>60</ttl></channel></rss>