This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

SPI initialization for communicating with the sensor

I am using a custom board based on nRF52 (nRF52832-QFAB-R). I am using the ble_hid_mouse app and performing the initialization for SPI in the main routine. But with the SPI initialization code enabled the device stops even advertising whereas with SPI initialization code disabled the device does advertise. I am performing the gpiote initialization for max user 5 using the macro before SPI init. Can you please suggest what may be going wrong here? How to debug?

Thanks

Related