Dear Nordic.
I read specific data using GPIO(timer sampling), BUT, occasionally, the data is broken because of Softdevice interrupt. So I want to guarantee it while reading a data.
please tell me to solve a issue, if you have a solution.
Thanks
Dear Nordic.
I read specific data using GPIO(timer sampling), BUT, occasionally, the data is broken because of Softdevice interrupt. So I want to guarantee it while reading a data.
please tell me to solve a issue, if you have a solution.
Thanks
Have you tried making the timer interrupt priority app high (1)? This is the highest priority that can be used by an application using the softdevice (although the highest interrupt priority is reserved by the softdevice so you might still get problems). after trying this make sure you keep your interrupt routines as short as possible.
I've heard of people having to disalbe the softdevice with critical interrupts by entering critical region but not sure about the details and if its advisable. my guess would be try to avoid this solution if possible.
Have you tried making the timer interrupt priority app high (1)? This is the highest priority that can be used by an application using the softdevice (although the highest interrupt priority is reserved by the softdevice so you might still get problems). after trying this make sure you keep your interrupt routines as short as possible.
I've heard of people having to disalbe the softdevice with critical interrupts by entering critical region but not sure about the details and if its advisable. my guess would be try to avoid this solution if possible.