Receiving Packets on gets tricky ... Because SX1276 triggers a GPIO Interrupt when a packet is received ... And the Interrupt Handler needs to forward the packet to the Application Task 🤔

github.com/lupyuen/bl_iot_sdk/

Show thread

GPIO Interrupts: Should we use Sync or Async Interrupts for ? 🤔 ... BL602 IoT SDK uses Async Interrupts to handle GPIO Buttons ... Let's do the same for LoRa

github.com/bouffalolab/bl_iot_

Show thread

Maybe High Level Trigger Interrupt = High Priority Interrupt = Sync Interrupt? 🤔 ... Lemme check the original Chinese Reference Manual

github.com/bouffalolab/bl_docs

Show thread

My bad ... High Level Trigger Interrupt = 高电平触发中断 = Trigger Interrupt on Logic High ... Nothing to do with priority 🤔

github.com/bouffalolab/bl_docs

Show thread

Transmitter ... Sniffed by Airspy R2 SDR ... Watch the distinctive LoRa Chirp (red spike)

youtu.be/USqStub3KC0

Show thread

Something spooky about GPIO Interrupts 🤔 ... Let's disconnect SX1276 pins DIO1 to DIO3 ... And connect DIO0 to my fav Blue LED (GPIO 11)

github.com/lupyuen/bl_iot_sdk/

Show thread

GPIO Interrupts hanging could be due to the way we handle multiple GPIO Interrupts ... Let's revisit this when we can trigger multiple GPIO Interrupts from SX1276

github.com/lupyuen/bl_iot_sdk/

Show thread

Now that can handle Packet Received Interrupt ... Let's defer the LoRa Packet Processing from the Interrupt Handler to the Application Task ... How shall we do this in FreeRTOS? 🤔

github.com/lupyuen/bl_iot_sdk/

Show thread

Shall we teach Multitasking with NimBLE Porting Layer? 1️⃣ Looks easier than FreeRTOS 2️⃣ It's portable to FreeRTOS, Mynewt, NuttX and RIOT OS 🤔

lupyuen.github.io/pinetime-rus

Show thread
Show more
Show more
Show more
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.