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.

CCS/MSP432P4011: unused ports in MCU

Part Number: MSP432P4011


Tool/software: Code Composer Studio

"remark #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."

I got this above-mentioned error message while compiling code for MSP432P4011 with code composer studio. Not only port 10, some other ports too.

But when I check the datasheet of MSP432P4011 it doesn't have PORT 10. What is the actual solution for this and how can we initialize (which is the suitable configuration) unused ports to eliminate current consumption?

  • Hi Mukil,

    The MSP432P4011 does have port 10, as shown below:

     

    Please take a look at this TI wiki page, which explains the issue and how to resolve it:

    https://processors.wiki.ti.com/index.php/Compiler/diagnostic_messages/MSP430/10372

    Best regards,

    Angelo

  • Thanks, Angelo.

    Wiki page helps to solve my doubts about how to initialize all unused ports.

    Still, I have a doubt on hardware pin out when I check the datasheet and pins of my controller PORT 10 and some other ports are not available on hardware pins.

    MCU part number MSP432P4011T.

    Do we need to initialize all ports even if the port is not available on the Pinout?

    or is it common for the MSP432P4xxx family of controller needs initialization on all ports from PORT 0 to PORT J even if the pin is not available on hardware pin?

    Thanks

  • Hi Mukil,

    Sorry, I have a correction to make regarding my previous post.

    The MSP432P4111 comes in a 100-pin PZ package and does have a port 10. However, you are correct that the MSP432P4011 comes in a 64-pin RGC package and does not have a port 10.

    Therefore, you may safely disregard the ULP 4.1 warning since it is asking you to initialize a port that is not present on the device, as described in the section below:

    Thanks for bringing this issue to our attention! I will bring this up internally and suggest a datasheet improvement to make it more clear that only the MSP432P4111 has port 10. Hopefully this will help avoid confusion in the future.

    Best regards,

    Angelo

  • Thanks, Angelo.

    Thanks a lot for helping me to resolve my doubt.

    RegardsMukil