Low power mode HCS12

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

Low power mode HCS12

686 Views
bastbare
Contributor II

Hey, I'm student and i'm working with the MC9S12DP512. My project is to put the µC into the different modes of consumption.

My μC is mounted on a board with only 2 buttons on PT7 & PT6 (vector address FFE0 / FFE2). Is it possible to wake up the μC with one of these interruptions? Currently, it consumes 50mA and I'd like to pass below 15mA.

I read the application note with the instructions to use : asm ANDCC #0x7F; / asm WAI or STOP ... 

So, do you have some example ?

Thanks 

0 Kudos
Reply
2 Replies

575 Views
bastbare
Contributor II

Hi, 

I didn't read this application note. I understand my problem now. I'll come back if necessary when i'll have a new card with the good mapping for the low power modes.

Thanks a lot :smileywink:  

Bastien

0 Kudos
Reply

575 Views
danielmartynek
NXP TechSupport
NXP TechSupport

Hi,

Unfortunately, port interrupts are available only on port P, H and J.  See Table 3-2. In S12DP256PIMV3.

 

Regards,

Daniel

0 Kudos
Reply