Hello,
Context : I am a fully newby on NXP microcontroller. I purchased a dev board ( LPC55S28-EVK) and start playing with peripheral to check how to use it.
For ADC peripheral, I just place a potentiometer on pin 20 ( ADC0_P). I test the SDK example and it works. So my hardware configuration is ok.
Now, with my own project : I configure pin, configure clock and try to setup peripheral on MCUexpression config tool as interrupt mode. Code has been generated automatically with the config tool.
During first tries, interrupt occurs well but the result was always 32768.
I compare all configuration register with SDK sample and seems ok.
After a while, I see that the following ADC power up was missing
/* Disable LDOGPADC power down */
POWER_DisablePD(kPDRUNCFG_PD_LDOGPADC);
Is it normal that is is not automatically generated by the configuration tool?
Bertrand