AnsweredAssumed Answered

Problems configuring ADC in the component inspector

Question asked by Manuel Malagon on Mar 18, 2012
Latest reply on Jun 26, 2012 by Adam Michno

Hi every one

 

   I have a TWR-MCF255X board and as you know this board has an accelerometer and a potentiometer. What I'm trying to do is develop a simple application just to start using this board because I'm new at freescale MCUs.

 

At the component inspector the configuration I choose is the following for the "A/D channels"

 

_________________________________________________________

 

- A/D channels                                          4

 

      -  Channel0

              A/D channel (pin)                        AN0_PAN0

              A/D channel (pin) signal            ACCX

           + Mode select                                Single Ended

      -  Channel1

              A/D channel (pin)                        AN1_PAN1

              A/D channel (pin) signal            ACCY

           + Mode select                                Single Ended

      -  Channel2

              A/D channel (pin)                        AN2_PAN2

              A/D channel (pin) signal            ACCZ

           + Mode select                                Single Ended

      -  Channel3

              A/D channel (pin)                        AN3_PAN3

              A/D channel (pin) signal            POT

           + Mode select                                Single Ended

_________________________________________________________


   The problem comes because a warning appears at the column "description" for the channel 1, 2 and 3, the warning says "Warning: This channel is not included in the list of samples. The channel won't be measured" and when I try to put this channels in the subcategories "Sample1, Sample2 and Sample3" respectively in the category "Queue" it doesn't allow me to change the values to other different than 0 that is already there for default. If I put other number different than "0" and hit enter it automatically returns to "0"

 

I don't know what am I doing wrong. Can anyone help me please?

 

Thank you very much for helping!! Regards

 

Outcomes