SPIS in nRF Connect SDK V2.2.0

Hi 

I am using nRF5340 DK and nRF Connect SDK V2.2.0.

I have developed a BLE application code by using this custom_ncs_ble_service_sample tutorial. Its working fine.

I want to add a SPIS (SPI Slave mode) in to this code. 

Is there any example code provided for SPIM and SPIS example in NCS.? If yes please share.

 

Parents Reply
  • Thanks for the reply,

    I am trying to add SPI into my code by referring the above example. But when I enable CONFIG_NRFX_SPIS2=y getting the error like (identifier "NRFX_SPIS2_INST_IDX" is undefined) and in the prj.conf file its showing that

    (CONFIG_NRFX_SPIS2 was assigned the value y, but got the value n. Missing dependencies:) 

    But am able to enable CONFIG_NRFX_SPIM1=y

    1. Why is this error coming only for SPIS? Do I need to enable somewhere else?

    2. Do I need to copy the overlay file as well?   

Children
Related