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

Slave example SPI doesn't work

Hi,

I am trying to use the spi_slave_example on my nordic nrf51822. But i have an issue :

I can build all target and download code to flash memory but nothing happen :

at the begin of the main.c, i placed : nrf_gpio_pin_set(LED_0); to see if the programm is running, but no LED switch on.

On the file nrf6310.h, i have configured the LED pin :

image description

With the debugger :

image description

Did i miss a step ?

Parents
  • Thank you for your answer !

    I am using the evaluation kit with the nrf51822, the SEGGER 48029673, PCA100001 with the s110_nrf51822_7.1.0_softdevice and Keil v5.

    I took the original programm and i have just changed the PIN (LED and SPI) on the nrf6310.h

    I have tested the programm with the debugger : i have placed a breakpoint on the top on the main.c main void : my program never run to this point.

    The log show this issue :

    image description

    image description

    image description

Reply
  • Thank you for your answer !

    I am using the evaluation kit with the nrf51822, the SEGGER 48029673, PCA100001 with the s110_nrf51822_7.1.0_softdevice and Keil v5.

    I took the original programm and i have just changed the PIN (LED and SPI) on the nrf6310.h

    I have tested the programm with the debugger : i have placed a breakpoint on the top on the main.c main void : my program never run to this point.

    The log show this issue :

    image description

    image description

    image description

Children
No Data
Related