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: POWER SAVING

Other Parts Discussed in Thread: MSP430F4152, CC2592

Tool/software: Code Composer Studio

HELLO ,

I am using the MSP430F4152_QFP interfaced  with SABLE-x-R2(LAIRD).I have only using UART program (P6.5 of MSP to DIO0 of SABLE  and  P6.6 of MSP to DIO1 for communiacation).The data to get from the meter (analog value via MSP) to be send to the SABLE board. 

Then I use CC2592 connected with SABLE-x-R2 for power extender.The pin connection are DIO_14 of SABLE to PA_EnN to 2592,DIO_8 to LNA_EN and DIO_4 to HGM.

I use the BLE5 server program.And in the ble_server. c part the PA is made high. 

static PIN_Config SPPBLEAppPinTable[] =
{
Board_RLED | PIN_GPIO_OUTPUT_EN | PIN_GPIO_LOW | PIN_PUSHPULL | PIN_DRVSTR_MIN, /* LED initially off ---HGM */
Board_GLED | PIN_GPIO_OUTPUT_EN | PIN_GPIO_HIGH | PIN_PUSHPULL | PIN_DRVSTR_MIN, /* LED initially off ---PA */
Board_BLED | PIN_GPIO_OUTPUT_EN | PIN_GPIO_LOW | PIN_PUSHPULL | PIN_DRVSTR_MIN, /* LED initially off ---LNA */

PIN_TERMINATE
};

void SPPBLEServer_current(void)
{
hGpioPin = PIN_open(&pinGpioState, SPPBLEAppPinTable);
PINCC26XX_setMux(hGpioPin, Board_BLED,IOC_PORT_RFC_GPO0);
PINCC26XX_setMux(hGpioPin, Board_GLED, IOC_PORT_RFC_GPO1);
}

Use the current function in the initialize function :

 

SPPBLEServer_current();

// Create an RTOS queue for message from profile to be sent to app.
appMsgQueue = Util_constructQueue(&appMsg);

 Check the current.It shows the current is more that 3.7 mA.  

I checked the current that I have attached with it.

How can I reduce the current value.

It is a customized board.

regards,

Srijit.

  • Hi Srijit,

      Just to be on the same page. Is the 3.7mA the overall current of your board?? Or is it only for the SABLE-x-R2 or the MSP430??

    I can give you some options depending on that.

       Thanks,

        David

  • Hello,

    IT is the current in overall board. The current image that I send you is the current of overall board.

    Regards,

    Srijit.

  • Hello,

    I am measuring the whole current. And also please consider the CC2592 (range extender) board with it also.

    Regards,
    Srijit.
  • Hello,

    So I would recommend to measure the current on each of these devices to understand which one is contributing more to the 3.7mA and then we can start making changes to the code.

    Thanks,

    David
  • HELLO.,

    I was checking the current value.

    I observed in main function that if I do not use  "SDITask_createTask();" function. The the current is about 166 uA.

    But as I use the function suddenly it raises to 3.8 mA.

    I have tested it in server as well as in peripheral program too.

    I use uart program. In properties I use  "SDI_USE_UART"

    So how to reduce the current.(UART0).

    Regards,

    Srijit.

  • What does SDITask_createTask do?

    An LED can draw 2-4 mA all by itself.
  • Hello,
    I use the UART program to get the meter value. With out using the "SDITask_createTask" ,the communiacation is not possible.

    And i use the LED pin to use the three connection with the cc2592 pins for range extenders.

    Please check it...................taken from SABLEXR2_DEV_BOARD.h

    #define Board_LED_ON 0 /* LEDs on SaBLE-x EM board LEDs are active low */
    #define Board_LED_OFF 1
    #define Board_GLED IOID_14
    #define Board_BLED IOID_8
    #define Board_RLED IOID_4


    from SABLEXR2_DEV_BOARD.c.................................................
    const PIN_Config BoardGpioInitTable[] = {

    Board_GLED | PIN_GPIO_OUTPUT_EN | PIN_GPIO_HIGH | PIN_PUSHPULL | PIN_DRVSTR_MAX, /* LED initially off */
    Board_BLED | PIN_GPIO_OUTPUT_EN | PIN_GPIO_HIGH | PIN_PUSHPULL | PIN_DRVSTR_MAX, /* LED initially off */
    Board_RLED | PIN_GPIO_OUTPUT_EN | PIN_GPIO_HIGH | PIN_PUSHPULL | PIN_DRVSTR_MAX, /* LED initially off */

    Board_KEY1 | PIN_INPUT_EN | PIN_PULLUP | PIN_HYSTERESIS, /* Button is active low */
    Board_KEY2 | PIN_INPUT_EN | PIN_PULLUP | PIN_HYSTERESIS, /* Button is active low */
    Board_SPI0_CSN | PIN_GPIO_OUTPUT_EN | PIN_GPIO_HIGH | PIN_PUSHPULL, /* CS pin at inactive level */

    Board_UART_TX | PIN_GPIO_OUTPUT_DIS | PIN_INPUT_EN | PIN_PULLUP, /* UART TX pin at inactive level */
    Board_UART_RX | PIN_GPIO_OUTPUT_DIS | PIN_INPUT_EN | PIN_PULLUP, /* UART RX pin at inactive level */
    PIN_TERMINATE /* Terminate list */
    };

    So I use the pins only ......................................

    Regards,
    Srijit.
  • Hello,

    It is a customized board.

    Regards,
    Srijit.
  • Could you please share how are you connecting all 3 devices?

    Thanks,

    David

**Attention** This is a public forum