eriksl wrote:Already impressive!
I hope you can, at some point, work out what the baud rate actually is for a certain pair of clock settings.
Maybe you can use autobaud'ing. I have a software oscilloscope that can work out the actual baud rate from some bytes of input.
I use the baudrate errors to map the frequencys! The second foor loop sends the same message on every possible PLL speed from 0 to 200 MHz, usually i receive the same message on unnassembled caracters on the terminal (becouse the unsuported PLL freq) but when i see the correctly, that mean that the PLL is working on a valid frequency! I used this formula https://github.com/cnlohr/nosdk8266/blob/master/src/nosdk8266.c#L123 PERIPH_FREQ is equal to the core clock / 2 ( we divide by 2 if the desired core freq is above 160 MHz)