We now have a Linux Driver for USB Dongle @PINE64 ... That can transmit 29-byte messages and receive 28-byte messages ... Tested on Pinebook Pro Manjaro Arm64 🎉

github.com/lupyuen/lora-sx1262

Show thread

Why does USB Dongle receive 28-byte Messages ... But not longer messages? Because CH341 can only transfer up to 31 bytes of SPI data ... And we need 3 bytes for the SX1262 Command Header

github.com/lupyuen/lora-sx1262

Show thread

Aha! When Dongle sends a 29-byte Packet to RAKwireless WisBlock ... It's received OK! Anything more will be garbled 🤔

github.com/lupyuen/lora-sx1262

Show thread

Dongle sends a 64-byte Packet ... But the 64-byte Packet doesn't appear in the dmesg Log for CH341 SPI Driver 🤔

github.com/lupyuen/lora-sx1262

Show thread

But Messages sent by Stack BL604 to RAKwireless WisBlock are not garbled ... Even though PineDio Stack and PineDio Dongle are running the same SX1262 Driver Code! 🤔

lupyuen.github.io/articles/lor

Show thread

USB Dongle sends Packet to RAKwireless WisBlock ... But received packet is consistently garbled ... As reported by @JF 🤔

github.com/lupyuen/lora-sx1262

Show thread

I haven't figured how to control GPIO with CH341, so here are 2 Quick Hacks: 1️⃣ Need to reset Dongle? Just unplug it ... 2️⃣ Checking for busy state? Just wait 10 millisecs between SX1262 requests

github.com/lupyuen/lora-sx1262

Show thread

Oops just discovered that the new Semtech Reference Driver doesn't support LoRaWAN ... So we switched to the older SX1262 Driver ... Exact same driver used by BL602!

github.com/lupyuen/lora-sx1262

Show thread
Show more
Qoto Mastodon

QOTO: Question Others to Teach Ourselves. A STEM-oriented instance.

An inclusive free speech instance.
All cultures and opinions welcome.
Explicit hate speech and harassment strictly forbidden.
We federate with all servers: we don't block any servers.