Passific / m5paper_esphome

Repository for ESPHOME components for m5paper
27 stars 3 forks source link

GT911 does not initialize when M5Paper not connected to USB #2

Open Passific opened 5 months ago

Passific commented 5 months ago

GT911 fails to initialize when M5Paper not boot with USB power. Maybe due to powering sequence difference, or powerlevels...

From the original code from M5Stack, touchscreen takes some time to init. (linked?)

Tried to fix with M5PaperComponent setup order as BUS, but still not stable.

Passific commented 5 months ago

Setting setup_priority to late setup does not help.

touchscreen:
  - platform: gt911
    setup_priority: -100

Switching to esp-idf framework neither.