You could try to disable PM so device doesn't go to sleep in app_cfg.h. This way you can also monitor variables.
/* PM */
#define PM_ENABLE 0
and see if it works then.
You could also add Led's to see if pressing the buttons works, or add some variables and check in BDT. You could add the code below (I only show for one button) in app_ui.c and see the variable btnstate when you press and hold a button.
u8 btnstate[8] = {0};
void app_key_handler(void){
if(0 == drv_gpio_read(GPIO_PB4)){
btnstate[4] = 1;
led_on(LED1);
}
else{
btnstate[4] = 1;
led_off(LED1);
}
'''' add for all buttons
}
|