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

doc: Fix incorrect clock rate #153

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Forty-Bot
Copy link

The baud rate on my BusPirate v3 calculated based on a 16 MHz clock, not a 32 MHz clock. I tried calculating a new baud divider using a 32MHz clock, but got incorrect values. Using a 16 MHz clock gives dividers which match the default baud settings [1].

[1] http://www.nicksoft.info/el/calc/?ac=spbrg&submitted=1&mcu=+Generic+16bit+BRG&Fosc=16&FoscMul=1000000&FoscAutoSelector=0&MaxBaudRateError=1

The baud rate on my BusPirate v3 calculated based on a 16 MHz clock, not a 32 MHz clock. I tried calculating a new baud divider using a 32MHz clock, but got incorrect values. Using a 16 MHz clock gives dividers which match the default baud settings [1].

[1] http://www.nicksoft.info/el/calc/?ac=spbrg&submitted=1&mcu=+Generic+16bit+BRG&Fosc=16&FoscMul=1000000&FoscAutoSelector=0&MaxBaudRateError=1
@Forty-Bot
Copy link
Author

ping

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

Successfully merging this pull request may close these issues.

1 participant