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

Why the current will go above 4ma when I add a app_button?

I do my project with the sample BEL_APP_HRS when I add a app_button? The current wii go above 4ma

image description

My code is under here

appbutton.rar

Parents Reply
  • Thanks u Nikita first In APP_HRS

    /**@brief Function for application main entry. */ int main(void) { // Initialize. leds_init(); buttons_init(); ble_stack_init();
    
        timers_init();
        device_manager_init();
        gap_params_init();
        advertising_init();
        services_init();
        sensor_sim_init();
        conn_params_init();
    
        // Start execution.
        application_timers_start();
        advertising_start();
    
        // Enter main loop.
        for (;;)
        {
            power_manage();
        }
    }
    

    But the ble_app_hrs button worked well and it have no gpiote and it init buttons before app timers

    what is the problem?

Children
No Data
Related