FIX: found old thread on forum from 2010, saying this bitshifts are wrong.

ref:   http://www.proxmark.org/forum/viewtopic.php?id=643
This commit is contained in:
iceman1001 2017-09-26 00:19:54 +02:00
commit 0f7241f4b3
2 changed files with 23 additions and 23 deletions

View file

@ -55,7 +55,7 @@ static void ConfigClocks(void) {
// PLL output is MAINCK * multiplier / divisor = 16Mhz * 12 / 2 = 96Mhz
AT91C_BASE_PMC->PMC_PLLR =
PMC_PLL_DIVISOR(2) |
PMC_PLL_COUNT_BEFORE_LOCK(0x50) |
PMC_PLL_COUNT_BEFORE_LOCK(0x10) |
PMC_PLL_FREQUENCY_RANGE(0) |
PMC_PLL_MULTIPLIER(12) |
PMC_PLL_USB_DIVISOR(1);