K64 FlexNVM

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

K64 FlexNVM

492 Views
LArmstrong1985
Contributor III

Hi,

I tried to port Kinetis KE15 FlexNVM_eeprom example for K64 microcontroller.

I looked that on the code there is this control

#if defined(SIM_FCFG2_PFLSH_MASK)
    if (SIM->FCFG2 & SIM_FCFG2_PFLSH_MASK)
    {
        PRINTF("\r\n Current device doesn't support FlexNVM feature \r\n");
        app_finalize();
    }
#endif

For the KE15, SIM_FCFG2_PFLSH_MASK is not defined instead for K64 is defined on MK64F12.h file.

Is really not supported FlexNVM or this check is not valid for K64 microcontroller?

Thank you very much!

Tags (1)
0 Kudos
Reply
1 Reply

447 Views
nxf56274
NXP Employee
NXP Employee

Hi,

ke15 supports the flexnvm. But not the all of the k64 support flexnvm. So the ke15 do not need check whether the device supports. The k64 should do. FCFG2 is also different between two device. You can refer the mauual.

Have a great day,
TIC

-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

0 Kudos
Reply