Other Parts Discussed in Thread: CC2541
Hi,
We have a device based on CC2541 chip and use firmware based on BLE stack.
We have a button (reed switch) connected to port P0 and configured such that our application
receives key event every time reed switch is closed.
Problem is:
if our device doesn't transmit notification messages (which is part of normal operation - device sens some information
to the host) almost every interrupt is catched and handled
but if notification messages are transmitted (with fairly high frequency - up to onve in 150 msec) some interruptions
are missed - i.e. reed switch is closed but key event not fired - and interruption seems to be lost at all,
it happens say once in 100 reed switch clicks.
Reed switch clicks with intervals at around 1 in 500..600 msec.
So it seems as if OSAL being kept busy by transmission routines doesn't have time to handle interrupt properly.
Could you propose some solution or workaround to it?
BR,
Evgeny