Search found 3 matches

by favnec5
Thu Oct 14, 2021 7:24 am
Forum: ESP32 boards
Topic: LVGL and SD Card won't share SPI bus
Replies: 30
Views: 19303

Re: LVGL and SD Card won't share SPI bus

Hi Patrice, Before use lv_spi (just used to share the SPI Bus between screen and sdcard), you can try the sdcard.py driver with native machine.SPI without screen : import machine, sdcard, os sd = sdcard.SDCard(machine.SPI(1), machine.Pin(YOUR_SD_CARD_CS_PIN)) os.mount(sd, '/sd') print(os.listdir('/'...
by favnec5
Mon Oct 11, 2021 1:16 pm
Forum: ESP32 boards
Topic: LVGL and SD Card won't share SPI bus
Replies: 30
Views: 19303

Re: LVGL and SD Card won't share SPI bus

hello divekr,
on my device (with illi9341 screen), the half-duplex=true do not work with the SDCard addon on the bus (white screen).
But i don't see difference on the speed result with half-duplex=false.
best reguards,
Thomas
by favnec5
Mon Oct 04, 2021 1:50 pm
Forum: ESP32 boards
Topic: LVGL and SD Card won't share SPI bus
Replies: 30
Views: 19303

Re: LVGL and SD Card won't share SPI bus

Hello guys, I resolved this problem with buildin espidf functions on esp32 board and lv_micropython v1.15 Please see : https://github.com/favnec5/micropython-esp32-spi-sdcard-and-screen-driver/blob/main/README.md 1) init the SPI bus with ILI9XXX.py driver 2) use the "inside SPI" version of sdcard.py...