microsoft / pxt-microbit

A Blocks / JavaScript code editor for the micro:bit built on Microsoft MakeCode
https://makecode.microbit.org
Other
699 stars 581 forks source link

Bluetooth and Jacdac don't play well together #5520

Open tballmsft opened 4 months ago

tballmsft commented 4 months ago

Problem: The Bluetooth stack interrupts Single Wire Serial (SWS), so Jacdac doesn’t work when Bluetooth is active. This is currently addressed by disabling BLE (during application execution) in the pxt-jacdac extension.

Potential Solution: use GPIOTE in SWS in CODAL. That is, link GPIO line signal interrupt to Serial DMA to receive interrupt without intervention from the processor. This requires changes to lancaster-university/codal-core

tballmsft commented 3 months ago