rngRead Availability Issue

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

rngRead Availability Issue

383 Views
manderson107
Contributor I

Ran into an issue where the software drops into HardFault_Handler when trying to use the OTP_API rngRead to access the true RNG in the LPC54608.  This leads to two questions.

First, what is the minimum hardware (clocks/peripherals) that must be enabled to access this?

Second, UM10912 Rev. 2.4 — 11 November 2019, section 46.6.1 states that OTP API is only available when main system clock is 12 MHz.  Is that true for the RNG as well or just for the OTP/ECRP portions?

Thank you,

Maury

0 Kudos
1 Reply

373 Views
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello,

" Is that true for the RNG as well or just for the OTP/ECRP portions?"

->> NO.

 There is A rng_random demo under SDK, you can refer to:

Alice_Yang_0-1663211506837.png

 

 

BR

Alice

0 Kudos