is it possible to change the FlexSPI chip select interval during runtime by writing to the register or would we need to follow a special setup routine for it to avoid issues?
The flash we are planning to use defines two different values depending on the commands executed.
For read to read 15 ns and for write/program/erase to read status 50 ns therefore we would like to set the CSINTERVAL to 50 ns after a write/program/erase and back to 15 ns after the first status register read.
I would change the value with
FLEXSPI->FLSHCR1[port] = (FLEXSPI->FLSHCR1[port] & ~FLEXSPI_FLSHCR1_CSINTERVAL_MASK) | FLEXSPI_FLSHCR1_CSINTERVAL(CSInterval);