... Now writing about the 4 fixes I made ... 1️⃣ SPI Data Pins are flipped 2️⃣ SPI Phase should be 1 (though it behaves like 0) 3️⃣ Doing SPI Chip Select ourselves 4️⃣ Pin 0 switches on WiFi LED. Thanks for bearing with this long thread on @PINE64 🙏

lupyuen.github.io/articles/spi

Show thread

Nope HAL can't control Chip Select Pin by ... Because it has already configured the pin for SPI Port earlier ... Let's control the pin ourselves 👋

github.com/lupyuen/bl_iot_sdk/

Show thread

Sounds impossible... But 's Protocol (to flash and debug firmware) runs just fine on 's port... No need to bang out bits slowly and unreliably over GPIO! It's the reason why fans @PINE64 can debug firmware with today. Hmmm if only somebody had discovered this much earlier... 🤔 medium.com/@ly.lee/openocd-on-

Qoto Mastodon

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