When measuring the OSPI performance I concluded that there is a weird delay when switching from writing to reading (or the other way around its the same) on OSPI.
The functions mentioned in the title are from driver/ospi.h
In the above image you see a table of the measuring times, packet 1 and 2 are writes, and packet 3 and 4 are reads. As you can see between writes there are only about 7 micro seconds, and the same goes for reads.
But when switching, this takes 2 milliseconds, and in my code are no interrupting things in those 2 milliseconds. Why is there such a big delay?