We are currently experiencing a problem during development of Medical device.
We are currently using nRF52832 on Thingy52 prior to bring up on the product board having nRF52840.
The application must maintain BLE communication point to point , while required to produce accurate pulse trains of length 50 to 250 us. with +/- 5 us tolerance
Each pulse is composed of 8Mhz clocks.
We are using timers and GPIO with ISRs.
The problem : we are experiencing a Jitter of 10 to 20us over the pulse train length.
We want to work with GPIO_TE to prevent the jitter
I believe that the Soft Device ISRs have the maximal priority , therefore it will get the priority over timer interrupts and GPIO_TE interrupts.
We are not allowed to disable Soft Device ISRs.
Can you suggest an operative way of preventing this jitter/changing the mode of work? GPIO_TE ?