When NRF52832 as SPI Slave, how can I know how many bytes the slave should read,the API nrf_drv_spis_buffers_set(&spis, m_tx_buf, length, m_rx_buf, length)),does not have the real receive byte
When NRF52832 as SPI Slave, how can I know how many bytes the slave should read,the API nrf_drv_spis_buffers_set(&spis, m_tx_buf, length, m_rx_buf, length)),does not have the real receive byte
May be my question is not description clearly, in short ,I don't know what's data to put into m_tx_buf before first command received.So Now my master must read twice that can get the correct result.
You are developing the Slave - so you define the commands that it will accept.
I know 大哥。。。