Set correct PLL N for 96MHz
This commit is contained in:
BIN
build/final.elf
BIN
build/final.elf
Binary file not shown.
@@ -231,7 +231,7 @@ system_clock_init:
|
||||
.L5:
|
||||
.word 1073887232
|
||||
.word 1073770496
|
||||
.word 67252505
|
||||
.word 67252249
|
||||
.word 1073888256
|
||||
.cfi_endproc
|
||||
.LFE0:
|
||||
|
||||
@@ -2269,7 +2269,7 @@ static void system_clock_init(void) {
|
||||
((struct rcc *) (0x40023800U))->PLLCFGR |= (1 << 22);
|
||||
|
||||
|
||||
((struct rcc *) (0x40023800U))->PLLCFGR |= ((25 & (0b111111)) << 0) | ((196 & (0b111111111)) << 6) | ((2 & (0b11)) << 16) | ((4 & (0b1111)) << 24);
|
||||
((struct rcc *) (0x40023800U))->PLLCFGR |= ((25 & (0b111111)) << 0) | ((192 & (0b111111111)) << 6) | ((2 & (0b11)) << 16) | ((4 & (0b1111)) << 24);
|
||||
|
||||
|
||||
((struct rcc *) (0x40023800U))->CFGR &= ~((0b1111) << 4);
|
||||
|
||||
BIN
build/main.o
BIN
build/main.o
Binary file not shown.
Reference in New Issue
Block a user