Trying to understand how the microcontroller is being clocked, sorry, the datasheet isn't clear to me. Right now I'm setting the LPUART baud rate by measuring bit duration on my scope but would like to document the precise calculations to derive the register settings.
I am working with a MK66FN2M0VLQ18 on a RDDRONE-FMUK66 running PX4. It appears that during initialization the PLL is selected and I estimate the CPU is clocking at about 100 MHz, but again this is measured on a scope.
The schematic shows a 32KHz crystal on board but perhaps it's using the internal IRC48M 48 MHz source?
Thanks!