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

Speed up SPI Burst Reads?

I'm running SPI master (spi_master_tx_rx) at 4MHz for multi byte burst reads. As seen in the attached screenshot there are 5.5µs delays between the bytes. The delays increase my CPU active time and therefore costing energy.

I've read about the double buffer feature of the SPI master module. And I wonder this can shorten the delays in any way?

spi_burst_read_scrn.png

Parents Reply
  • This is SPI is indeed much faster, is it part of any SDK?

    My only problem is i usually need to transmit and receive different amount of data which i was able to do with the SPI provided in SDK 11 but it was to slow for my LCD, with this SPI i fail to be able to read registers from my LCD as it expects a command to be transmitted and then it replies with the values of several register so it is unequal flow of data and if dummy bytes getting transmitted meanwhile to the LCD then it will interrupt its reply. is there an easy workaround or should i just modify your driver?

Children
No Data
Related