Hi All,
I am a beginner,Can you please explain me what is the role of this line?
APP_ERROR_CHECK(nrf_drv_spi_transfer(&spi, m_tx_buf, m_length, m_rx_buf, m_length));
Hi All,
I am a beginner,Can you please explain me what is the role of this line?
APP_ERROR_CHECK(nrf_drv_spi_transfer(&spi, m_tx_buf, m_length, m_rx_buf, m_length));
So you mean, (nrf_drv_spi_transfer(&spi, m_tx_buf, m_length, m_rx_buf, m_length)
is not transferring anything but probably checking if the transfer of data has happened?
I am using this line:- APP_ERROR_CHECK(nrf_drv_spi_transfer(&spi, m_tx_buf, m_length, m_rx_buf, m_length));
after transferring files to sd card.
So you mean, (nrf_drv_spi_transfer(&spi, m_tx_buf, m_length, m_rx_buf, m_length)
is not transferring anything but probably checking if the transfer of data has happened?
I am using this line:- APP_ERROR_CHECK(nrf_drv_spi_transfer(&spi, m_tx_buf, m_length, m_rx_buf, m_length));
after transferring files to sd card.