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.
Hi,
This is the result I run the lpadc_interrupt example in SDK package.
I have connected the ADC0_0(pin8 of J13 on LPC55S06-EVK ) to GND or 3.3V, this is the result.
If you want to use uart to display message as following, you have to close JP12.
In conclusion, no problem for the lpadc example in SDK package
BR
XiangJun Rong