Part Number: MSP430FR5969
Hi experts,
Please let me confirm the concept of power consumption of MSP430FR5969.
In "Table 6-1. Operating Modes", it says 0.4uA at LMP3. Is it correct that this indicates only the current consumption of the CPU and does not include the current of the clock, other peripherals, the leakage current of GPIOs, etc.?
I used the following source code to measure the current consumption at LPM3 with Energy Trace. (Measured in Free Run after entering LPM3).
#include <msp430.h>
int main(void)
{
WDTCTL = WDTPW | WDTHOLD; // Stop WDT
// Configure GPIO
P1OUT = 0; // Energy Trace
P2OUT = 0; // Energy Trace
P3OUT = 0; // Energy Trace
P4OUT = 0; // Energy Trace
PJOUT = 0; // Energy Trace
P1DIR |= BIT0 + BIT1 + BIT2 + BIT3 + BIT4 + BIT5 + BIT6 + BIT7;
P2DIR |= BIT0 + BIT1 + BIT2 + BIT3 + BIT4 + BIT5 + BIT6 + BIT7; // Energy Trace
P3DIR |= BIT0 + BIT1 + BIT2 + BIT3 + BIT4 + BIT5 + BIT6 + BIT7; // Energy Trace
P4DIR |= BIT0 + BIT1 + BIT2 + BIT3 + BIT4 + BIT5 + BIT6 + BIT7; // Energy Trace
PJDIR |= BIT0 + BIT1 + BIT2 + BIT3 + BIT4 + BIT5 + BIT6 + BIT7; // Energy Trace
PM5CTL0 &= ~LOCKLPM5; // Disable the GPIO power-on default high-impedance mode to activate previously configured port settings
while(1)
{
// __bis_SR_register(LPM4_bits | GIE);
__bis_SR_register(LPM3_bits | GIE);
}
}
The result is about 0.042mA, but the calculation does not match even if I take into account the current consumption of VLO, which is the default source of ACLK. Also, the current value is too large even if the value in "5.7 Low-Power Mode (LPM2, LPM3, LPM4) Supply Currents (Into VCC) Excluding External Current" is taken into account.Could you tell me how to make the current consumption during measurement with LPM3 closer to the value in the datasheet?
When I used the same method to measure LPM4, the current consumption was 0.0003mA, which was as expected.
Sorry for the poor question, but I would appreciate it if you could tell me.
Best regards,
O.H