You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
is there a way to drive the CS_Pin manually, because I have used a little quirk because of lack of pins.
My CS-Pin driven low, drives TFT-CS low and SD-CS high, and if CS-Pin driven high exactly the other ways around.
Thanks in advance
The text was updated successfully, but these errors were encountered:
Thanks! I have an ESP32 and connected is an Adafruit 3.5 TFT w/ capacitive touch w/ onboard SD slot.
I already use multiple port expanders for other purposes, so my solution uses a little single gate inverter (NOT-Gate) to select the lcd if the pin is low, and select the SD if high.
I will try to define my own functions and will come back if it works.
my solution uses a little single gate inverter (NOT-Gate) to select the lcd if the pin is low, and select the SD if high.
It won't work. CS needs to be toggled in many places in the SD driver and is not just low when the driver is active. CS must not go low at random times since this may change the state of the SD.
It may sort of work but you will see instability.
SPI mode for SD cards barely works since the cards are designed for SD mode which is a very different protocol.
Here is one of the strange requirements for SPI on SD cards. It assumes no other device is active even though CS is high.
Hi,
is there a way to drive the CS_Pin manually, because I have used a little quirk because of lack of pins.
My CS-Pin driven low, drives TFT-CS low and SD-CS high, and if CS-Pin driven high exactly the other ways around.
Thanks in advance
The text was updated successfully, but these errors were encountered: