Problems configuring ADC in the component inspector

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

Problems configuring ADC in the component inspector

Jump to solution
1,575 Views
m4l490n
Contributor V

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

 

Labels (1)
Tags (1)
0 Kudos
1 Solution
1,118 Views
ProcessorExpert
Senior Contributor III

Hi,

 

I have reproduced the problem using the plain CodeWarrior 10.2 and it disappeared when I installed the MCU 10.2 Update 1.0.0. Please install that update and it should be fixed. You can use the menu command Help > Install new software...

 

best regards
Petr Hradsky
Processor Expert Support Team

 


View solution in original post

0 Kudos
4 Replies
1,118 Views
BlackNight
NXP Employee
NXP Employee

Hello,

make sure you enable the sample in the Queue settings.

See attached image.

 

Hope this helps,

BK

0 Kudos
1,118 Views
peBeg
Contributor I

Hi all,

It seems i got the same problem using Processor expert for ADC.

I use following configuration:

Codewarrior 10.2 Special edition

MCF52233 Demo board.

 

I tried almost every possibility but still I cannot set in "Queue" settings

anything. All the time I have 0 value even when "Sample" is set to "Enabled".

In attachment screen with warning i'm getting.

 

I just started with Processor expert and I do not really know what am I doing wrong.

0 Kudos
1,119 Views
ProcessorExpert
Senior Contributor III

Hi,

 

I have reproduced the problem using the plain CodeWarrior 10.2 and it disappeared when I installed the MCU 10.2 Update 1.0.0. Please install that update and it should be fixed. You can use the menu command Help > Install new software...

 

best regards
Petr Hradsky
Processor Expert Support Team

 


0 Kudos
1,118 Views
peBeg
Contributor I

hi,

thanks It works.

0 Kudos