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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
Mikkel C. Simonsen
06/11/13 18:00
Read: 973 times
Haderslev
Denmark


 
#189923 - More checks
Responding to: Jim Granville's previous message
Jim Granville said:
Was that a CMOS drive Osc ?

It came from the big box of mixed crystals, so I can't be too sure. I did check that it puts out the correct frequency.

What is Icc in Idle, with XTAL1 pin held H/L ?

With the clock on, the current is 2.64mA. I tried disconnecting Vcc from the oscillator - the current drops to 0.98mA. The power supply to the oscillator is separate, so it doesn't affect the measurements.

To be certain you are in idle, put a loop that toggles a pin after the IDLE, and a line that clears another pin, just before you hit idle.

The earlier pin should be low and following pin should be static.
It may 'get in' one toggle, depending on the code flow.

I tested with this code:

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

void main(void)
{
P1M0 = 0x00;	//P1 i output mode
P1M1 = 0xff;	//P1 i output mode

P1 = 0xff;
P1_4 = 0;

while(1)
	{
	PCON = 1;	//Start idle mode (go to sleep)
	P1_6 = 0;
	}
}
 

P1.4 goes low, P1.6 stays high.

So the solution is simple - run the LP214 with no clock at all! ;)

Mikkel

List of 44 messages in thread
TopicAuthorDate
Low-power MCU needed      Mikkel C. Simonsen      06/09/13 13:58      
   OK, but wrong      Erik Malund      06/09/13 15:33      
      Wrong how?      Mikkel C. Simonsen      06/09/13 16:30      
         Silabs options      Jim Granville      06/09/13 16:53      
            C8051F99x      Maarten Brock      06/10/13 13:06      
               Silabs      Mikkel C. Simonsen      06/10/13 17:17      
                  look it up      Erik Malund      06/10/13 19:28      
                     Looked up      Mikkel C. Simonsen      06/11/13 16:26      
                        f53, no      Erik Malund      06/11/13 17:37      
                        C8051F537A is OK      Jim Granville      06/11/13 19:31      
         the current in active mode is not the issue      Erik Malund      06/10/13 05:30      
            Inactive current      Mikkel C. Simonsen      06/10/13 16:41      
         re: wrong      Jacob Boyce      06/10/13 06:56      
            Consumers      Mikkel C. Simonsen      06/10/13 09:54      
   Zilog Z51F0410       Jim Granville      06/09/13 16:46      
      Zilog      Mikkel C. Simonsen      06/10/13 17:01      
   Check you are entering idle ?      Jim Granville      06/09/13 16:48      
   idle current      Jan Waclawek      06/09/13 22:27      
      Idle test      Mikkel C. Simonsen      06/10/13 10:57      
         re:      Jacob Boyce      06/10/13 13:10      
            It floats! It floats!      Mikkel C. Simonsen      06/10/13 14:18      
               re:floats      Jacob Boyce      06/10/13 14:52      
               re:floats      Jacob Boyce      06/10/13 15:10      
                  Timers      Mikkel C. Simonsen      06/10/13 15:27      
         More idle tests      Jim Granville      06/10/13 19:33      
            Better regulator?      Mikkel C. Simonsen      06/11/13 18:19      
               LR8K4 450V regulator       Jim Granville      06/11/13 19:53      
         also try CLKREG      Jim Granville      06/10/13 19:47      
            Clk Dividers are a good idea      Jim Granville      06/11/13 01:03      
               No dividers      Mikkel C. Simonsen      06/11/13 18:11      
                  LP52 is cheaper too...      Jim Granville      06/11/13 20:04      
                     LP52      Mikkel C. Simonsen      06/17/13 20:24      
                        No GND pin?      Maarten Brock      06/18/13 11:34      
         re:idle      Jacob Boyce      06/11/13 13:30      
         Totally idle      Mikkel C. Simonsen      06/11/13 16:22      
            Checks      Jim Granville      06/11/13 16:33      
               More checks      Mikkel C. Simonsen      06/11/13 18:00      
                  Power Down ?      Jim Granville      06/11/13 18:59      
                  test setup      Jacob Boyce      06/12/13 08:33      
   STC      Mikkel C. Simonsen      08/17/13 18:22      
      C8051F86x/85x ?      Jim Granville      08/17/13 23:32      
      Maybe not such a good choice, after all?      Andy Neil      08/28/13 14:21      
         Support?      Mikkel C. Simonsen      08/28/13 14:31      
            '51 support      Erik Malund      08/28/13 15:49      

Back to Subject List