I'm working with a k64FN1M0, I'm traying to store data in the flex memory, when my program is running the following line:
while(!(FTFE_FCNFG & FTFE_FCNFG_EEERDY_MASK));
The program fall into an endless loop, I saw the FTFE_FCNFG register always is 0x06 and I can't change it, ´cause the register is only read.
Please, would you like to help me about it?.