Hi Marco,
In the MK22F51212.h file located in the KSDK installation folder (\KSDK_1.0.0\platform\CMSIS\Include\device\MK22F51212), the ADC are defined:
/* ADC - Peripheral instance base addresses */
/** Peripheral ADC0 base address */
#define ADC0_BASE (0x4003B000u)
/** Peripheral ADC0 base pointer */
#define ADC0 ((ADC_Type *)ADC0_BASE)
#define ADC0_BASE_PTR (ADC0)
/** Peripheral ADC1 base address */
#define ADC1_BASE (0x40027000u)
/** Peripheral ADC1 base pointer */
...
So ADC0=0x4003B000 and ADC1=0x40027000
I've checked in the documentation for the K22.
The Reference Manual is available on web site at the link: http://cache.freescale.com/files/microcontrollers/doc/ref_manual/K22P121M120SF7RM.pdf
Page 150 there are:
0x4002_7000 39 Analog-to-digital converter (ADC) 1
0x4003_B000 59 Analog-to-digital converter (ADC) 0
May be the doc has been updated.
Have a great day,
Pascal Irrle
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------