Follow

Apache RTOS, ST7789 Driver and LVGL Library all run OK on Stack @PINE64 ! 🎉 Let's talk about the SPI Tweaks we made...

github.com/lupyuen/pinedio-sta

SPI Bus on Stack is wired to 3 devices: 1️⃣ ST7789 Display 2️⃣ LoRa SX1262 3️⃣ SPI Flash ... Each with its own Chip Select Pin ... Let's tweak RTOS to support this

github.com/lupyuen/pinedio-sta

We create an SPI Device Table in that defines each device wired to the SPI Bus ... NuttX SPI Driver will use this table to control the SPI Bus

github.com/lupyuen/pinedio-sta

ST7789 Display is wired "backwards" on Stack ... We fix this by swapping the MISO / MOSI Pins in the SPI Driver

github.com/lupyuen/pinedio-sta

RTOS uses MISO as the ST7789 Data / Command Pin ... But ST7789 is wired "backwards" on Stack ! We use MOSI as the ST7789 Data / Command Pin instead

github.com/lupyuen/pinedio-sta

@lupyuen @PINE64 Yea... I'm always more of the belief these kind of devices need to be super minimal when it comes to aesthetics.
Sign in to participate in the conversation
Qoto Mastodon

QOTO: Question Others to Teach Ourselves
An inclusive, Academic Freedom, instance
All cultures welcome.
Hate speech and harassment strictly forbidden.