This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Advertising current in nrf52832 increase-decrease at higher interval.

Currently I am facing strange issue in my project. Let me first highlight my set up. I am using the PCA10040 kit for development, keep multi-meter in series to measure current. Use"experimental_ble_app_eddystone" reference code of SDK 12.2.0 for single slot advertise at every 1 second with a payload of 31 bytes. Now the problem is when advertising starts current going to increase from ~3 uA to ~130 uA which will take around a minute to reach the peak(let say 130 uA) after reaching peak current it gradually decrease to around ~3 uA. Then repeat above cycle. Here current increase or decrease at advertise time only (at every 1 second) except it is 2 uA reading on multi-meter. If anyone knows what's going wrong please let me help.

Thanks in advance for your support.

Parents
  • Thanks Sigurd for your valuable support. Here I use below code in the initialization. /* Configure default GPIO status / for(pinCntr = 0; pinCntr <= 30; pinCntr++) { / Default configuration of all GPIOs are Input and disconnected */

    	NRF_GPIO->PIN_CNF[pinCntr] = (GPIO_PIN_CNF_SENSE_Disabled << GPIO_PIN_CNF_SENSE_Pos) \
                                        | (GPIO_PIN_CNF_DRIVE_S0S1 << GPIO_PIN_CNF_DRIVE_Pos) \
                                        | (NRF_GPIO_PIN_NOPULL << GPIO_PIN_CNF_PULL_Pos) \
                                        | (GPIO_PIN_CNF_INPUT_Disconnect << GPIO_PIN_CNF_INPUT_Pos) \
                                        | (GPIO_PIN_CNF_DIR_Input << GPIO_PIN_CNF_DIR_Pos);
    }
    

    One more thing to consider is that if i enable DC-DC than things go smoothly.

Reply
  • Thanks Sigurd for your valuable support. Here I use below code in the initialization. /* Configure default GPIO status / for(pinCntr = 0; pinCntr <= 30; pinCntr++) { / Default configuration of all GPIOs are Input and disconnected */

    	NRF_GPIO->PIN_CNF[pinCntr] = (GPIO_PIN_CNF_SENSE_Disabled << GPIO_PIN_CNF_SENSE_Pos) \
                                        | (GPIO_PIN_CNF_DRIVE_S0S1 << GPIO_PIN_CNF_DRIVE_Pos) \
                                        | (NRF_GPIO_PIN_NOPULL << GPIO_PIN_CNF_PULL_Pos) \
                                        | (GPIO_PIN_CNF_INPUT_Disconnect << GPIO_PIN_CNF_INPUT_Pos) \
                                        | (GPIO_PIN_CNF_DIR_Input << GPIO_PIN_CNF_DIR_Pos);
    }
    

    One more thing to consider is that if i enable DC-DC than things go smoothly.

Children
No Data
Related