I am trying to implement an interrupt routine with an incoming interrupt every 25us(microseconds). Basically on each interrupt, I will set another gpio, output gpio, high for around 25us and reset the gpio to low after. I measured the input from the interrupt gpio and the output gpio. I realised that my callback/interrupt routine only executes about every 500us. I would like to know there is a way to increase the reaction to interrupt.
I am using the SBC ccimx6ul pro with the Digi yocto os.