S32K358 MBDT/Simulink – Store SOC in Non-Volatile Memory

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

S32K358 MBDT/Simulink – Store SOC in Non-Volatile Memory

146 Views
samansaki
Contributor I

Hello NXP Team,
I am using the RD-BESSK358BMU board (S32K358 MCU) with MATLAB/Simulink and NXP MBDT.
I have an EKF SOC estimator running on the board. I need to periodically save the calculated SOC in non-volatile memory, so after a complete power OFF/ON, the last stored SOC can be read and used as the initial SOC of the EKF.
What is the recommended way to implement this in Simulink/MBDT for S32K358?
I can see Fee, MemAcc, and Mem_43_InFls in the S32 Configuration Tool. Should these modules be used for this purpose?
Is there any S32K358 Simulink/MBDT example for non-volatile Read/Write that you can share?
I found older S32K examples using EEPROM/FEE, but I am specifically looking for the recommended solution for S32K358 with Simulink/MBDT.
Thank you.

0 Kudos
Reply
0 Replies
%3CLINGO-SUB%20id%3D%22lingo-sub-2416449%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ES32K358%20MBDT%2FSimulink%20%E2%80%93%20Store%20SOC%20in%20Non-Volatile%20Memory%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2416449%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHello%20NXP%20Team%2C%3CBR%20%2F%3EI%20am%20using%20the%20RD-BESSK358BMU%20board%20(S32K358%20MCU)%20with%20MATLAB%2FSimulink%20and%20NXP%20MBDT.%3CBR%20%2F%3EI%20have%20an%20EKF%20SOC%20estimator%20running%20on%20the%20board.%20I%20need%20to%20periodically%20save%20the%20calculated%20SOC%20in%20non-volatile%20memory%2C%20so%20after%20a%20complete%20power%20OFF%2FON%2C%20the%20last%20stored%20SOC%20can%20be%20read%20and%20used%20as%20the%20initial%20SOC%20of%20the%20EKF.%3CBR%20%2F%3EWhat%20is%20the%20recommended%20way%20to%20implement%20this%20in%20Simulink%2FMBDT%20for%20S32K358%3F%3CBR%20%2F%3EI%20can%20see%20Fee%2C%20MemAcc%2C%20and%20Mem_43_InFls%20in%20the%20S32%20Configuration%20Tool.%20Should%20these%20modules%20be%20used%20for%20this%20purpose%3F%3CBR%20%2F%3EIs%20there%20any%20S32K358%20Simulink%2FMBDT%20example%20for%20non-volatile%20Read%2FWrite%20that%20you%20can%20share%3F%3CBR%20%2F%3EI%20found%20older%20S32K%20examples%20using%20EEPROM%2FFEE%2C%20but%20I%20am%20specifically%20looking%20for%20the%20recommended%20solution%20for%20S32K358%20with%20Simulink%2FMBDT.%3CBR%20%2F%3EThank%20you.%3C%2FP%3E%3C%2FLINGO-BODY%3E