On a custom board we are using an RTC chip to generate the 32khz clock.
I have verified that the hardware register is set to external, bypass, and the src is xtal. The clock appears to be running because the NRF RTC module seems to be working and generating interrupts. However, when nrf_sdh_enable_request is called, it returns error code 4097. If the clock source is set to RC then the issue goes away. Any ideas?