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.

"infos" within the description window

Other Parts Discussed in Thread: MSP430F5529

Hello, I'm using a the MSP430f5529 microcontroller and I'm getting these "info" messages in the description window.

Description    Resource    Path    Location    Type
#1527-D (ULP 2.1) Detected SW delay loop using __delay_cycles. Recommend using a timer module instead    GPSApps.c    /GPS_DATA_SD/IT250DemoApps    line 79    C/C++ Problem
#1527-D (ULP 2.1) Detected SW delay loop using empty loop. Recommend using a timer module instead    SDCard.c    /GPS_DATA_SD/IT250DemoApps    line 267    C/C++ Problem
#1528-D (ULP 3.1) Detected flag polling using DMAIFG. Recommend using an interrupt combined with enter LPMx and ISR    dma.c    /GPS_DATA_SD/USB_API/USB_Common    line 119    C/C++ Problem
#1528-D (ULP 3.1) Detected flag polling using PMMIFG. Recommend using an interrupt combined with enter LPMx and ISR    hal_PMM.c    /GPS_DATA_SD/F5XX_6XX_Core_Lib    line 104    C/C++ Problem
#1528-D (ULP 3.1) Detected flag polling using SFRIFG1. Recommend using an interrupt combined with enter LPMx and ISR    hal_UCS.c    /GPS_DATA_SD/F5XX_6XX_Core_Lib    line 79    C/C++ Problem
#1528-D (ULP 3.1) Detected flag polling using UCBUSY. Recommend using an interrupt combined with enter LPMx and ISR    HAL_SDCard.c    /GPS_DATA_SD/MSP-EXP430F5529_HAL    line 147    C/C++ Problem
#1528-D (ULP 3.1) Detected flag polling using UCRXIFG. Recommend using an interrupt combined with enter LPMx and ISR    HAL_SDCard.c    /GPS_DATA_SD/MSP-EXP430F5529_HAL    line 121    C/C++ Problem
#1528-D (ULP 3.1) Detected flag polling using UCTXIFG. Recommend using an interrupt combined with enter LPMx and ISR    HAL_SDCard.c    /GPS_DATA_SD/MSP-EXP430F5529_HAL    line 119    C/C++ Problem
#1528-D (ULP 3.1) Detected flag polling using UCTXIFG. Recommend using an interrupt combined with enter LPMx and ISR    HAL_SDCard.c    /GPS_DATA_SD/MSP-EXP430F5529_HAL    line 144    C/C++ Problem
#1530-D (ULP 5.1) Detected divide operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive    UsbMscScsi.c    /GPS_DATA_SD/USB_API/USB_MSC_API    line 1808    C/C++ Problem
#1530-D (ULP 5.1) Detected divide operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive    ff.c    /GPS_DATA_SD/FatFs    line 827    C/C++ Problem
#1530-D (ULP 5.1) Detected modulo operation(s). Recommend moving them to RAM during run time or not using as these are processing/power intensive    ff.c    /GPS_DATA_SD/FatFs    line 829    C/C++ Problem

I honestly don't know what these mean.  any suggestion will be helpful.

  • Hi Darryl,

    These are messages generated by ULP Advisor, which is a tool that analyzes your code and then provides tips for optimizing your code for low power. You'll have to decide which of the suggestions make sense for your application or not (tradeoffs between current consumption and performance, for example, or application-specific requirements). For more information about ULP advisor, see this page: http://processors.wiki.ti.com/index.php/ULP_Advisor

    To get more information about the specific Info messages, you can find them on the wiki here: http://processors.wiki.ti.com/index.php/Compiler/diagnostic_messages/MSP430/10371 See on the right side of the wiki page it has links to descriptions of all of the different rules, and the rule number (ULP 3.1, for example) is listed in each of the info messages.

    EDIT: Just to clarify, since these messages are just Infos, you'll still be able to load your code on your part, they are just suggestions (unlike error messages where you can't actually load and run the code).

    Regards,

    Katie

  • Darryl Ben said:
    I honestly don't know what these mean.  any suggestion will be helpful.

    Well, if this is your homework, labwork, or senior design project, then it means you should turn off the ULP advisor.

    If this is a real product you are developing and it will run off batteries, then you need to look into each of these to reduce power consumption.

  • Thank you for the insight.  I'll spend some time reading over the links.

  • The design is for a product and yes the product will be running on batteries.  Thank you for the additional insight and design constraints I'll have to look into.

**Attention** This is a public forum