Hi.
I am trying to omit the automatic calibration at startup by automatically calibrating the KM34's SARADC at the time of board manufacturing, saving the register value in FROM, and writing the value back to the register at reboot. If so, which register should be saved?
Are ADCx_OFS and ADCx_PG okay?
In the explanation of the manual, CLP0, CLP1, CLP2, CLP3, CLP4, CLPS are added to the variable divided by 2, and MSB is set by ADCx_PG, so if you also set the above two register values I thought there was no problem.
Thank you very much.