adc/dac sampling frequency settings

Started by omprakash alone in LPC20007 years ago 2 replies

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/dac should work on max of 500 Hz. For setting sampling frequency of adc/dac ie 500 Hz, what i have to do? Omprakash Alone


LPC210x ADC Config Utility

Started by Jason in LPC20007 years ago 2 replies

Just made another tool! this time for ADC. Using the LPC210x. http://atomsoft.wordpress.com/2010/11/04/lpc210x-adc-quick-setup/ Will be...

Just made another tool! this time for ADC. Using the LPC210x. http://atomsoft.wordpress.com/2010/11/04/lpc210x-adc-quick-setup/ Will be adding it to this group also. ------------------------------------


problem in reading Global DONE bit for ADC0

Started by naderus2000 in LPC200011 years ago 1 reply

I used ADC0.3 for sampling MIC signal on the IAR KIT and then immediately write the ADC value to DAC that connect to an LM386. I used Timer0...

I used ADC0.3 for sampling MIC signal on the IAR KIT and then immediately write the ADC value to DAC that connect to an LM386. I used Timer0 that intterupted every 22us for get ADC value and write it to DAC.I do this in Match mode only and use simple polling mode for ADC.I also set ADC clock to max speed 60/14=4.2MHZ


ADC DOUBT

Started by omprakash alone in LPC20008 years ago

Hi, I am using sine wave from generator as a ADC(10-bit) i/p without using interrupt. The sampled value what i am getting after ADC...

Hi, I am using sine wave from generator as a ADC(10-bit) i/p without using interrupt. The sampled value what i am getting after ADC conversion is too high. After that I want to perform operations on that values. Here is sampled code, where the sampled value will copied into the *INIT VARIABLE BY USING FIFO. ? while(1) do{ ?value= AD1DR0;//NEW_DATA[k++]=value; ?}while((value & 0x80...


Error reading the ADC

Started by soren_t_hansen in LPC200013 years ago 1 reply
ADC

I have set up the ADC to run in hardware mode, and is sampling at a rate of 60 Khz over 4 channels. I use the Keil MCB2130 eval. board, ...

I have set up the ADC to run in hardware mode, and is sampling at a rate of 60 Khz over 4 channels. I use the Keil MCB2130 eval. board, which means, that I have a Potmeter connected to my AIN0. But when I read my channel 0 in the interrupt method, I keep getting 0 nomatter what. I have the following setup for my ADC: AD0CR = 0x0023180F; //AIN


LPC1678 ADC input impedance

Started by nave...@yahoo.com in LPC20007 years ago 18 replies
ADC

I'm trying to measure battery voltage (12V) using the LPC1768. I was planning to use some voltage dividers (100K in series and 33K to GND)and...

I'm trying to measure battery voltage (12V) using the LPC1768. I was planning to use some voltage dividers (100K in series and 33K to GND)and connect to ADC the divided voltage to get a 0-3V ADC input for 0-12V battery voltage range. I wanted to ensure that the LPC1768 ADC's input impedance was high enough for these voltage dividers. Upon going through the ADC data in the LPC1768 datasheet I could...


LPC ADC (Analog Digital Convertor) speed and its competitors

Started by sanylcs in LPC20008 years ago 1 reply

Recently, I found that LPC2xxx, LPC17xx or LPC11xx ADC sampling rate can go up to 400kHz or less. Its competitors such as STmicro, TI Luminary...

Recently, I found that LPC2xxx, LPC17xx or LPC11xx ADC sampling rate can go up to 400kHz or less. Its competitors such as STmicro, TI Luminary Micro and Energy Micro ARM cortex M3 MCU has ADC that can sample up to 1MSPS, I believe it stand for 1 mega samples per second. Am I wrong or NXP's ADC is kind slower than its competitors? Since NXP only 0.4MSPS while others are 1MSPS. Please correct me ...


ADC slow sampling rate problem

Started by heedaf in LPC200012 years ago 2 replies

I'm using the following code for the ADC with the LPC2148 and=20 Rowley's CrossWorks: //configuration// ADCR =3D (1 < < 0)| //SEL =3D 1,...

I'm using the following code for the ADC with the LPC2148 and=20 Rowley's CrossWorks: //configuration// ADCR =3D (1 < < 0)| //SEL =3D 1, dummy channel #1 ((15000000/4500000)-1) <


ADC returns 0 when used with PWM on LPC2148

Started by "ben...@yahoo.com [lpc2000]" in LPC20003 years ago 4 replies

I am writing some code for the LPC2148. I have some working ADC code using AD0.3 on P0.30. After adding PWM using PWM5 on P0.21 with match...

I am writing some code for the LPC2148. I have some working ADC code using AD0.3 on P0.30. After adding PWM using PWM5 on P0.21 with match interrupts, the ADC always returns 0. I have been unable to determine why. Any help would be appreciated. Here is the code for each: ADC Code: // Select P0.30 as AD0.3 PINSEL1 |= (1 < < 28); int GetADCResult(void) { int result = 0; // Perform


LPC2138 ADC

Started by stiffsoft in LPC200013 years ago 4 replies

Hello, Does anyone have any C code that actually reads the MCB2130 hardware ADC on AIN1 (the potentiometer tied to P0.28) they would be ...

Hello, Does anyone have any C code that actually reads the MCB2130 hardware ADC on AIN1 (the potentiometer tied to P0.28) they would be willing to share? I have tried the Keil code, the Hitex example code, manipulating bit values, etc., for most of 2 days and cannot get ADC to return a value that I can display via COM1 on the MCB2130. The code I have be


LPC24xx ADC fifo

Started by "joris.mushrooms" in LPC20008 years ago 2 replies

Hey ! First, i'd like to thank everyone for their help on my previous posts! your advices were crucial for me. Today, i'm working around...

Hey ! First, i'd like to thank everyone for their help on my previous posts! your advices were crucial for me. Today, i'm working around adcs of lpc2478. I wonder if there are fifos on the adc. somewhere in the datasheet we can read, talking about adc "in non-fifo mode" but there is nothing about the fifo mode anywhere else. Can anybody confirm me there is no fifo? i also think the DMA i...


ARM with 12-bit ADC

Started by ravi in LPC200010 years ago 12 replies

Hi All, We have a project using 12-bit ADC. Any one has idea on chip vendors who manufacture 12-bit 8 channel ADC. I found one from ST...

Hi All, We have a project using 12-bit ADC. Any one has idea on chip vendors who manufacture 12-bit 8 channel ADC. I found one from ST (STM32), but these are based on Cortex M3 and and getting them to India is also difficult. We tried to get them, but we couldn't. We are looking for ARM7/ARM9 based controllers. Any kind of info we help us a lot. Regards ravi


ADC not working after power down

Started by Tim Mitchell in LPC20004 years ago 4 replies

I'm trying to write an application using the "power down" mode of the LPC1754. The ADC works fine before I invoke power down. When the...

I'm trying to write an application using the "power down" mode of the LPC1754. The ADC works fine before I invoke power down. When the device wakes up, I cannot get the ADC to work again, despite re-initialising it from scratch. All other peripherals and interrupts seem to be working. It's driving me slightly bonkers, does anyone have any ideas? -- Tim Mitchell ---------------------...


24 bit ADC interfacing with LPC2378 using I2S

Started by sukhdeep singh in LPC20009 years ago 2 replies
ADC

hi,=C2=A0 =C2=A0i want to interface 24 bit ADC interfacing with LPC2378 usi= ng I2S protocol. i am using ADC CS5361.if i shall enable 32 bit word...

hi,=C2=A0 =C2=A0i want to interface 24 bit ADC interfacing with LPC2378 usi= ng I2S protocol. i am using ADC CS5361.if i shall enable 32 bit word width.= then how can it read 24 bit data.because it will change WS after recieving= 32 bit data.but ADC will give 24 bit after that it expected that WS should= be changed to show 24 bit data of another channel.=C2=A0how can i manage t= his proble...


LPC2378 ADC Result Error!

Started by quesha0811 in LPC20006 years ago 7 replies

Hello...I am trying to use the ADC of LPC2378 from olimex lpc2378-stk kit...i am able to read the value but there is a difference in the value...

Hello...I am trying to use the ADC of LPC2378 from olimex lpc2378-stk kit...i am able to read the value but there is a difference in the value displayed from the actual value...i have tried 3 sets of readings as follows: 1.302V (input - observed from Digital multimeter) - 1.875V (displayed by ADC) 2.639V (input - observed from Digital multimeter) - 2.871V (displayed by ADC) 1.980V (input ...


Problem with ADC by manual reset

Started by "NAGARAJU R." in LPC200010 years ago

Hi, I am using the lpc2138. On power On and Watch dog reset my system works fine(All ADc channels get convert, LCD works properly and...

Hi, I am using the lpc2138. On power On and Watch dog reset my system works fine(All ADc channels get convert, LCD works properly and communication through UART0 works fine..etc). But when I manually Reset the MCU on RESET pin, my LCD is not getting initialized and ADC channels AD0.6,AD0.7 and AD1.0 are not converting(returning adc count as zero.). left of all tasks like commnicat...


LPC2131 ADC Input Impedance

Started by drb5599 in LPC200013 years ago 3 replies

Sorry if this is an obvious question. But, I have looked at the User Manual, and all other documentation I have and can not find a ...

Sorry if this is an obvious question. But, I have looked at the User Manual, and all other documentation I have and can not find a specification for input impedance on the ADC input pins???? Does anybody know what this impedance is?? I am going to be feeding a signal with a 200k impedance to one of the ADC inputs and am trying to figure out if I


Level 'dip' in the ADC readings

Started by uohgren in LPC200010 years ago 7 replies

When I send out packets on the Ethernet port on the LPC2368 I can see a clear 'dip' in the continuos ADC readings at the time for the Ethernet...

When I send out packets on the Ethernet port on the LPC2368 I can see a clear 'dip' in the continuos ADC readings at the time for the Ethernet packet sending. Anyoue experienced this? I use the same decoupling vaules as the reference design, is this enough or should I add more? Should I stabilize the ADC power input? /Ulf ------------------------------------


LPC1768 ADC read issues

Started by joryn81 in LPC20007 years ago 16 replies

Hi All, I've tried posting this in the lpc1000 group but I don't think enough people take a look over there. Hopefully someone on this group...

Hi All, I've tried posting this in the lpc1000 group but I don't think enough people take a look over there. Hopefully someone on this group has taken a look at the LPC17XX micros. I've recently gotten a project compiled and running on the LPC1768 (ported from a 2368 project) and everything seems to be running really well except for the ADC. Specifically the ADC module doesn't appear to ...


lpc2378 adc problem line ad0.4 and ad0.7

Started by DeV in LPC20006 years ago 4 replies

this is with regard to the adc of lpc2378-stk olimex kit..the line 0.4 is marked as +5V USB and is thus always high even if i select its function...

this is with regard to the adc of lpc2378-stk olimex kit..the line 0.4 is marked as +5V USB and is thus always high even if i select its function as adc input...also line adc 0.7 is also showng a voltage of 2.x V and wen we connect our analog voltage to it for measurement it shows a offset value even wen i select this pin function as adc0.7...kindly suggest me wats the problem?? thanks in adv...