LPC2378 - ADC module

Started by DeV in LPC20006 years ago 1 reply
ADC

hello all...i have made a function for the adc module in lpc2378 which takes the channel number as the argument and returns the corresponding...

hello all...i have made a function for the adc module in lpc2378 which takes the channel number as the argument and returns the corresponding adc output (i.e. a SINGLE CONVERSION)...now in my main program, i need the adc to keep on running and hence, i use a while (1) loop to keep calling the adc function to keep adc conversion ON... 1. however, my doubt is switching off the adc module...i...


LPC2132 ADC input problems

Started by gmpundlik in LPC20007 years ago 5 replies

Hello, I have a LPC2132/01 rev D8 using its ADC driven by a TLV2402 opamp. There is a 10k resistor and 15nF capacitor at the input of the ADC....

Hello, I have a LPC2132/01 rev D8 using its ADC driven by a TLV2402 opamp. There is a 10k resistor and 15nF capacitor at the input of the ADC. There have been no problems with this arrangement as yet, but with a new revision of this board (no changes done to the ADC section, some minor changes elsewhere) there is a funny problem that has cropped up. The ADC takes in a angular displacement in...


ADC zooming along

Started by pitstock_kiwi in LPC200011 years ago 5 replies

Greetings While Brendan and Jaya have been furiously writing emails I have been working on my LPC2148 ADC code. Its taken me a while but I...

Greetings While Brendan and Jaya have been furiously writing emails I have been working on my LPC2148 ADC code. Its taken me a while but I now have it clocking out the ADC at a rate of 520 K samples per second. I am over clocking the ADC a little at 5 Mhz but my noise is well within my required spec. I didn't think it was possible as I always hit about 320 K or so at best. My 512 pixe...


LPC2142's ADC problem

Started by Eugene Rybkin in LPC200012 years ago

Hi ALL! I tryed to work with ADC on my LPC2142 but I failed :-( I adjusted ADC to hardware-triggered conversion mode. Conversion start...

Hi ALL! I tryed to work with ADC on my LPC2142 but I failed :-( I adjusted ADC to hardware-triggered conversion mode. Conversion start by rising edge on the MAT1.0 signal and when is DONE release IRQ. I read ADC's value in ISR and send it via UART. IRQ occur normally but extracted values are trash! Also, ADC fail selftest when input pin assig


ADC/DAC QUERY

Started by omprakash alone in LPC20007 years ago 5 replies
ADC

hi, I am phasing problem with my ADC of controller which is mounted on BlueBoard. As my ADC is i/p, i am not able to find out howto make...

hi, I am phasing problem with my ADC of controller which is mounted on BlueBoard. As my ADC is i/p, i am not able to find out howto make it bipolar. As my ADC is o/p, i can make it bipolar by connecting its o/p to some ckt(Op-Amp). Omprakash Alone


LP17xx ADC and DMA

Started by Richard in LPC20007 years ago 1 reply
ADC

Hi I have ADC with burst setup (all 8 channel), where I plan to use DMA to transfer ADC register result into ADC_Result[8]. I have read the...

Hi I have ADC with burst setup (all 8 channel), where I plan to use DMA to transfer ADC register result into ADC_Result[8]. I have read the NXP application note about DMA being used to transfer memory into DAC and provide sinewave. I have tried to setup ADC and DMA, but it did not work out. The ADC is sampling (via Keil Link-Pro and MC1700). Can anyone have tried and tested code so I c...


Info: ADC error on KEIL MCB2300

Started by Benny Simonsen in LPC20009 years ago
ADC

Hi I have had some problems with ADC readings on a V3.1 Keil=A0MCB2300 board (= LPC2378). The reason is that P1.30 (AD0.4 which by mistake is...

Hi I have had some problems with ADC readings on a V3.1 Keil=A0MCB2300 board (= LPC2378). The reason is that P1.30 (AD0.4 which by mistake is called AD0.7 in the sch= ematic) is pulled up to 5V. As written in the manual the ADC pins are 5V tolerent, but if just one of t= hem (used as ADC or not) is pulled up to > VREF it will give ADC errors. To avoid this problem on the evaluation board re


ADC Reference voltage value in LPC236x series

Started by prab...@yahoo.co.in in LPC20007 years ago 3 replies
ADC

Hi all, What is maximum ADC reference voltage(3 or 3.3 V)?Because I am getting ADC value 900 - 920 for 3.3 ADC Vin voltage. But maximum...

Hi all, What is maximum ADC reference voltage(3 or 3.3 V)?Because I am getting ADC value 900 - 920 for 3.3 ADC Vin voltage. But maximum value of adc is 1023 for 3.3 voltage.Is is correct?? Thanks, ------------------------------------


Using ADC in LPC2129

Started by R CHANTHAR in LPC200010 years ago 1 reply

Hello friends, Im new to this ARM field and im doing a project of monitoring the temperature using LM35 and ARM7(part of my...

Hello friends, Im new to this ARM field and im doing a project of monitoring the temperature using LM35 and ARM7(part of my project).Can anyone tell me how to configure the 10 bit ADC in LPC2129 to convert the temperature or give me some example programs for using ADC.Also should I use software or hardware mode for ADC? Thank you, R.Chanthar ----------------------...


adc problem in lpc2378

Started by jithu_ag18 in LPC20007 years ago 6 replies
ADC

hi I am currently doing my project. Iam handling the mcb2300 board.I am entirely new for the ARM. Can any one tell me how to handle the...

hi I am currently doing my project. Iam handling the mcb2300 board.I am entirely new for the ARM. Can any one tell me how to handle the negative voltages given to the input of the ADC.Because the ADC range which I am using is 0 to 3.3V. Actually I want to give the sine wave as an input to the ADC and read the digital values.... Also please tell me how to see the digital values from the bo...


ADC leakage on LPC2148....?

Started by myfriendmarkis in LPC200012 years ago 2 replies

I'm using the LPC2148 and have a serious problem. I'm using one of the ADC channels to measure battery voltage (across 2AA cells). When the...

I'm using the LPC2148 and have a serious problem. I'm using one of the ADC channels to measure battery voltage (across 2AA cells). When the microcontroller is off there is a current drain path from the batteries through the ADC which flattens the batteries in a few days with the board off.... The input impedance of the ADC is shown as 20k ohms so it is not possible to put a large resi


Faulty ADC readings when using DONE flag

Started by Kevin Townsend in LPC20009 years ago 1 reply

I've been trying to understand why I get faulty (i.e., very erratic) readings from the ADC, with differences of 500 or 600 (on a 10-bit scale)...

I've been trying to understand why I get faulty (i.e., very erratic) readings from the ADC, with differences of 500 or 600 (on a 10-bit scale) between readings. Even stranger is that when the ADC is not connected to anything, I still get very odd readings all over the map from the ADC. Using the code from JC Wren's LPC2148 demo library, and discussing it with him, I've isolated the p...


Polling the ADC in Burst mode

Started by robertfleury in LPC20005 years ago
ADC

Is polling the ADC results registers for the latest readings an acceptable process in the LPC1768 when operating the ADC in "burst" mode? I can...

Is polling the ADC results registers for the latest readings an acceptable process in the LPC1768 when operating the ADC in "burst" mode? I can see it either way really. I was using this method for getting results and when i modified some code away from the ADC proccess, I started getting innacurrate ADC Reads from time to time. I know it takes 65 clocks to read each channel in burst mode, is t...


ADC converter - Burst mode

Started by extra300_it in LPC200013 years ago

I am testing the ADC converter on a LPC2294. The user manual is really 'essential' about the ADC. Is there any application note...

I am testing the ADC converter on a LPC2294. The user manual is really 'essential' about the ADC. Is there any application note / more detailed description concerning the ADC? Has anybody used before the Burst mode, starting and stopping it with a timer interrupt?


ADC analog input capacitance

Started by "hyu...@yahoo.com [lpc2000]" in LPC20003 years ago 2 replies
ADC

Hello everyone I have a doubt that puzzles me on LPC1769 datasheet about ADC It says that there is a maximum analog input capacitance for the...

Hello everyone I have a doubt that puzzles me on LPC1769 datasheet about ADC It says that there is a maximum analog input capacitance for the ADC (Cia). Is this the internal capacitance of the adc or the maximum capacitance i can connect to the adc input?? In http://www.nxp.com/documents/data_sheet/LPC1769_68_67_66_65_64_63.pdf In figure 29 (page 69) the capacitance (Cia) is connected outside ...


ADC Burst mode with Interrupts Enabled... possible?

Started by robertfleury in LPC20005 years ago 9 replies

Hi all, Im trying to get the ADC working reliably on my LPC1763 board under crossworks. Some interesting behaviour I noticed but would like...

Hi all, Im trying to get the ADC working reliably on my LPC1763 board under crossworks. Some interesting behaviour I noticed but would like some confirmation on. My basic implementation is a Timer ISR which sets burst mode active, and an ADC interrupt that is triggered on a set channel where i first disable burst mode and then read the data from the registers. Currently, I have my ADC se...


ADC leakage current followup - TomW

Started by Sutton Mehaffey in LPC200012 years ago 3 replies

Tom, Since Philips isn't responding / hasn't responded to my ADC leakage question, as you said would probably happen, is it safe to say...

Tom, Since Philips isn't responding / hasn't responded to my ADC leakage question, as you said would probably happen, is it safe to say the leakage at the AD0 channels is probably 4ua max? If so, I may put in extra circuitry to handle to slop in measuring battery voltage, or I may just add another ADC to my board. I had an ADC on an 8051 project and it worked great. I just thought that a


Expansion of ADC channels for LPC2114 ?

Started by "kanishka.shah" in LPC20008 years ago 1 reply

Hey...Friends... I would like to know a compatible IC that can be multiplexed with the existing ADC channel. Basically LPC2114 had just 4 ADC...

Hey...Friends... I would like to know a compatible IC that can be multiplexed with the existing ADC channel. Basically LPC2114 had just 4 ADC channels... I would like to extend this to 8 channels in total....I am planning to use CD4067 ADC Multiplexer.... is it a rite choice??..considering it has a measurement range of 0-5V and lpc2114 has measuring range of 0-3V...or is their a better replacem...


adc sampling frequency

Started by omprakash alone in LPC20007 years ago 1 reply

Hi, I am using LPC2148 ARM Controller having 2 adc(6 + 8 channels) and one dac channel. My ADC is having sampling frequency of 410 ksps ad dac...

Hi, I am using LPC2148 ARM Controller having 2 adc(6 + 8 channels) and one dac channel. My ADC is having sampling frequency of 410 ksps ad dac of 400 ksps. but i want both adc should work on max of 500 Hz. For setting sampling frequency of adc/dac ie 500 Hz, what i have to do? Omprakash Alone


Diffbetween Read ADCValue through AD0DR1 and AD0GDR

Started by prab...@yahoo.co.in in LPC20008 years ago 3 replies
ADC

Hi all, I am using ADC channel1(P0.24) in LPC2364.What is the different between ADC value read through AD0DR0 and AD0GDR. If i read...

Hi all, I am using ADC channel1(P0.24) in LPC2364.What is the different between ADC value read through AD0DR0 and AD0GDR. If i read ADC value through AD0GDR,i am getting correct value.But If i read ADC value through AD0DR1,i am always getting the constant value 960.I dont know what is mistake here? Please give me some ideas what may be wrong here??? I am using only channel 1.In ...