Is it possible to port to CYD with SPI ST7789 and a Ra-02 SX1278? #481
Replies: 2 comments 3 replies
-
Hi, The support for ILI9225/9341/9342/ST7789 is all based on SPI connections, so this should be fine. I just took a look at the CYD. The Display seems to be on HSPI and the SDCARD on VSPI. Usually the software assumes the SX1278 to be on the VSPI, so as long as you don't use the SD-Card this should be fine. In theory the SPI bus can be shared between devices (with different chip select pins).
|
Beta Was this translation helpful? Give feedback.
-
For the backlight you could use the "Power output control". Set it to 21 to pull it low, set it to 149 (21+128) to pull it high - I did not check what the display backlight needs... probably high? According to https://randomnerdtutorials.com/esp32-cheap-yellow-display-cyd-pinout-esp32-2432s028r/ SX1278: |
Beta Was this translation helpful? Give feedback.
-
Would it be possible to get the firmware to work with an SPI TFT based board?
https://github.com/witnessmenow/ESP32-Cheap-Yellow-Display/blob/main/DisplayConfig/CYD2USB/User_Setup.h
If i understand correctly it looks like it only supports i2c ST7789 under hardware configuration.
I know that the biggest issue would be to get the free SPI GPIOs to connect the SX1278 but I suppose the SD Card SPI could be cannibalized on hardware level. Iv'e flashed the firmware to the CYD and it starts up with the AP but of course the display doesn't work since I cannot set up the SPI pins for it.
Is there anything I could try?
Beta Was this translation helpful? Give feedback.
All reactions