lpcware

LPCopen periph_adc example

Discussion created by lpcware Employee on Jun 15, 2016
Latest reply on Jun 15, 2016 by lpcware
Content originally posted in LPCWare by xjx on Sun Nov 15 10:43:39 MST 2015
Hello,

I am trying to run the periph_adc example on LPCxpresso 1760 stick.

I compiled and run it with redlib semihost. I also have the uart connected to the PC with an RS232 interface.

One running the example, it writes some message to the console. However, I was expecting to see the ADC values somewhere in the console or in the COM terminal at the PC.

"

Hello NXP Semiconductors

ADC DEMO

Sample rate : 200kHz

Press 'c' to continue or 'x' to quit

Press 'o' or 'p' to set Sample rate

Press 'b' to ENABLE or DISABLE Burst Mode
"

when I press the keys nothing happens. Question: what is the example supposed to do?

thank you

Outcomes