On MCUs with a cache (eg F7) this must be done or else the SPI data that is transferred is incorrect.