AnsweredAssumed Answered

SDK - how to config ADC input pin/channel ?

Question asked by frank meyer on May 20, 2020
Latest reply on May 25, 2020 by frank meyer

I am looking for an example to proper initialize an input channel for the ADC (LPC54628).

The usual way is to enable the appropriate GPIO pin, and assign the proper function (analog mode).

All of the SDK examples use the internal temperature sensor - and cleverly circumvent a proper how-to.

 

Can any one show me the proper SDK calls, and sequence ?

I want to use ADC0 and ADC0IN4..6, but an example for one pin/channel would suffice.

Thanks.

Outcomes