Hello All,
Hopefully you can help me out. I'm going crazy trying to get this to work. Here is the code I've used:
#include <msp430f5529.h>
#include <msp430.h>
void main(void)
{
WDTCTL = WDTPW | WDTHOLD; // Stop watchdog timer
UCSCTL6 = XT2OFF;
_BIS_SR(LPM4_bits); // LPM4 with interrupts enabled
//LPM4;
}
When I measure the current w/usb connected I get ~34mA, when I unplug usb I get ~10mA.
When I configure all the outputs via:
P1DIR = 0xff; P1OUT = 0x00;
...
P7DIR = 0xff;
P7OUT = 0x00;
I pull 110 mA w usb connected, ~90 mA without usb connected.
I've tried removing all jumpers, except from the 5V and GND jumper and it pulls ~15mA without usb connected.
I'm powering from a benchtop PS @5V going into the 5V pin.
I've also tried running 3.3V into the 3v3 pin, and that gives me slightly lower consumption ~10-12 mA without USB connected.
I've also tried this on another identical board, and I get the same results.
I'm pretty sure I'm missing something with the low power configuration, but I just cant seem to find it.
Thanks,
-Patrick

