Hello,
i am using msp430f5419a controller, so the problem is actual sleep current is 3.6uA but its taking above 4uA like 20uA and 30uA , what is this issue ? how it will occur?
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hello,
i am using msp430f5419a controller, so the problem is actual sleep current is 3.6uA but its taking above 4uA like 20uA and 30uA , what is this issue ? how it will occur?
Hi,
Not sure what you mean with sleep current.
The MSP has different Low power modes.
Which one have you tried to use?
I recommend to start with a code example from F5419A product folder.
Best regards
Lukas
Hi Lukas,
i am using multiple of MSP430F5419A controllers with LPM3 but some controllers are working fine with 3.6uA and some other controller sleep current is very high(50uA).
all controllers used with same code(LPM3)
please comment me what is issue and tell me how can i test.
regards ,
jagadeesh
I recommend to use the code example from F5438A product folder / resource explorer if using CCS.
#include <msp430.h>
int main(void)
{
WDTCTL = WDTPW+WDTHOLD; // Stop WDT
P7SEL |= 0x03; // Select XT1
UCSCTL6 &= ~(XT1OFF); // XT1 On
UCSCTL6 |= XCAP_3; // Internal load cap
// Loop until XT1,XT2 & DCO stabilizes
do
{
UCSCTL7 &= ~(XT2OFFG + XT1LFOFFG + XT1HFOFFG + DCOFFG);
// Clear XT2,XT1,DCO fault flags
SFRIFG1 &= ~OFIFG; // Clear fault flags
}while (SFRIFG1&OFIFG); // Test oscillator fault flag
UCSCTL6 &= ~(XT1DRIVE_3); // Xtal is now stable, reduce drive
// strength
P1OUT = 0x00;
P2OUT = 0x00;
P3OUT = 0x00;
P4OUT = 0x00;
P5OUT = 0x00;
P6OUT = 0x00;
P7OUT = 0x00;
P8OUT = 0x00;
P9OUT = 0x00;
P10OUT = 0x00;
P11OUT = 0x00;
PJOUT = 0x00;
P1DIR = 0xFF;
P2DIR = 0xFF;
P3DIR = 0xFF;
P4DIR = 0xFF;
P5DIR = 0xFF;
P6DIR = 0xFF;
P7DIR = 0xFF;
P8DIR = 0xFF;
P9DIR = 0xFF;
P10DIR = 0xFF;
P11DIR = 0xFF;
PJDIR = 0xFF;
__bis_SR_register(LPM3_bits); // Enter LPM3
__no_operation(); // For debugger
}
**Attention** This is a public forum