Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronic Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Register Log in

Pls help me about Idle and Power Down mode of AT89C51 chip !

Status
Not open for further replies.

member_tdh

Member level 5
Joined
Feb 6, 2006
Messages
86
Helped
1
Reputation
2
Reaction score
1
Trophy points
1,288
Activity points
2,187
example power down at89c51

Hi all member!!!
I have a project which need to save power.I still understand about it. Pls help me!!!
 

bobcat1

Advanced Member level 4
Joined
Jul 10, 2002
Messages
1,288
Helped
99
Reputation
198
Reaction score
34
Trophy points
1,328
Activity points
8,547
Re: Pls help me about Idle and Power Down mode of AT89C51 ch

Hi

You can read all about it on the data sheet

Basicly there is 2 mode idle - mode wher osc and int still work and processor consum several mA and Power down mode wher everithing shutdown and current consumption go below 10uA

You can invoc PD mode by writing to PCON register


All the best

Bobi
 

member_tdh

Member level 5
Joined
Feb 6, 2006
Messages
86
Helped
1
Reputation
2
Reaction score
1
Trophy points
1,288
Activity points
2,187
Re: Pls help me about Idle and Power Down mode of AT89C51 ch

Thanks!!!
I have used Idle mode. PCON=0x01; (bit IDL=1).My sys working in Idle mode but has a problem: system is not back to first status until i reset system by hardware (button ReSet on 9 pin of AT89C52).
I want to know how wake up from Idle mode (clear bit IDL=0)???
Can you help me???

if (PCON&=0x01)
{

}
else if (PCON=0x00) // how ???
{

}
 

SphinX

Advanced Member level 3
Joined
Jan 25, 2002
Messages
822
Helped
58
Reputation
116
Reaction score
29
Trophy points
1,308
Location
EGYPT
Activity points
7,051
Salam,

There are two methods only for wakeup from IDLE mode

1- By hardware reset
2- By enabled interrupt

PCON.0 (IDL flag) is cleared by hardware when uC wakeup.
The uC is resume execution from the point after you set IDL

Example

PCON = 1; // Enter IDLE MODE
++x; // On resume by hardware reset or Interrupt (after ISR execution)


Bye
 

member_tdh

Member level 5
Joined
Feb 6, 2006
Messages
86
Helped
1
Reputation
2
Reaction score
1
Trophy points
1,288
Activity points
2,187
Re: Pls help me about Idle and Power Down mode of AT89C51 ch

still have a problem with IDLE mode.
 

member_tdh

Member level 5
Joined
Feb 6, 2006
Messages
86
Helped
1
Reputation
2
Reaction score
1
Trophy points
1,288
Activity points
2,187
Re: Pls help me about Idle and Power Down mode of AT89C51 ch

Thanks all friends!!!
I have successed!!!
 

Status
Not open for further replies.
Toggle Sidebar

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top