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

nrf51822 SPI Slave not working

I have two custom boards with nrf51822 QFAAG0 1348AC chip. I use 16 MHz crystal. Bluetooth functionality is working fine but SPI does not work. SPI pins are P0.00 ( MISO ), P0.01 ( MOSI ), P0.02 ( SCK ), P0.03 ( SS1 ). I use spi master and slave example code ( spi_master_example, spi_slave_example ) from sdk folder "nrf51822/Board/nrf6310/". All pins are configure according to my SPI pins in code (SPI, LEDS). From master side I see that everything is changing in registers but from client side I dont get any action.

Is there something more what I need to configure or change?

Parents
  • Just to clarify, you are trying to connect two nRF51822 together over SPI? One as master and one as slave. And you have changed the mentioned pins in spi_master_init and spi_slave_init?

    Are you testing with or without the SoftDevice? If with, which version are you using? Which SDK version are you using?

    Could you elaborate on "don't get any action", nothing at all is happing? Have you tried to debug?

Reply
  • Just to clarify, you are trying to connect two nRF51822 together over SPI? One as master and one as slave. And you have changed the mentioned pins in spi_master_init and spi_slave_init?

    Are you testing with or without the SoftDevice? If with, which version are you using? Which SDK version are you using?

    Could you elaborate on "don't get any action", nothing at all is happing? Have you tried to debug?

Children
No Data
Related