Hi Bilnd,
Thank you very much for your focus on Freescale Kinetis product. I'm glad to provide service for you.
1. ADCx_CLPD, should this value be taken into account when generating ADCx_PG? The value seems to be generated during a self cal, but the documentation doesn't mention it.The K10 RM only says in 33.4.7..."2. Add the plus-side calibration results CLP0, CLP1, CLP2, CLP3, CLP4, and CLPS to the variable." So should CLPD also be added?
To be honest, I've also felt a little weird about it. I'll to discuss this questions with my co-wokers later and update you if work it out.
2. If storing calibration values in eeprom, so that calibration doesn't have to be re-done every boot, which registers need to be remembered? The documentation talks about 20 register stores, that makes me think its CLP0, 1, 2, 3, 4, CLPS, CLPD, OFFS, PG and MG for each ADC?
I'd like to suggest that you should store all calibration results which contain two seven calibration values of side gereral calibration value regsiter.
If you have any further questions, please feel free to conatct with me.
Have a nice day!
Ping