which is missing when building with debug mode
Use SPIM2 on nRF52832 and SPIM3 on nRF52840. SPIM3 is able to go up to 32MHz!