Hi NXP team,
The reference manual of S32K mentions that it is necessary to disable the flash module before turning off FTFC clock prior to entering VLPR mode.
There is no flash driver de-initialize code available in S32 Design Studio. So, what is the right sequence to disable the flash module?
Also, how to verify that FLASH_CLK is already less than or equal to 1MHz?
There is no need to disable the FTFC module before entering VLPR. The VLPR clock configuration must be done before the transition.
In VLPR, no FTFC commands of any type are available and the Flash clock is restricted to 1MHz or less.
The Flash clock can be monitored externally at a CLKOUT pin. Please see Figure 27-1 RM rev.9