Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics 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.

Power down mode and Idle mode in 8051

Status
Not open for further replies.

ucsam

Advanced Member level 4
Joined
Oct 12, 2010
Messages
119
Helped
3
Reputation
6
Reaction score
3
Trophy points
1,298
Location
kathmandu,nepal
Activity points
2,058
hello!
I want my 8051 to go to idle mode but i don't know what are the advantages over power down mode,
Can you please show me the advantage ( and actual meaning of it! though i went through the datasheet i still cannot get the whole figure) and how to implement it?
I am using KEIL C
 

The power saving modes are entered by setting bits in the PCON register. I don't know what should be said about these modes other than retelling the data sheet text, which you already know, apparently. I guess, you noticed the difference between both modes regarding peripheral operation and interrupts, otherwise, you should read it more thoroughly.
 

in the idle mode , by setting IDL bit in PCON ,
it makes the processor in idle state .
In this state, clock signal is available to all peripherals but not to CPU.

an interrupt can resume the idle state to normal state and cpu start executing where it left.

in the PowerDown mode , clock is gated off to all sections including the peripherals. when put in powerdown mode , the supply voltage can be reduced to 2v to keep the internal ram intact.
To comeout of powerdown mode , a hardware reset should be applied.
when comingout from pd mode at hw rest , cpu can execute where it left.

during those modes of idle and power down all state of internal periherals are maintained .

advantage---power consumption.

idle:approx--6mA.
powerdown: approx--40microampere.
 
  • Like
Reactions: ucsam

    ucsam

    Points: 2
    Helpful Answer Positive Rating
the part that confused me is "What will happen to the system if we don't provide clock to CPU?" since, we need reset to comeout of power down mode i prefer to use idle mode.

can u please help me how can i initialize idle mode in Keil C?
 

which interrupt? edge triggered or level triggered? I tried doing both of them but both doesn't work! :|
 

The 8051 documents says any enabled interrupt. I can't give additional hints in this regard. Perhaps you didn't enable the interrupt correctly.
 

i did! but my system just doesn't resumes. The data sheet says its a level triggred but my sys still doesnt resume! :(
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top