A fix has been submitted. See https://github.com/m5stack/M5GFX/commit/66df6c5f44d5867550d902923bf04ad6338d57cf
W
Posts made by wdehoog
-
RE: M5Paper unusableposted in General
-
RE: M5Paper unusableposted in General
Hi,
In my application the m5paper goes to deep sleep and should wake after 5 minutes. Sometimes it appears to hang at startup and I also get a series of these messages:
[W][Panel_IT8951.cpp:258] _wait_busy(): [Panel_IT8951] wait_busy: timeoutAs @felmu suggested it can be a pullup issue.
In M5GFX.cpp the busy pin is configured with:
lgfx::pinMode(GPIO_NUM_27, lgfx::pin_mode_t::input_pullup); // M5Paper EPD busy pinHowever in Panel_IT8951.cpp (Panel_IT8951::init(bool use_reset)) the busy pin is configured with
pinMode(_cfg.pin_busy, pin_mode_t::input);So it looks like the pin is incorrectly reconfigured and the required pullup is missing.
Now how can I override this behaviour in my application without having to modify the M5GFX.cpp file?
(I am using the Arduino IDE with M5GFX 0.2.17 and M5Unified 0.2.11.)
regards,
Willem-Jan