Moderator: eriksl
If any know something about the registers to be able to pass that 5.5 divider limit, please post!
I can't help you though, I don't know anything about the register layout of the clock divider / PLL, I'd really like to have that documented.
I assume wifi won't work with a CPU clock speed anything other than 80 or 160 MHz, but I think it may be interesting to have the CPU running on higher clocks in small bursts for computationally heavy tasks (like a few hundred milliseconds). Wifi is designed to be able to cope with a client not responding for a few hundred millisecs.
Also I am very interested in what the APB (I/O) bus does. If it always remains at 80 Mhz (probably) not and if not, which peripherals still work.
uint32_t i = 0x00;
for (i = 0x00; i <= 0xff; i++) {
rom_i2c_writeReg(103, 4, 1, i);
int j = 0;
for (j = 0; j < 200; j++) {
uart_div_modify(0, (j * 1000000) / 115200);
printf("pllworkingreg: 0x%x, pllworkingfreq: %d ", i, j);
}
}
but i need do it on segments becouse most of what comes out is garbage from an unsupported uart freq, so i need to manual filter all and hand write but i really belive that we can turn off the PLL lock or that at last we can set it to x2 (520MHz) would be impressive see a 40c MCU run at 520MHz!