Couldn't write/read CAAM registers in imx6

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

Couldn't write/read CAAM registers in imx6

Jump to solution
625 Views
ma_sreelakshmi
Contributor II

Hi

I want to use CAAM for random number generation...But i couldn't write/read to CAAM job ring registers.. I tried with other CAAM registers but same...I came to know that i need more permissions to write to those registers...(correct me if i am wrong)

Can anyone suggest me what are the permissions we need to write/read in CAAM registers...?

i am a beginner in CAAM

Thanks in advance

Sreelakshmy

0 Kudos
1 Solution
575 Views
igorpadykov
NXP Employee
NXP Employee

Hi Sreelakshmy

very simple caam tests can be found in sdk:

rt-thread/caam_test.c at master · RT-Thread/rt-thread · GitHub 

or linux:

imx_sec_apps - i.MX Security Application Examples 

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

View solution in original post

0 Kudos
2 Replies
576 Views
igorpadykov
NXP Employee
NXP Employee

Hi Sreelakshmy

very simple caam tests can be found in sdk:

rt-thread/caam_test.c at master · RT-Thread/rt-thread · GitHub 

or linux:

imx_sec_apps - i.MX Security Application Examples 

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos
575 Views
ma_sreelakshmi
Contributor II

Hi Igor,

Thank you for the response and example codes provided.

Best regards

Sreelakshmy

0 Kudos