Hi, I'm using the hspi peripheral to write to an LCD - so I only need the SCK and MOSI pins on the spi peripheral (am using software SS).
I'm using the esp32-hal api : when I set the MISO pin set to -1, there is no compilation error, and no run-time error, but the spi transfers do not work. If I set the MISO pin to an unconnected i/o pin, no problem, the LCD display works fine.
But my problem is I am pin constrained on my real application - I don't have any spare unused pins that I can use for MISO.
So is this a software or hw issue ? Any workarounds ? From googling i see that even input only pins can't be used for MISO.
spi peripheral doesn't work if MISO pin set to -1
Re: spi peripheral doesn't work if MISO pin set to -1
I have the same question. Wonder if a solution was ever offered.
-
- Posts: 9757
- Joined: Thu Nov 26, 2015 4:08 am
Re: spi peripheral doesn't work if MISO pin set to -1
If any, I can't reproduce this... Just modified examples/peripherals/spi_master/lcd to have -1 for the MISO pin, also needed to turn off LCD autodetection, but with those changes the example still works.
Who is online
Users browsing this forum: No registered users and 24 guests