Component Inspector keeps changing pin assignments

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

Component Inspector keeps changing pin assignments

跳至解决方案
1,432 次查看
jrmymllr
Contributor I

I'm trying to assign pins in Component  Inspector, and when I change certain ones, it will say "ERROR: Pin number differs from requested value: x" where x is a number.  Then I change the next bit assignment on the same port, and it changes other assignments by itself (and highlights everything yellow). 

 

See screenshot for better explanation.  I have set bits 0 and 1.  If I set bit 2 to the pin the mouse pointer is on, it will change bits 0 and 1 to D7 and D0, respectively from D3 and D2. 

 

What is going on here?  I've used this before and haven't had this problem until now. 

 

This is CW 10.1 for MCF52259.

0 项奖励
回复
1 解答
1,233 次查看
ProcessorExpert
Senior Contributor III

Hello,

 

there could be 2 problems.

 

#1

All the bits/pins must belong to the same port and must be dealt with contiguous. For example, Port 0/Pins 0, 1, 2, 3 is correct whereas Port 0/Pins 0, 1, 3, 4 is not correct because the pins are not fully contiguous (unallocated pin 2 constitutes a gap between pin 1 and pin 3. For more details please see ttached screenshot.

 

#2

There could also problem in UI. So please close and open the project where is the problem and try to select the pins according to instructions in point 1.

 

best regards
Vojtech Filip
Processor Expert Support Team

在原帖中查看解决方案

0 项奖励
回复
1 回复
1,234 次查看
ProcessorExpert
Senior Contributor III

Hello,

 

there could be 2 problems.

 

#1

All the bits/pins must belong to the same port and must be dealt with contiguous. For example, Port 0/Pins 0, 1, 2, 3 is correct whereas Port 0/Pins 0, 1, 3, 4 is not correct because the pins are not fully contiguous (unallocated pin 2 constitutes a gap between pin 1 and pin 3. For more details please see ttached screenshot.

 

#2

There could also problem in UI. So please close and open the project where is the problem and try to select the pins according to instructions in point 1.

 

best regards
Vojtech Filip
Processor Expert Support Team

0 项奖励
回复