How to properly drive WS2812 using FLEXIO on RT1050?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to properly drive WS2812 using FLEXIO on RT1050?

684 Views
martin_litschau
Contributor I

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.

Labels (1)
Tags (4)
0 Kudos
Reply
1 Reply

651 Views
Gavin_Jia
NXP TechSupport
NXP TechSupport

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

0 Kudos
Reply