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

SPI Master Example for nRF6310

I've had good luck running the examples such as the blinky and the basic BLE examples. Now, I'm trying to get the SPI Master example to run, but it does not seem to work out of box. The error LEDs light up showing that the RX buffer did not equal the TX buffer. I haven't started probing the evaluation board, but I'm wondering if this example be working out of box or if there is some configuration setting that I'm overlooking? I'm using the SDK v5_0_0_34603. Thanks

Parents
  • Hello, I am trying to run the example - spi_master_example_with_spi_slave. I used nRF51422+nRF6310, and the sdk version is 6.1. After I download the code to nRF51422, I find the three led(LED_0 LED_1 LED_2) light up. It seems some error happened. Now I show all of my steps and hope someone can figuer out my mistake.

    1. I have two nRf6310 boards and two nRF51422 DK. One nRF51422 DK is downloaded spi_master_example_with_spi_slave code, and the other is downloaded spi_slave_example(the sdk version is 6.1). And I also burn the softdevice hex code to nRF51422 DK.
    2. I connect both boards(board A and bload B) by the pins(P2.4 of board A to P2.4 of board B ~P2.7 of board A to P2.7 of board B). Total 4 pins. But I found the three leds of two boards light up continuous. It seems some error happened.

    I didn't know how to solve the problem. Can someone give me any suggestions? Thanks.

Reply
  • Hello, I am trying to run the example - spi_master_example_with_spi_slave. I used nRF51422+nRF6310, and the sdk version is 6.1. After I download the code to nRF51422, I find the three led(LED_0 LED_1 LED_2) light up. It seems some error happened. Now I show all of my steps and hope someone can figuer out my mistake.

    1. I have two nRf6310 boards and two nRF51422 DK. One nRF51422 DK is downloaded spi_master_example_with_spi_slave code, and the other is downloaded spi_slave_example(the sdk version is 6.1). And I also burn the softdevice hex code to nRF51422 DK.
    2. I connect both boards(board A and bload B) by the pins(P2.4 of board A to P2.4 of board B ~P2.7 of board A to P2.7 of board B). Total 4 pins. But I found the three leds of two boards light up continuous. It seems some error happened.

    I didn't know how to solve the problem. Can someone give me any suggestions? Thanks.

Children
No Data
Related