• The SPI DMA support is definitely of interest - there's an issue open which includes it on https://github.com/espruino/Espruino/iss­ues/1212 (for all platforms).

    One potential problem (why I didn't use it by default) is there's hardware bug which means that 1 byte SPI transfers fail, so you have to do some messing around to try and avoid it for those cases (and I think in earlier SDKs that might have meant modifying or avoiding the HAL altogether).

    I could take a look at implementing the framework though (using the event queue to trigger a callback when the SPI transfer finished).


Avatar for Gordon @Gordon started