Disable MISO pin? #1391
Unanswered
caiser01
asked this question in
Q&A - General
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.
-
I have a design that does not require the MISO pin for the SPI bus. I'm using a Raspberry Pi style ILI9486 (RPI_ILI9486_DRIVER) display and I'm not using the touch controller at all, so I have no need to read data over the SPI bus.
Is there a way to completely disable the MISO pin of the SPI bus?
Originally, I just did not have a pin number defined for it but I discovered in that case TFT_eSPI automatically uses the default pin IO19, which I'm using for another function. I tried defining MISO as -1 but it just defaulted back to IO19. I finally ended up defining MISO as IO0 to prevent TFT_eSPI from seizing IO19 but IO0 is literally the last free pin I have in my design. It seems a bit silly to have to use it as placeholder for MISO.
If there's no easy way around this, I understand but it would be nice to have the option to disable the MISO pin when you have no use for it.
Has anyone else ever run into this?
Beta Was this translation helpful? Give feedback.
All reactions