Setting up lvgl_micropython on the Sunton ESP32 2432S024C 2.4" Capacitive touch LCD board #278
gitcnd
started this conversation in
Board Specific
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Below is how I got the screen and touch working on my Sunton ESP32 2432S024
Build:-
python3 make.py esp32 BOARD=ESP32_GENERIC BOARD_VARIANT=SPIRAM DISPLAY=ili9341 INDEV=cst820
Note: the cst820 driver is the cst816s driver with the chip_id changed from 0xB5 to 0xB7, but otherwise identical.
(Optional) backup your flash before overwriting it:
export PORT=/dev/ttyS6 esptool.py --port $PORT read_flash 0x0 0x400000 lcd_3.2inch_ESP32-2432S024C.bin
Flash:-
esptool.py --port $PORT write_flash 0x0 lvgl_micropy_ESP32_GENERIC-SPIRAM-4.bin
Upload a test:-
ampy --port $PORT put lvgl_test_2432S024C.py
Run it:-
mcu_serial.pl -port $PORT import lvgl_test_2432S024C
The test program:
cat lvgl_test_2432S024C.py
Screenshots:-
Beta Was this translation helpful? Give feedback.
All reactions