Hi,
I would like to generate interrupts triggered by an input clock pin at 2 MHz to sample an 8-bit digital signal. I am trying this with an nRF5340. Up to this point, I was not successful. Searching in the forum, I found that the GPIO ports run at 16 MHz (ticket 1, ticket 2). On one hand, In ticket 2 there is a good explanation considering the interrupt latency of the ARM Cortex-M microcontrollers, which apparently makes it impossible to trigger interrupts at frequencies in the MHz range with the GPIO clock of 16 MHz. On the other hand, the author of ticket 1 says that it was possible to generate interrupts triggered by reference signals with frequencies as high as 4 MHz (Not clear if at these high frequencies every cycle of the input clock triggers one interrupt).
Finally, is it possible or not to generate interrupts at the MHz frequency?
Is there a Nordic BLE module that has GPIO running at higher frequencies than 16 MHz?
Thanks.