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

Dual-mode for SPI module.

Hi,

I am using nrf52810 and want to use the same SPI module as an SPI slave and master in the same application. Is it possible to change the SPI module role on the fly?

I got SPI slave working.

Now When I tried to configure the SPI as Master I got compilation error.

multiple definition of `SPIM0_SPIS0_SPI0_IRQHandler'; Output/ble_app_nrf52810 Release/Obj/nrfx_spis.o: \modules\nrfx\drivers\src/nrfx_spis.c:487: first defined here

I could not resolve the issue. 

Related