BusPirate / Bus_Pirate

Community driven firmware and hardware for Bus Pirate version 3 and 4
625 stars 131 forks source link

doc: Fix incorrect clock rate #153

Open Forty-Bot opened 3 years ago

Forty-Bot commented 3 years ago

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 commented 2 years ago

ping