Example MCAL S32K312 FEE DS3.5 RTD300

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

Example MCAL S32K312 FEE DS3.5 RTD300

Example MCAL S32K312 FEE DS3.5 RTD300

*******************************************************************************

 The purpose of this demo application is to present a usage of the FEE MCAL Driver for the S32K3xx MCU.

This example read & write 4 byte FEE BLock.

I have renamed the FEE block using a MACRO as FOUR_BYTE_EEPROM_FEE_VARIABLE.

 ------------------------------------------------------------------------------
* Test HW: S32K3X2EVB-Q172
* MCU: S32K312
* Compiler: S32DS3.5
* SDK release: RTD 3.0.0
* Debugger: PE micro
* Target: internal_FLASH
********************************************************************************
Driver configuration :--

Dinesh_Guleria_0-1733384979032.png

 



Three FEE blocks are created.
Each FEE block can be considered as EEPROM variables 

Dinesh_Guleria_0-1716468945422.png

 

How customer can use FEE block as EEPROM variable.

Max size of FEE block :--

Dinesh_Guleria_0-1716470050164.png

 

 

You can declare a MACRO for the Variable of EEPROM :--
FOUR_BYTE_EEPROM_FEE_VARIABLE

Dinesh_Guleria_1-1716469421192.png



How to Read and write the FEE variables :--

Dinesh_Guleria_2-1716469771263.png

 



Attachments
Comments

Pe Micro use to delete the Dataflash, on every new FLashing of firmware, which corrupts the EEPROM data.

After making this changes in debug configuration it worked..

Dinesh_Guleria_0-1719396133457.png

 

Dinesh_Guleria_1-1719396155702.png

 

 

Dinesh_Guleria_2-1719396179846.png

 

 

No ratings
Version history
Last update:
‎12-05-2024 12:49 AM
Updated by: