Hi,
I got a unit based on NRF52 (No matter what SDK) which is connected via 1-wire (dallas protocol which is very time accurate) to other unit.
The other unit is the master and my unit is the slave
when the other unit start to communicate with my unit (asynchrony) every few seconds my unit gets an gpiote interrupt.
i want the unit to check how much time left to the next softdevice activity which will stop my application (and my interrupt) and takes control (and ruin the data).
(Something like to check (Compare value of RTC0 - current RTC0)
if the time is too short for the next softdevice interrupt then my unit will not answer the master (which is ok by me !)
But if the time is OK (about 3-4ms or more) the unit should answer the master and then the unit must be sure there are NO interrupts by the softdevice or anything else !
(Btw: if needed, Is it possible to stop scanning when entering an interrupt and start it back when finish ?!) (In order not to get SCAN RADIO interrupt)
(I assume that all other BLE interrupt are based on RTC0 ?!)
What other interrupt except RTC0 and RADIO can stop my application gpiote interrupt ?
Again ! If the unit decides to answers the master , There must be no interrupts !!
B.r,
Yuval.