Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Work frequency #1

Open
Crazy-Geeks opened this issue Sep 21, 2020 · 5 comments
Open

Work frequency #1

Crazy-Geeks opened this issue Sep 21, 2020 · 5 comments

Comments

@Crazy-Geeks
Copy link
Owner

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.

@arilink-tech
Copy link

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?

@Crazy-Geeks
Copy link
Owner Author

@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

@arilink-tech
Copy link

I haven’t paid attention to memory consumption. I tried cubemx for an afternoon, but I couldn’t control ws2812 successfully.

@Crazy-Geeks
Copy link
Owner Author

@arilink
Check the new commit, please.

@arilink-tech
Copy link

ok i will try

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants