Show newer

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

Thankfully SPI HAL lets us use GPIO to control the Chip Select Pin ... But we have already configured the pin for SPI Function ... Will this conflict with the GPIO Function? 🤔

github.com/lupyuen/bl_iot_sdk/

Show thread

LA2016 Logic Analyser comes in this beautiful inspirational box ... "Embedded Development Kit: Innovative concept, win-win cooperation"

Show thread

Let's try 2 SPI Transfers instead of 1 ... First SPI Transfer transmits Register ID ... Second SPI Transfer receives the result from BME280

github.com/lupyuen/bl_iot_sdk/

Show thread

@ThePine64 connected to BME280 and LA2016 Logic Analyser ... Let's sniff the SPI Bus and find out what's wrong!

Show thread
Show older
Qoto Mastodon

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