How to properly drive WS2812 using FLEXIO on RT1050?

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

How to properly drive WS2812 using FLEXIO on RT1050?

619 次查看
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.

标签 (1)
标记 (4)
0 项奖励
回复
1 回复

586 次查看
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 项奖励
回复