S32K14X CSEC pram data fillling problem

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

S32K14X CSEC pram data fillling problem

Jump to solution
851 Views
1113240626
Contributor II

as demo(cesc_keyconfig) say:  

plaintext = 00112233445566778899aabbccddeeff
ciphertext = 69c4e0d86a7b0430d8cdb78070b4c55a

 

why data is  32bit reversed when filling in pram ?

link plaintext  = 0x00112233 0x44556677

ciphertext=0x69c4e0d8 0x6a7b0430.

Do you have any document to explain this ?

Tags (1)
0 Kudos
Reply
1 Solution
698 Views
Senlent
NXP TechSupport
NXP TechSupport

Hi@1113240626

You don't need to waste your time on this.

You can check how the API "CSEC_WriteCommandBytes()" fills the PRAM.

Senlent_0-1764211862291.png

 

 

View solution in original post

5 Replies
699 Views
Senlent
NXP TechSupport
NXP TechSupport

Hi@1113240626

You don't need to waste your time on this.

You can check how the API "CSEC_WriteCommandBytes()" fills the PRAM.

Senlent_0-1764211862291.png

 

 

755 Views
Senlent
NXP TechSupport
NXP TechSupport

Hi@1113240626

Senlent_1-1764050023677.png

 

 

 

 

0 Kudos
Reply
717 Views
1113240626
Contributor II

hello, thanks for your response.

in s32RM_rel14, like the picture below。

Tags (2)
0 Kudos
Reply
787 Views
1113240626
Contributor II

Is csec subsystem big endian?

0 Kudos
Reply
786 Views
1113240626
Contributor II

I saw PRAM description  that the pram interface is Big Endian in s32kRM_r9, and  pram interface is Little Endian in s32kRM_r14. what happened? The chip‘s design had been changed?or is s32kRM_r9  error?

Tags (2)
0 Kudos
Reply