I've been trying to communicate with an external device which supports up to 25 Mhz on its SPI. So, to improve performance, I'm using the SPI3 at 16 Mhz. I have no issue at 8 Mhz but, when doubling the speed, the slew rate on the clock behaves weirdly.

I'm also using a fast-GPIO to be safe (P 0.21), but it did not have any effect on it. I'm configuring the SPI through the nrfx interface and the oscilloscope correctly detect the speed of 16 Mhz, but of course the data is corrupted due the clock behavior. I also switch the CS manually to improve its performances, but no luck.
Is there any extra configuration that I should be aware of?