Low Power Operation on the MCF5213

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Low Power Operation on the MCF5213

3,471 次查看
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

标签 (1)
0 项奖励
回复
3 回复数

530 次查看
Felix
Contributor I
Where did you find it? URL?

TIA
0 项奖励
回复

530 次查看
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 项奖励
回复

530 次查看
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 项奖励
回复