Open Crazy-Geeks opened 3 years ago
My clock is set to 72MHz and I use CubeMX to configure the timer and DMA. The library of ws2812 is included, but it does not work properly. Could you please ask?
@arilink I’ll commit a new version in several days. It works fine, but only on 72 MHz too. Just wait a little, I fixed memory consumption and added HSV color model
Also check your power supply. As you can see in ws2812(b) datasheet, logic voltage should be in some range. If your led supply is >4.8V, leds won’t see signal from STM I’ll notice this moment in readme
I haven’t paid attention to memory consumption. I tried cubemx for an afternoon, but I couldn’t control ws2812 successfully.
@arilink Check the new commit, please.
ok i will try
Now strip works only when APB frequency is 72 MHz. I tried to set it to 8 MHz and change counter to 9 (8x10^6/8x10^5 = 10), but strip didn't work at all. In several weeks I'll buy logic analizator to watch what happens at GPIO pin.