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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
06/10/13 16:57
Read: times


 
#189902 - Idle test
Responding to: ???'s previous message
As you and Jim suggested, I have done a test with even simpler software. I have tested with this code:

#include <89LP214.h>
#include <absacc.h>
#include <stdio.h>

#define	OUTP1	P1_6
#define	OUTP2	P1_4
#define	OUTP3	P1_1
#define	OUTP4	P1_0


void main(void)
{
TMOD = 0x11;	//Setup timers - 2 * Mode 1
CLKREG = 0xF0;	//Divider timerclock med 16
P1M0 = 0x00;	//P1 i output mode
P1M1 = 0xff;	//P1 i output mode

while(1)
	{
	TR1 = 1;
	//EA = 1;

	PCON = 1;	//Start idle mode (go to sleep)
	}
}

 

The should do nothing except start the timer, and enter idle mode. Using this code, I get 2.53mA with the ceramic resonator, and 2.41mA with the internal clock. With no �µC installed, the consumption (voltage regulator) is 0.21mA.

The 8MHz/internal clock consumption matches the datasheet just fine, but does the crystal oscillator really "steal" this much power?

Mikkel

List of 44 messages in thread
TopicAuthorDate
Low-power MCU needed            01/01/70 00:00      
   OK, but wrong            01/01/70 00:00      
      Wrong how?            01/01/70 00:00      
         Silabs options            01/01/70 00:00      
            C8051F99x            01/01/70 00:00      
               Silabs            01/01/70 00:00      
                  look it up            01/01/70 00:00      
                     Looked up            01/01/70 00:00      
                        f53, no            01/01/70 00:00      
                        C8051F537A is OK            01/01/70 00:00      
         the current in active mode is not the issue            01/01/70 00:00      
            Inactive current            01/01/70 00:00      
         re: wrong            01/01/70 00:00      
            Consumers            01/01/70 00:00      
   Zilog Z51F0410             01/01/70 00:00      
      Zilog            01/01/70 00:00      
   Check you are entering idle ?            01/01/70 00:00      
   idle current            01/01/70 00:00      
      Idle test            01/01/70 00:00      
         re:            01/01/70 00:00      
            It floats! It floats!            01/01/70 00:00      
               re:floats            01/01/70 00:00      
               re:floats            01/01/70 00:00      
                  Timers            01/01/70 00:00      
         More idle tests            01/01/70 00:00      
            Better regulator?            01/01/70 00:00      
               LR8K4 450V regulator             01/01/70 00:00      
         also try CLKREG            01/01/70 00:00      
            Clk Dividers are a good idea            01/01/70 00:00      
               No dividers            01/01/70 00:00      
                  LP52 is cheaper too...            01/01/70 00:00      
                     LP52            01/01/70 00:00      
                        No GND pin?            01/01/70 00:00      
         re:idle            01/01/70 00:00      
         Totally idle            01/01/70 00:00      
            Checks            01/01/70 00:00      
               More checks            01/01/70 00:00      
                  Power Down ?            01/01/70 00:00      
                  test setup            01/01/70 00:00      
   STC            01/01/70 00:00      
      C8051F86x/85x ?            01/01/70 00:00      
      Maybe not such a good choice, after all?            01/01/70 00:00      
         Support?            01/01/70 00:00      
            '51 support            01/01/70 00:00      

Back to Subject List