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

there are 10us delay between nrf5340 spi write and read sequence

hi professor,

I use the zephyr spi driver to control spi nand flash.I want to send two bytes and read 3 bytes. But between write and read time sequence there are 10us delay.

As shown as the blow picture,the first 16 clocks to write, after Interval 10us 24 clocks to read.

How can I make the write and read sequence continue?

Parents Reply
  • I tested this out myself and got about the same result as you. I tried to write to a register of an adxl362 and then read it, and checked the lines on a logic analyzer.

    I guess around 10us is what the CPU needs in order to execute the necessary instructions in order to set up and execute and spi read.

    I'll take a closer look at it tomorrow and try to give you a more detailed answer.

Children
No Data
Related