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

Example explanation of SPI transaction manager

Hi DevZone,

Regarding example: \examples\peripheral\spi_master_using_nrf_spi_mngr, can I ask several questions?

1. I want to modify this code for receive the response from SPI slave too. For configuration, is it only thing I need to do is adding miso_pin number?

.miso_pin = ARDUINO_12_PIN.

2. I want to check the Tx and Rx data, but I could not find the function nrf_drv_spi_transfer, could you please tell how this function is in the example? How can I check the tx and rx data?

Best regards

Parents Reply
  • Ok. It seems like there is some issues with the setup between the two SPI devices. I see you have received a reply on the case that you linked to. I do not have an Arduino to test on in the office, so maybe my colleague can help you in your other post. Do you have any analyzing tools, like an oscilloscope or a logic analyzer that you can check the traffic on the MISO and MOSI pins?

     

    Best regards,

    Edvin

Children
Related