This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hey,
i want to use ADC 14 Port 4.0-3 (A10, A11, A12, A13 ) and 6.1+6.0 (A14,A15)
init_ports:
P4SEL1 |= BIT3 | BIT2 | BIT1 | BIT0; P4SEL0 |= BIT3 | BIT2 | BIT1 | BIT0; // ADC A14! A15! P6SEL1 |= BIT1 | BIT0; P6SEL0 |= BIT1 | BIT0;
and store the values in the ADC Register
init_adc_mem:
ADC14MCTL10 |= ADC14INCH_10 | ADC14VRSEL_0; // ref+= 3,3 V, channel = A10 ADC14MCTL11 |= ADC14INCH_11 | ADC14VRSEL_0; // ref+= 3,3 V, channel = A11 ADC14MCTL12 |= ADC14INCH_12 | ADC14VRSEL_0; // ref+= 3,3 V, channel = A12 ADC14MCTL13 |= ADC14INCH_13 | ADC14VRSEL_0; // ref+= 3,3 V, channel = A13 ADC14MCTL14 |= ADC14INCH_14 | ADC14VRSEL_0; // ref+= 3,3 V, channel = A14 ADC14MCTL15 |= ADC14INCH_15 | ADC14VRSEL_0; // ref+= 3,3 V, channel = A15
but if i look in the ADCMCTLx there is no channel 10-15:
What did i wrong? i need 19 ADC Channels as input :S
**Attention** This is a public forum