Hi All,
I am using TWR-k22f120M-eval kit. My application need the core clock to run at 120Mhz. So I configured it to run in HS run mode. but FLASH_Erase API is returning error (kStatus_FTFx_AccessError (errorcode 103)). but same FLASH_Erase API is returning SUCCESS if core clock is running at 80Mhz.
here is the non working code(HSRUN mode):
To simulate error scenario replace BOARD_BootClockRUN() with mcgConfig_BOARD_BootClockHSRUN() in flah example extracted from SDK.
is there any way to use flash API successfully in HS run mode?