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

the keyboard(use GPIOE interrupt) has no response

Hi,

I have a strange problem, I use NUS service connect with phone , send or receive data,after some process,may happen the keyboard(use GPIOE interrupt) has no response, but the system can run normal (include timer interrupt, WDT), sometimes the ble also can't work,sometimes can work normal. it's very trouble me, why it is happend? maybe the system stack?

Parents
  • It is very difficult to make any assumptions about what can be the problem in this case. You need to provide more information about your application. also, have you tried using a debugger to inspect the state of your application when you no longer get a response from the key presses? It should enable you to figure out where the issue is (e.g. is the button press detected or not, and if yes, is the phone informed about the button press etc.).

Reply
  • It is very difficult to make any assumptions about what can be the problem in this case. You need to provide more information about your application. also, have you tried using a debugger to inspect the state of your application when you no longer get a response from the key presses? It should enable you to figure out where the issue is (e.g. is the button press detected or not, and if yes, is the phone informed about the button press etc.).

Children
No Data
Related