My project:
in SKD 3.0.6,I have set my GPIO_BUTTON_PORT and GPIO_BUTTON_PIN;In wkupct_enable_irq(),I set the same GPIO_BUTTON_PORT ,and GPIO_BUTTON_PIN.
I check CFG_PRF_FMPL in opened.
When connected APP,I pull button,but in software debug ,cannot run in app_button_press_cb.
I have wasted 5 days in solve this problem ,I want you help.
best wish!
Device:
Hello There, I hae asked our local team in CN to reach out to you and discuss your problem and understand a bit more since it is not fully clear. BR JE_Dialog
In debug mode wyh not call this function app_button_press_cb?
if (GPIO_GetPinStatus( GPIO_BUTTON_PORT, GPIO_BUTTON_PIN )) //button is p23
wkupct_enable_irq(0x80000, 0x80000, 1, 0); // P2_3, polarity low , 1 0x40000
in main_func while(1) ,I test get this pin high status succeed.
if((GPIO_GetPinStatus(GPIO_BUTTON_PORT, GPIO_BUTTON_PIN)))
SetWord16(WATCHDOG_REG, 0xFF);
Ah,I wait you help.
Thanks.
When connected FINDME_LOCATOR SERVICE
In findl_enable_cfm_send() function.
在这里输入
PRF_CLIENT_ENABLE_ERROR(findl_envs, con_info->prf_id, FINDL);
wyh?