Problems configuring ADC in the component inspector

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

Problems configuring ADC in the component inspector

跳至解决方案
2,676 次查看
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

 

标签 (1)
标记 (1)
0 项奖励
回复
1 解答
2,219 次查看
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 项奖励
回复
4 回复数
2,219 次查看
BlackNight
NXP Employee
NXP Employee

Hello,

make sure you enable the sample in the Queue settings.

See attached image.

 

Hope this helps,

BK

0 项奖励
回复
2,219 次查看
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 项奖励
回复
2,220 次查看
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 项奖励
回复
2,219 次查看
peBeg
Contributor I

hi,

thanks It works.

0 项奖励
回复