Follow

Yep PineDio Stack has + WiFi SoC onboard ... Plus SX1262! How would you use this? Lemme know! 🙏

pine64.org/2021/08/15/introduc

Normally we talk to SPI Display in 4-Wire (8-bit) Mode ... But today we do 3-Wire (9-bit) Mode ... With a sneaky packing hack

rhydolabz.com/documents/33/ST7

Show thread

Let's connect a Logic Analyser to Stack ... And troubleshoot the SPI connection to ST7789 Display

Show thread

doesn't seem to be transmitting anything to ST7789 on SPI MOSI (GPIO 17) ... Let's try a different pin for MOSI

Show thread

Yep MOSI works if we switch to GPIO 4 ... So what's wrong with GPIO 17? 🤔

Show thread

GPIO 4 works as MOSI but not GPIO 17 ... What if we connect GPIO 4 to 17? Nope still nothing on the Stack ST7789 Display 🤔

Show thread

Yep MISO and MOSI are now swapped! This matches the SPI Pin Definitions in Reference Manual ... So from now on we'll always call GLB_Swap_SPI_0_MOSI_With_MISO

github.com/lupyuen/bl_iot_sdk/

Show thread
Show more

@lupyuen

I would really love a longer range, #FOSS alternative to #Tile / #Trackr, even if it doesn't have the pinpoint on a map feature. Just the part that lets you see if you're getting closer on your phone and push a button (on the phone) to get it to make a sound.

The problem with Tile / Trackr is that they force all kinds of location tracking to be sent back to #Google/their manufacturers by demanding location always be on, when I just want to find my keys when I need them.

@Blort @lupyuen there's an Android app called Finder which is FOSS and can find phone location. It needs the phone lost is on and has network service, then it detects pre-configured sms then it can make sounds or report location and such

@Xeo_ko @lupyuen

Thanks for the heads up. Yeah, I'd seen finder, although there are a couple of problems: 1. It hasn't been updated for almost a year. Not sure, but it's looking like development may be dead. 2. This helps find a phone. What I'm looking for is something that can let me find my keys, using a phone. This needs small hardware. Hardware which sadly, only seems to exist in the form of proprietary hardware linked to surveillance software.

That's why I suggested this usecase.

Debugging SPI on BL604 for the @thepine64
#PineDio Stack with @lupyuen : Why are MOSI and MISO swapped? And will GLB_Swap_SPI_0_MOSI_With_MISO() help us?

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.