encryption for data in SPI flash

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

encryption for data in SPI flash

Jump to solution
624 Views
sai-bodhanapu
Contributor I

hello, i am using s32k312 mcu with AUTOSAR drivers from latest RTD. i can see there are crypto drivers. can i use these drivers for encrypting my spi flash data?

please let me know.

Thanking you in advance.

0 Kudos
1 Solution
594 Views
lukaszadrapa
NXP TechSupport
NXP TechSupport

Hi @sai-bodhanapu 

Yes, the crypto drivers can be used to encrypt data in SPI memory. See the examples in the RTD package.
Notice that HSE firmware needs to be installed first. This is up to user, this is not programmed in the factory.

We provide document AN744810 “HSE FW install for S32K3xx” which describes how to install the firmware. It can be found in Documentation in Secure Files section:
https://www.nxp.com/products/processors-and-microcontrollers/s32-automotive-platform/s32k-auto-gener...

Then we provide HSE FW and HSE DEMOAPP as a part of S32K3 Standard Software package:
https://www.nxp.com/webapp/swlicensing/sso/downloadSoftware.sp?catid=SW32K3-STDSW-D
HSE DEMOAPP contains a number of scripts for Trace32 which shows how to do all the install – update – program operations. Document HSE_DEMOAPP_..._ReadMe.pdf explains how to use the scripts. The scripts can be modified per your needs.

Regards,

Lukas

View solution in original post

0 Kudos
2 Replies
592 Views
sai-bodhanapu
Contributor I

thank you @lukaszadrapa, i will look into it

 

0 Kudos
595 Views
lukaszadrapa
NXP TechSupport
NXP TechSupport

Hi @sai-bodhanapu 

Yes, the crypto drivers can be used to encrypt data in SPI memory. See the examples in the RTD package.
Notice that HSE firmware needs to be installed first. This is up to user, this is not programmed in the factory.

We provide document AN744810 “HSE FW install for S32K3xx” which describes how to install the firmware. It can be found in Documentation in Secure Files section:
https://www.nxp.com/products/processors-and-microcontrollers/s32-automotive-platform/s32k-auto-gener...

Then we provide HSE FW and HSE DEMOAPP as a part of S32K3 Standard Software package:
https://www.nxp.com/webapp/swlicensing/sso/downloadSoftware.sp?catid=SW32K3-STDSW-D
HSE DEMOAPP contains a number of scripts for Trace32 which shows how to do all the install – update – program operations. Document HSE_DEMOAPP_..._ReadMe.pdf explains how to use the scripts. The scripts can be modified per your needs.

Regards,

Lukas

0 Kudos