AnsweredAssumed Answered

Port pin configured as ADC input at POR?

Question asked by mike hackett on Jul 5, 2018
Latest reply on Jul 5, 2018 by Victor Jimenez

Port pin configured as ADC input at POR?

I have the LPC824.

I use PIO0_20 as a simple port pin set to output that I  manually change its status in code - Chip_GPIO_SetPinState(.....) - at certain specific times.

The port pin was not doing any action at all.

After some delving in debug mode, I found that in the SVM register ADC_6 was set to 0 , thusly enabling ADC_6.

I don't set ADC_6 to be enabled in my code. ADC_6 at POR should be disabled by default (set to 1).

Has anybody else seen this?

Outcomes