SPI

Hi all:

At the speed of 8Mbps, the test to send and read 2byte of data takes about 9 us, and I think it's a little time-consuming. Have you tested the rate of SPI? The following is my code, is there any problem with writing it like this:

And the "spi_xfer_done" will  be changed to true in the callback function. Thanks!

Related