This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

89S52 consume more current in power down mode

Hi all....
i am trying to work on power down modw using 89S52.
the code is just simple.

#include<reg51.h>
#include <stdio.h>
unsigned char ex0_ISR_counter = 0;

void ex0_ISR (void) interrupt 0
{
ex0_ISR_counter++;
}
void main()
{
EA=1;
EX0=1;
PCON |= 0x02;
  while (1)
     {
     }
}


Thats my basic code to test power down mode.
my problem is it consumes about 0.500ma of current.
but the data sheet says current consumption in power down mode is 50 microamp.
i have not connected any components to my circuit.
my circuit contains only 89S52, 11.05962 Crystal, 33pf capacitors for crystals and li-ion Battery.
please help me out of this....
Thanks.