I work with different boards and have certain struggles with STM-based (mine is that one with STM32F411).
I had tried to control WS2812 using digitalPulse, but the experiment has showed that board doesnt perform pulses with duration around (0.3-1us).
Neopixel works great but I dont like that on stm boards it implicitly setups hardware spi bus. I'm wondering if using low-level timer control allows me to avoid using hardware spi (like RMT module on ESP32 does). U see that I do not consider SPI as a solution. Perhaps I would do so if it was possible to configure soft bus baudrate.
Anyway, now it's a question not really about ws2812, but how to make digitalPulse work with impulses I need.
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 work with different boards and have certain struggles with STM-based (mine is that one with STM32F411).
I had tried to control WS2812 using digitalPulse, but the experiment has showed that board doesnt perform pulses with duration around (0.3-1us).
Neopixel works great but I dont like that on stm boards it implicitly setups hardware spi bus. I'm wondering if using low-level timer control allows me to avoid using hardware spi (like RMT module on ESP32 does). U see that I do not consider SPI as a solution. Perhaps I would do so if it was possible to configure soft bus baudrate.
Anyway, now it's a question not really about ws2812, but how to make digitalPulse work with impulses I need.