How to properly drive WS2812 using FLEXIO on RT1050?

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

How to properly drive WS2812 using FLEXIO on RT1050?

677件の閲覧回数
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 返信

644件の閲覧回数
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 件の賞賛
返信