The new #LoRa Module @PINE64 is based on Semtech SX1262 ... Here's the Reference Implementation of the SX1262 Driver
https://github.com/Lora-net/LoRaMac-node/tree/master/src/radio/sx126x
Straight vs Coiled #LoRa Antenna ... It's the Antenna Length that matters
https://www.thethingsnetwork.org/forum/t/antenna-length-for-868-and-433-mhz/5378
Shorter Antenna for Higher Frequency ... Because Antenna Length is Wavelength divided by 4
https://www.thethingsnetwork.org/forum/t/antenna-length-for-868-and-433-mhz/5378
Now porting to #BL602: Driver for #Pine64 #LoRa Module (SX1262) ... Let's see how fast we can do this 🚀
https://github.com/lupyuen/bl_iot_sdk/tree/sx1262/components%2F3rdparty%2Flora-sx1262
#BL602 #LoRa SX1262 Driver ... A.k.a. #Pine64 LoRa Module ... Porting in progress
https://github.com/lupyuen/bl_iot_sdk/tree/sx1262/components/3rdparty/lora-sx1262
#BL602 #LoRa SX1262 Driver Builds OK! Now we implement the hardware abstraction stubs for BL602
https://github.com/lupyuen/bl_iot_sdk/tree/sx1262/components/3rdparty/lora-sx1262
We map these #LoRa SX1262 functions to the #BL602 Hardware Abstraction Layers: GPIO, SPI and Interrupts
https://github.com/lupyuen/bl_iot_sdk/blob/sx1262/components/3rdparty/lora-sx1262/src/sx126x-board.c
#BL602 #LoRa SX1262 Driver ... One last build error to be fixed ... G'nite!
https://github.com/lupyuen/bl_iot_sdk/blob/sx1262/components/3rdparty/lora-sx1262/src/sx126x-board.c
#LoRa SX1262: VREG vs DCC vs VCC ... Which shall I connect to power? 🤔
#LoRa SX1262 Power Amplifier baffles me ... Wish I was an Engineer 🤔
Run our 3-In-1 #BL602 Script that Builds, Flashes and Runs BL602 Firmware ... Works exactly like 3-in-1 coffee mix 👍
https://github.com/lupyuen/bl_iot_sdk/blob/sx1262/customer_app/sdk_app_lorawan/run.sh
Sorry I goofed ... Mixed up microseconds and milliseconds in #BL602 #LoRa SX1262 Driver ... Now AirSpy SDR shows the complete LoRa Chirp! 🎉
https://github.com/lupyuen/bl_iot_sdk/commit/bbd5395e04160d97f7d56193ad7f0a2022bcb45d
Our #BL602 Driver for #LoRa RFM90 Module @ThePine64 is complete! 🎉 I hope to see this in your #PineCone LoRa project real soon 👍
https://github.com/lupyuen/bl_iot_sdk/blob/master/components/3rdparty/lora-sx1262
Yep printf() is horrible for Embedded Programming ... But it was really helpful for verifying the init flow of our #BL602 #LoRa SX1262 Driver
https://github.com/lupyuen/bl_iot_sdk/blob/sx1262/components/3rdparty/lora-sx1262/src/sx126x-board.c#L168-L232