Stop3 Current Consumption ~500uA - MC9S08QE8

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Stop3 Current Consumption ~500uA - MC9S08QE8

1,493 次查看
ef24096
Contributor II

Hi all,

i'm using the PE Micro DEMOQE Board with an MC9S08QE8 Daughter Card.

I have measured the current consumption in stop3 mode, which is round about 500uA.
That's too much! The FLL is in FEE Mode.

Code for device initialization

setReg8(SOPT1, 0x61);                
setReg8(SPMSC1, 0x18);               
setReg8(SPMSC2, 0x02);               
clrReg8Bits(SPMSC3, 0x08);           
setReg8(ICSC1, 0x06);                /* Initialization of the ICS control register 1 */
setReg8(ICSC2, 0xC4);               /* Initialization of the ICS control register 2 */
while(!ICSSC_IREFST) {             /* Wait until the source of reference clock is internal clock */
}
clrReg8Bits(ICSSC, 0xE0);         /* Initialization of the ICS status and control */

clrReg8Bits(SCGC1, 0x75);            
clrSetReg8Bits(SCGC2, 0xED, 0x10);   


Have anybody an idea where the problem is?

 

 

Added p/n to subject.



Message Edited by NLFSJ on 2008-05-19 01:38 PM
标签 (1)
1 回复

593 次查看
JimDon
Senior Contributor III
Here is one hint from the errata:

Stop3 IDDSE130-Stop3IDD
Description
An error in the flash memory access logic results in higher than specified stop3 currents. Typical stop3 IDDs are 16–19 μA, whereas the specified typical value is 400 nA.
This erratum will be corrected on production devices.
Workarounds
The specified stop3 currents can be obtained by executing the STOP instruction out of RAM memory instead of from flash memory.


Code:
// This is required for errata on 0M11J Mask set#define Enter_Stop asm(jsr RamStop)static unsigned char RamStop[0x02]= { 0x8E, 0x81};.. (in main)      for(;;)    {        Enter_Stop;          } /* loop forever */

 

.
.
Here is a link to a project that will get 1.5ua using the xtal and 500-600na using the low power internal oscillator. It took me a while to get this right.

Also you must remove certain jumpers from the board. There is a PDF in the zip file that explains this.
After burning flash, you must reset the board to make the BDM let go - I flick the power switch.


Please get back to me and tell what you got.