I've got a custom NRF52 board that uses less than 4uA when sleeping without SPI but after the SPI is initialized (and then uninitialized) the current consumption rises to 2mA during sleep.
I've reduced my code to this:
nrf_drv_spi_init(&spi_instance, &spi_config, spi_event_handler);
nrf_drv_spi_uninit(&spi_instance);
If I comment out this code the current consumption is low. If I uncomment this code (just this code, no transfers) the current consumption is high.
Just for a test, I added the following call afterwards to no effect.
nrf_drv_clock_hfclk_release();
I'm using SKD 11.0.0 with the S132 softdevice.
Thank you.