Dear NXP:
I saw the below statement in the FLS driver:
Synchronize the memory by invalidating the cache after each flash hardware operation.
The FLS driver needs to maintain the memory coherency using three methods:
1. Disable data cache, or
2. Configure the flash region upon which the driver operates, as non-cacheable, or
3. Enable the FlsSynchronizeCache feature.
Depending on the application configuration, one option may be more beneficial.
When I want to Disable the FLS data cache, can I add the following macro definition to the FEE.c file,

As for why I Disable Cache, when I execute data flash and init Fls functions during normal operation of the program, a small probability of HardFault will occur, as shown in the following figure.

S32K3