Problems with ADC on demoboard

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Problems with ADC on demoboard

558 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by wama on Mon Dec 12 04:08:43 MST 2011
[FONT=Helv][SIZE=2][FONT=Helv][SIZE=2]Hello,
I'm new in programming with nxp.
For this reason I am trying to program some applications with the LPCXpresso demoboard.
On my board (LPC1200) the mcu LPC1227 is included.

After installing and activating the IDE (v4.1.0) on Windows XP I downloaded the example projects for the LPC1200 series. Now I have some troubles with the ADC project.

For the conversion I tried to use the channels 0,1 and 2. But the result is always the same. Every time I get the value 1023. Even if nothing is connected to the port. I just changed the port configurations to use another port for the conversion.
Until now I just tried to work in debug mode. I read someting about similar problems in the past. But they could fix the problems with an update of the IDE.

It would be great if somebody could help me to find a solution.
Thank you
[/SIZE][/FONT][/SIZE][/FONT]
0 Kudos
Reply
1 Reply

547 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by NXP_Europe on Thu Dec 15 05:44:39 MST 2011
Hello mawa,

how dit you read the '1023'?

Did you connect an external UART to read the 'printf'?
0 Kudos
Reply