Yahoo Groups archive

Lpc2000

Index last updated: 2026-04-28 23:31 UTC

Message

A/D converter of LPC2129

2004-09-02 by daniela_boyo

Hi everyone,

I'm having some problems with using the A/D converter of the LPC2129 
ARM board. I'm interfacing the board with an LM35DZ temperature 
sensor which has an output voltage proportional to the required 
temperature (eg 0.68V is equal to 68 degrees C).

I have set up the A/D control as follows:

ADCR  = 0x00270601
ADCR |= 0x01000000

Is the above set up suitable? Also, assuming I have gotten a value 
from the A/D data (ADDR), how do I extract this value and get a 
suitable value for the temperature (i.e. if analogue input is 0.25V 
for instance)?

I would greatly appreciate it if someone can help me with this or if 
someone is willing to share some example code.

Thank you!
Daniela.

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.