Low Power Operation on the MCF5213

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

Low Power Operation on the MCF5213

3,363 Views
Gcoakley
Contributor I

Hello All,

Can anyone provide any assistance on Low Power Operation on the MCF5213?  I believe I have the registers (LPCR, LPICR, PPMRH, and PPMRL) set correctly, but I cannot find the "STOP instruction" mentioned in the "MCF5213 Reference Manual".  Is there sample code available which illustrates Low Power Operation?  Thank you.

gcoakley

Labels (1)
0 Kudos
3 Replies

422 Views
Felix
Contributor I
Where did you find it? URL?

TIA
0 Kudos

422 Views
Gcoakley
Contributor I

Here are the links, I found.

http://www.freescale.com/files/32bit/doc/app_note/AN3236.pdf

http://www.freescale.com/files/netcomm/software/app_software/code_examples/MCF5213SC.zip

The code example (power) also requires the following definitions.

#define stop_2700() asm(" stop #0x2700")
#define stop_2600() asm(" stop #0x2600")
#define stop_2500() asm(" stop #0x2500")
#define stop_2400() asm(" stop #0x2400")
#define stop_2300() asm(" stop #0x2300")
#define stop_2200() asm(" stop #0x2200")
#define stop_2100() asm(" stop #0x2100")
#define stop_2000() asm(" stop #0x2000")

-gcoakley

0 Kudos

422 Views
Gcoakley
Contributor I
Ok.  I have found the solution myself.  Thank you Freescale, it only took three days of searching through your confusing website with your poor search engine to find sample code and documentation.
 
gcoakley
0 Kudos