Hi all,
I am trying to take in analog signal inputs in my board (LPC55S06-EVK). Right now I am running the example code lpadc_interrupt.c provided by NXP. I have Pin 8 of J13 (P0_23/ARD_ADC0_P) connected to Pin 6 of J9 (AVDD), and yet my code gives me this result: "ADC value: 0" which obviously is incorrect. With an input of AVDD, shouldn't the result be 65535?
I have discovered that the variable convValue ultimately gets its value from the "RESFIFO" ADC data result FIFO register; however, no matter how I hook up the wires, I always receive "ADC value: 0."
If someone could help, I would greatly appreciate it.
Thanks in advance.