Hi everyone,
I'm trying to use the FLEXIO peripheral with DMA on the RT1050 to control WS2812 LEDs. I can successfully generate a bitstream, but currently, I'm only able to send the same bit pattern repeatedly. I haven't been able to figure out how to dynamically change the data to send different color values per LED.
Has anyone managed to get WS2812 working properly with FLEXIO on the RT1050?
Any guidance, example code, or documentation pointers would be greatly appreciated!
Thanks in advance.
Hi @martin_litschau ,
Thanks for your interest in NXP MIMXRT series!
Although there is no official direct driver example, you can refer to this document, which describes it very clearly and provides examples at the same time: https://mcuoneclipse.com/2016/05/22/nxp-flexio-generator-for-the-ws2812b-led-stripe-protocol/
Best regards,
Gavin