VREF and Multiple ADCs on Kinetis

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

VREF and Multiple ADCs on Kinetis

Jump to solution
2,105 Views
Jeinstei
Contributor II

I noticed that if I have two ADC modules in a PE project, then it complains that the VREF pins can't be used by both modules at the same time. It gives a "peripheral is in use"  message. Is this a PE bug?

0 Kudos
Reply
1 Solution
1,582 Views
ProcessorExpert
Senior Contributor III

Hello,

 

the pin sharing button must be un-pressed in one ADC_LDD. As far as I know, this is documented in the PEx help and some comments are also in PEx cheatsheets.

 

 Help -> Help Contenst

 Help -> Cheat Sheets...

 

However, I am passing your complain to developers, to consider improving this behavior.

 

best regards
Vojtech Filip
Processor Expert Support Team

View solution in original post

0 Kudos
Reply
3 Replies
1,582 Views
ProcessorExpert
Senior Contributor III

Hello,

 

this is not a bug, see the link below for details:

 

https://community.freescale.com/message/94772#94772

 

best regards
Vojtech Filip
Processor Expert Support Team

 

0 Kudos
Reply
1,582 Views
Jeinstei
Contributor II

This doesn't seem to make any sense as it is representing the ADC modules in the processors as devices that conflict, when they do not. There's currently nothing in the help file that describes this nor is this restriction inherent in the processor itself.

 

I thought that pin sharing required some fancy footwork; I currently have it setup on both modules, and it sys "peripheral must be set and initialized in another module" when it IS initialized and set up in another module.

 

It seems curious that such bus signals should have peripheral restrictions levied on them.

0 Kudos
Reply
1,583 Views
ProcessorExpert
Senior Contributor III

Hello,

 

the pin sharing button must be un-pressed in one ADC_LDD. As far as I know, this is documented in the PEx help and some comments are also in PEx cheatsheets.

 

 Help -> Help Contenst

 Help -> Cheat Sheets...

 

However, I am passing your complain to developers, to consider improving this behavior.

 

best regards
Vojtech Filip
Processor Expert Support Team

0 Kudos
Reply