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.

ULP4.1 Issues on MSP432



Right now, I'm using the ULP advisor to try to cut down on power usage.  It suggested that I initialize all the ports, which I subsequently did in the code below.  However, the warnings keep returning.  I used the same initialization code for an MSP430, and the warnings went away.  Is there something I need to do differently for the MSP432?

        P1->DIR = 0xFF;
	P1->OUT = 0x00;
	P2->DIR = 0xFF;
	P2->OUT = 0x00;
	P3->DIR = 0xFF;
	P3->OUT = 0x00;
	P4->DIR = 0xFF;
	P4->OUT = 0x00;
	P5->DIR = 0xFF;
	P5->OUT = 0x00;
	P6->DIR = 0xFF;
	P6->OUT = 0x00;
	P7->DIR = 0xFF;
	P7->OUT = 0x00;
	P8->DIR = 0xFF;
	P8->OUT = 0x00;
	P9->DIR = 0xFF;
	P9->OUT = 0x00;
	P10->DIR = 0xFF;
	P10->OUT = 0x00;

These are the warnings I get:

Description Resource Path Location Type
#10372-D (ULP 4.1) Detected uninitialized Port 1 in this project. Recommend initializing all unused ports to eliminate wasted current consumption on unused pins. 
#10372-D (ULP 4.1) Detected uninitialized Port 10 in this project. Recommend initializing all unused ports to eliminate wasted current consumption on unused pins.
#10372-D (ULP 4.1) Detected uninitialized Port 2 in this project. Recommend initializing all unused ports to eliminate wasted current consumption on unused pins. 
#10372-D (ULP 4.1) Detected uninitialized Port 3 in this project. Recommend initializing all unused ports to eliminate wasted current consumption on unused pins. 
#10372-D (ULP 4.1) Detected uninitialized Port 4 in this project. Recommend initializing all unused ports to eliminate wasted current consumption on unused pins. 
#10372-D (ULP 4.1) Detected uninitialized Port 5 in this project. Recommend initializing all unused ports to eliminate wasted current consumption on unused pins. 
#10372-D (ULP 4.1) Detected uninitialized Port 6 in this project. Recommend initializing all unused ports to eliminate wasted current consumption on unused pins. 
#10372-D (ULP 4.1) Detected uninitialized Port 7 in this project. Recommend initializing all unused ports to eliminate wasted current consumption on unused pins. 
#10372-D (ULP 4.1) Detected uninitialized Port 8 in this project. Recommend initializing all unused ports to eliminate wasted current consumption on unused pins. 
#10372-D (ULP 4.1) Detected uninitialized Port 9 in this project. Recommend initializing all unused ports to eliminate wasted current consumption on unused pins. 

  • This could be a bug inside of ULP, I will alert the respective experts of this topic for their awareness. Rest assured that so long as Section 10.3.2 (Configuration of Unused Port Pins) of the User's Guide (SLAU356) is followed then the device pins are operating on the lowest power consumption available.

    Regards,
    Ryan
  • Hello Michael,

    As a follow-up, this behavior has been reported by several employees at TI and a bug is being submitted to fix the issue. Once again, the device's pins are operating in the lowest power state possible if Section 10.3.2 is being correctly followed.

    Regards,
    Ryan

**Attention** This is a public forum