Beware that this post is related to an SDK in maintenance mode
More Info: Consider nRF Connect SDK for new designs
This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

52810 uses SPI0 or SPI1

In SDK 15.0.0\modules\nrfx\soc\nrfx_irqs_nrf52810.h, at line 65,(link) it defines a SPI1 compenent:

// SPIM1_SPIS1_IRQn
#if NRFX_CHECK(NRFX_PRS_BOX_1_ENABLED)
#define nrfx_prs_box_1_irq_handler  SPIM1_SPIS1_IRQHandler
#else
#define nrfx_spim_1_irq_handler     SPIM1_SPIS1_IRQHandler
#define nrfx_spis_1_irq_handler     SPIM1_SPIS1_IRQHandler
#endif

But 52810 spec(link) mentions only SPI0. 

Is the code file correct?

Thanks!

Youqun

Related