AnsweredAssumed Answered

Waiting for FTFE FSTAT CCIF bit on Kinetis k70

Question asked by Luca Staiano on Apr 7, 2014
Latest reply on Apr 8, 2014 by Luca Staiano

Good morning to everyone.


I have a question about my flash driver for kinetis K70. FSTAT register of FTFE has a Command Complete Interrupt Flag which indicates that a FTFE command or EEPROM file system operation has completed.


In Freescale example driver is used an infinite loop to check when this flag is reset and it's possible to execute a new command.


My question is: do I need to add a counter or a timeout to prevent that my application does not exit from this loop? In this case, do you have any idea of a correct time limit for this timeout check?


Many thanks for now!! Bye!