Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
04/26/05 07:31
Read: times


 
#92356 - AT89S8252 in Power Down mode
Hello! In one of my devices, the microcontroller AT89S8252 (rev.U) is powered from power switch, which switches between battery 3,6V and main 5V supplies. I am using INT1 input (falling edge triggered) to enter the microcontroller into power down mode. The mode is entered after switching power supply off. Below is the interrupt 1 service routine:

;interrupt service
IrqExt1:
clr EX1
mov P1,#INIT_FOR_P1
mov P2,#INIT_FOR_P2
mov P3,#INIT_FOR_P3
orl PCON,#2 ;(I used also MOV PCON,#2 instead)
ajmp $

;interrupts initializing
...
setb PT1
setb PX1
clr IT0
setb IT1
setb EX1
setb ET1
setb EA
...

After switching power off, the current flowing from battery equals 12 uA, but sometimes it is 70 uA up to 120 uA! And I cannot find why. The battery supplies only AT89S8252. Does anyone have similiar problem in the past? Now I am trying to use another microcontroller to find out, if the result of current measuring will be the same.

Regards,
Jacek

List of 9 messages in thread
TopicAuthorDate
AT89S8252 in Power Down mode            01/01/70 00:00      
   try this            01/01/70 00:00      
   maybe I solved the problem            01/01/70 00:00      
      maybe            01/01/70 00:00      
         ISR vs 'main'            01/01/70 00:00      
            could you...            01/01/70 00:00      
               reasons            01/01/70 00:00      
   You found same thing as me...            01/01/70 00:00      
      I know you ask and wonder,,,            01/01/70 00:00      

Back to Subject List