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

nRF52 DK, Implementing SPIM0 and SPIS1 on the same board, problem!

Hi,

Here I am trying to use nRF52 DK single board to implement SPIM0(base address: 0x40003000) and SPIS1(base address: 0x40004000) master and slave communication protocol. 

Since SPIM0 and SPIS1 have different registers they are not conflicted by shared resources. Idea is to configure different pin set for SPIM0 and SPIS then connect them on board and test the results by debugging SPI buffers. 

My first question, Is it possible to test master-slave on single board? 

The second question, after adding SPIS example code into SPIM main.c (included necessary header and source files for SPIS) I kept getting this error

NRFX_SPIS1_INTI_IDX undeclared in the function. ( i tried to including sdk_config.h for SPIS into Application folder for this still kept getting the same error). 

Kindly provide me with some understanding here.

Thanks

Parents Reply Children
Related