S32K324 Crypto returns CRYPTO_RET_OPERATION_TIMEOUT

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

S32K324 Crypto returns CRYPTO_RET_OPERATION_TIMEOUT

420 次查看
Faker
Contributor II

Hi,

I refer to the demo of Crypto_SymmetricPrimitives_S32K44 to use S32K324's Crypto module, but it can't run it correctly. I trace the code to find that it is timeout in the function of Hse_Ip_ServiceRequest.

/* Send the request to HSE driver */
HseResponse = Hse_Ip_ServiceRequest(u8MuInstance, u8MuChannel, pHseIpReq, pHseSrvDescriptor);
/* Translate the message received from HSE to a Std_ReturnType value */
RetVal = Crypto_Hse_TranslateHseResponse(HseResponse);

RetVal is the value of CRYPTO_RET_OPERATION_TIMEOUT. So I don't kown what the probelm is.

Are there any configurations that affect this function?

 

0 项奖励
回复
1 回复

386 次查看
VaneB
NXP TechSupport
NXP TechSupport

H i @Faker 

To be able to run the example, you need to have installed the HSE FW.

As you are having a timeout at Hse_Ip_ServiceRequest, which means that is expecting the response of the HSE and is not getting it.

Please make sure to have installed the HSE FW before running the example code.

 

B.R.

VaneB.

0 项奖励
回复