Hi all,
I am new to BLE application development. Therefore, please go easy on me. I am working with an EVK-NINA-302 development kit (nRF52 Series SOC) and nRF5 SDK_17.1.0.
In my application, I am trying to detect the presence of square wave pulses (frequency between 2 to 150 Hz) on one of the GPIO pins and send this information (1 = square waves present, 0 = no waves present) over BLE to other devices. At this time, I am using the nRFConnect app to receive data.
Currently, GPIOTE interrupts priority is set to 6. I generate an interrupt when the signal on the GPIO pin goes from low to high and update the characteristic value.
My application works fine if the square wave frequency is less than 20 Hz. It stops working when the frequency gets above 20 Hz and I start to get "FATAL ERROR".
At this time, I am not understanding why my application stops working for a frequency higher than 20 Hz.
I am thinking changing the interrupt priority of GPIOTE may help. What's the highest priority that can be set for GPIOTE with Soft Device enabled?
If you have come across this kind of issue, any help will be much appreciated.
Regards,
Paul