Interface WS2812 LEDs with STM32 || SPI 8bit

preview_player
Показать описание
________________________________________________________________________________________

________________________________________________________________________________________

******* SUPPORT US BY DONATING******

*******Join the Membership*******

Рекомендации по теме
Комментарии
Автор

Did you think of making a simple look-up-table (only 3*256 bytes of flash area) instead of the time consuming shifts?

Sunos
Автор

Why is this driver so slow compared to Timer and DMA? How could i achieve faster changes of the Pixel?

christiankoch
Автор

Could you make a video about the RGB protocol for the display?

It would be nice to have a tutorial on how make your own HMI module using an high end mcu.
For reference take a look at the nextion screens, creating something like that.

If you are interested on making such a video i think that would be nice, there are no much tutorial about it.
Bye bye.

Ps. Nice video, you are great!

Aleexc
Автор

Hello, do you have videos on fingerprint (R305 or AS608) or could I make some with the stm32, since there are none on the network?. please

crownnever
Автор

Just commenting about the written version, this is kinda out of the spec. With the 2.5MHz clock T1L is too short 400ns when the minimum is 450ns. Good that it works but it may not work for every led. In spec slowest solution would be 4 bits per bit at 3.33 MHz clock. Low bit 300+900, high 600+600. Makes bit shifting way simpler too, actually redundant.

Unless you made a mistake and showed WS2812 timings but meant WS2812B instead.

Henrix
Автор

Ive tried this on atsamd20g18 microcontroller with 4mhz 5bit logic.
But the mosi pin idle high.
So it's not worked.
Ive changed cpha to 1 but still getting idle high.
But on atmega32p cpha changes to idle low.
Do you know how to fix this in atsam?.

xcvxcvxv
Автор

Hi
I'm able to generate PWM like signals using SPI but the problem is that the time period of one cycle of the individual wave is 2.792μS instead of the usual 1.2μS, can you help me how to fix this?

prathamdevadiga
visit shbcf.ru