Data disrupted when utilizing MicroPython Touch and SD Card Reader · Issue #15 · peterhinch/micropython-touch (original) (raw)

Skip to content

Provide feedback

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

@bianc104

Description

@bianc104

I've been writing an application for a Raspberry Pi Pico and connected Pico-ResTouch-LCD-2.8 which involves the use of a touchscreen GUI (using this library) and the SD card reader attached to the Pico-ResTouch-LCD-2.8 to manage files in an attached SD card. I encountered issues however where display actions would lead to the disruption of SD Card data, which I discovered was because by default the data is transferred through SPI connection, which can conflict with the pathways used by the touchscreen portion. While it is possible to switch the SD Card connection to an SDIO mode, this is a process that I'd rather avoid, if at all possible.

Is there a good/preferrable way to suspend graphics transmissions while I am running file I/O operations?