lpcware

ADC converter of two Chanel at the same time

Discussion created by lpcware Employee on Jun 15, 2016
Latest reply on Jun 15, 2016 by lpcware
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;

Outcomes