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
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
Hi,
Unfortunately, port interrupts are available only on port P, H and J. See Table 3-2. In S12DP256PIMV3.
Regards,
Daniel