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

prescaler issue #1

Closed
Ribster opened this issue Apr 19, 2016 · 2 comments
Closed

prescaler issue #1

Ribster opened this issue Apr 19, 2016 · 2 comments

Comments

@Ribster
Copy link

Ribster commented Apr 19, 2016

Olivier. Prescaler calculatie is (SystemCoreClock / gewenste frequentie) -1.
Uw calculatie voor 31KHz is dus normaal om (SystemCoreClock / 31000) -1 te berekenen..
Geen bug dus ;)

@4ilo
Copy link
Owner

4ilo commented Apr 19, 2016

Ah, bedankt voor de reactie, vond het heel vreemd om de prescaler -1 te doen, maar toch goed om te weten dat het normaal is :)

Nog eens hartelijk bedankt.

@4ilo 4ilo closed this as completed Apr 19, 2016
@Ribster
Copy link
Author

Ribster commented Apr 19, 2016

Jeps. Kijk eens in: https://github.com/Ribster/PBEI-Project2/blob/master/ESHF0-0005-ALT0084_F072-NoWire_Pixel-A/src/application_leddim.c
in application_leddim_uhPrescalerValue stel ik een frequency in van 40MHz.
Good luck!

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