FlexNVM/FlexRAM Example? (AN4282)

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

FlexNVM/FlexRAM Example? (AN4282)

Jump to solution
1,366 Views
lsrbigfoot
Contributor III

I am looking to implement AN4282 (Enhanced EEPROM Functionality) on a Kinetis K22 micro using the KSDK drivers (fsl_flash.h & fsl_flash.c). Are there any AN4282 related code examples available? Where can I find them?

Labels (1)
Tags (2)
0 Kudos
1 Solution
978 Views
Hui_Ma
NXP TechSupport
NXP TechSupport

Hi,

Customer could visit MCUXpresso SDK to build&download SDK package for [FRDM-KE15Z] board.

There provides [flexnvm_eeprom] demo for customer reference with below path:

..\FRDM-KE15Z\boards\frdmke15z\driver_examples\flash\flexnvm_eeprom

Wish it helps.


Have a great day,
Mike

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

View solution in original post

3 Replies
979 Views
Hui_Ma
NXP TechSupport
NXP TechSupport

Hi,

Customer could visit MCUXpresso SDK to build&download SDK package for [FRDM-KE15Z] board.

There provides [flexnvm_eeprom] demo for customer reference with below path:

..\FRDM-KE15Z\boards\frdmke15z\driver_examples\flash\flexnvm_eeprom

Wish it helps.


Have a great day,
Mike

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

978 Views
lsrbigfoot
Contributor III

Thanks! This helped. The frdmke15z driver files (fsl_flash and other pieces [like fsl_ftfx_controller and fsl_ftfx_nvmem]) appear to be a different implementation when compared with MK22F512A's driver files (large fsl_flash driver).

How compatible are frdmke15z's_flash related driver files with the current MK22F512A and its fsl_features?

0 Kudos
978 Views
Hui_Ma
NXP TechSupport
NXP TechSupport

Hi,

KE15 FlexNVM working as EEPROM flash commands is same with MK22FX512A.

Customer could refer and using related driver for MK22FX512A.

The only difference is the FlexNVM and FlexRAM memory size:

KE15:

FlexNVM = 32KB & FlexRAM = 2KB  sector size is 2KB;

MK22FX512A:

FlexNVM = 128KB & FlexRAM = 4KB  sector size is 4KB;

Wish it helps.


Have a great day,
Mike

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

0 Kudos