I've brought out XTAL 32M clock to the external MCU pin using clk_out_1
function and measured actual clock period with oscilloscope R&S RTE1204. I've got 32.001 MHz with S-dev about 101 kHz.
My firmware makes CapCode setup using AON_Set_Xtal_CapCode
in main() after bflb_platform_init(0)
call:
AON_Set_Xtal_CapCode(30, 30);
But when I change 30 to some other value and reflash/reboot MCU nothing changes in frequency value at output pin. Is this right? What is the right CapCode setup sequence?