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.

CC2640: GPIO power consumption

Part Number: CC2640

Hi BLE team.

The sensor controller is used to do ADC, so all the pins are set as analog pins (DIO23 - 30).

If not all ADC inputs are used some of them are set as digital input:

  scifUninitIo(AUXIO_A_AIN6, 0);

  GPIO_setConfig(BLE_DIO24, BoardGpioInitTable[BLE_DIO24]);

Where:

BoardGpioInitTable[BLE_DIO24] =     

KEY3                    | PIN_GPIO_OUTPUT_DIS  | PIN_INPUT_EN | PIN_PULLDOWN,                                               /* DIO24 KEY3 is active high */

It works but the power consumption of these pins twice as high as the "normal" DIO's with the same konfiguration.

Why is that?

Its also a problem reading status of the pins.

BR

Anders Lange