I want to log an error during flash checksum fault in S32K.
Is there any API available to calculate flash checksum?.
Hi,
if you use SDK drivers, take a look at SW example available in the installation folder:
c:\NXP\S32DS.3.4\S32DS\software\S32SDK_S32K1XX_RTM_4.0.1\examples\S32K144\driver_examples\system\crc_checksum\
Description can be found in the user manual available here:
c:\NXP\S32DS.3.4\S32DS\software\S32SDK_S32K1XX_RTM_4.0.1\doc\
If you don't use SDK, you can check this application note, CRC example is included:
https://www.nxp.com/docs/en/application-note/AN5413.pdf
https://www.nxp.com/webapp/Download?colCode=AN5413SW&docLang=en
Regards,
Lukas