AnsweredAssumed Answered

Nanocore12 MC9S12C32 AN0/PAD00-AN7/PAD07 pins as digital outs

Question asked by Eric Disrud on Aug 27, 2014
Latest reply on Aug 28, 2014 by HSW

Hi,

 

 

I have a Nanocore12 MC9S12C32 microcontroller.  I'm trying to use the Port T (0-7) pins as digital outs, as well as the AN0/PAD00-AN7/PAD07 pins as digital outs at the same time.  I believe this is possible but I can't seem to discern from the documentation how to do this.  I have no issues with Port T but I'm getting nothing out of the AN/PAD pins.  Is there a register that sets those ports to digital outs?  I've tried setting DDRAD to #$FF and then PORTAD to #$FF but nothing seems to happen.  Please advise.  Apologies if this is an obvious or mundane question but I'm a bit stumped.  Any help would be appreciated.

 

 

Thanks,

 

 

Eric

Outcomes