I want to stream a waveform from an external SPI flash RAM (Winbond). Once the RAM has been prepared, reading back sequential data into is just a loop of SPI2.send(0) instructions whose return values are sequentially written into a uInt8Array.
As mentioned in the docs, a function containing SPI calls cannot be compiled... how can I speed it up?
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
I want to stream a waveform from an external SPI flash RAM (Winbond). Once the RAM has been prepared, reading back sequential data into is just a loop of
SPI2.send(0)
instructions whose return values are sequentially written into a uInt8Array.As mentioned in the docs, a function containing SPI calls cannot be compiled... how can I speed it up?