Hello, I would like to solve a problem I have with the consumption of the MSP430FR2433 microcontroller. My program consumes more than it should, when it enters LPM3 should consume 15uA using ACLK and I consume 115uA, that is, a hundred times more. I think it could be because of the GPIO configuration.
The pins I am using are:
- 1.4 ----> MOSI (SPI)
- 1.5 ----> nothing (SPI)
- 1.6 ----> SCLK (SPI)
- 1.7 ----> STE (SPI)
- 2.0 ----> OUTPUT
- 2.1 ----> OUTPUT
- 2.2 ----> OUTPUT
The GPIO configuration part of my code:
P1DIR |= 0x0F;
P2DIR |= 0xFE;
PBDIR |= 0xFF;
P1REN |= 0xFF;
P2REN |= 0xFF;
PBREN |= 0xFF;
P1SEL0 |= BIT4 | BIT5 | BIT6 | BIT7;
P1OUT &= 0xF0;
P2OUT &= 0x01;
PBOUT &= 0x00;