This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

SPI in nrf51 dk

hello there ,I am writing spi code for slave which has 19 bytes of data. my nrf51 is master.

now my slave has clock polarity =1, clock phase =1. i am uploading project here. but my nrf51 is getting 0x00. can anyone tell me what is my mistake??uart - Copy.rar

Parents
  • hey in this api

    uint32_t err_code = nrf_drv_spi_transfer(&m_spi_master, p_tx_data, len, p_rx_data, len);

    my p_tx_data array is transmitted continuously. p_rx_data is received continuously. but i want to put some delay between this array elements

Reply
  • hey in this api

    uint32_t err_code = nrf_drv_spi_transfer(&m_spi_master, p_tx_data, len, p_rx_data, len);

    my p_tx_data array is transmitted continuously. p_rx_data is received continuously. but i want to put some delay between this array elements

Children
No Data
Related