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_master_send_recv

Hello Folks, I want to send an array of two bytes and read six bytes back . Even though I am using bellow function but the Oscilloscope shows only 4 bytes of clock cycles. What am I missing ?

 spi_master_send_recv(SPI_MASTER_0, &tx_DARA0, 1, m_rx_data_spi,6);

Thank You

image description

  • There may be more than four spi transactions there if those are the spi clock pulses in yellow. You might want to expand time scale so you can actually count pulses.

    Don't know what blue trace signal is, but would suggest chip select (slave select) or a data line

Related