Voting resources, early voting, and poll worker information - VOTE. ... Adafruit is open and shipping.
0

LED WS2812 - Neopixel - IMX6 SMARC board
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

LED WS2812 - Neopixel - IMX6 SMARC board

by neokonan on Fri Jul 24, 2020 4:36 am

Hi everyone,

I actually use an IMX6 SMARC board with an Ubuntu 12.04. I want to manage LED WS2812 with the library Adafruit Neopixel.
But, the library work with Arduino or Raspberry, but i have an IMX6 SMARC board. So we dont have the same pins directions, as with Arduino for example.
Did some develop a labrary for using LED WS2812 with an IMX6 SMARC board (Ubuntu)?

Thank you for your help.

Best regards.

neokonan
 
Posts: 4
Joined: Fri Jul 24, 2020 4:29 am

Re: LED WS2812 - Neopixel - IMX6 SMARC board

by adafruit_support_bill on Fri Jul 24, 2020 6:41 am

Not familiar with that board. You might check with the FastLED folks to see if their library has support for it.

adafruit_support_bill
 
Posts: 78708
Joined: Sat Feb 07, 2009 10:11 am

Re: LED WS2812 - Neopixel - IMX6 SMARC board

by neokonan on Fri Jul 24, 2020 8:36 am

Thank you for your answer.

I will check the FastLed folks.
I assume that the only difference with the library Neopixel, between the arduino and my IMX6 board is the pins section ? Both use Linux.

Best regards

neokonan
 
Posts: 4
Joined: Fri Jul 24, 2020 4:29 am

Re: LED WS2812 - Neopixel - IMX6 SMARC board

by adafruit_support_bill on Fri Jul 24, 2020 8:53 am

It really has little to do with the operating system. The WS2812 protocol has very tight timing constraints, so most implementations use assembly code which is specific to the processor.

adafruit_support_bill
 
Posts: 78708
Joined: Sat Feb 07, 2009 10:11 am

Re: LED WS2812 - Neopixel - IMX6 SMARC board

by neokonan on Fri Jul 24, 2020 9:03 am

I know that The WS2812 protocol has very tight timing constraints, that why we need a microcontroller or a Cortex M.
So i need to modify all the assembly code, to adapte to my processor?

I really need to adapte to my Imx6 processor, can you help me?

Thank you a lot for taking time to resolve my problem.

neokonan
 
Posts: 4
Joined: Fri Jul 24, 2020 4:29 am

Re: LED WS2812 - Neopixel - IMX6 SMARC board

by adafruit_support_bill on Fri Jul 24, 2020 10:06 am

We can't provide support for processors other than the ones we carry. But you are free to start with our library which works with the SAMD21 (Cortex M0) and SAMD51 (Cortex M4) processors from Microchip.
https://github.com/adafruit/Adafruit_NeoPixel

adafruit_support_bill
 
Posts: 78708
Joined: Sat Feb 07, 2009 10:11 am

Re: LED WS2812 - Neopixel - IMX6 SMARC board

by neokonan on Fri Jul 24, 2020 10:26 am

Thank you, i will try to use your library Adafruit Neopixel and adapt it for my IXM8 cortex M4.

I think, i have a lot of work.

Have a good day

neokonan
 
Posts: 4
Joined: Fri Jul 24, 2020 4:29 am

Please be positive and constructive with your questions and comments.