ADC converter of two Chanel at the same time

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

ADC converter of two Chanel at the same time

225 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by kemayou21 on Mon Jan 05 03:11:22 MST 2015
i want to convert two different Input voltage at the same time but after the conversion is done i become only one of the two value. Can someone please help me know what i going wrong.
Thx
AD_sel_base->ADCR |= 0x01200303;// AN0.0, 14,4MHz/4, PDN ON, START
AD_0 = (AD_sel_base->ADDR0 >> 6) & 0x3FF;
AD_1 = (AD_sel_base->ADDR1 >> 6) & 0x3FF;        
  AD_sel_base->ADCR |= 0x01200303;
0 Kudos
2 Replies

209 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by kemayou21 on Mon Jan 05 04:35:01 MST 2015
im use LPC2368  MCB2300, what do you mean?
0 Kudos

209 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by R2D2 on Mon Jan 05 03:38:08 MST 2015

Quote: kemayou21
i want to convert two different Input voltage at the same time...



Any hint which MCU you are using or is it just an IDE conversion?
0 Kudos