This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AM3352: Use of TRNG (Hardware RNG) on AM3352

Guru 12165 points
Part Number: AM3352

Tool/software:

Hi,

We are currently exploring the use of the AM3352’s hardware random number generator (TRNG).

We referred to the following E2E forum discussion and attempted to access the TRNG in a baremetal environment, but we have not been successful in generating valid random numbers.

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/355064/am335x-how-to-use-hardware-rng#pi316653=2

We would greatly appreciate your guidance on the following points:

  1. Are there any official documents or sample code (baremetal or U-Boot level) available to help initialize and use the TRNG on AM3352?

  2. Besides register-level control, are there any additional conditions such as clock settings or secure-mode restrictions that must be met to operate the TRNG?

  3. For Linux-based usage, we understand the omap_rng driver provides access to /dev/hwrng. Could you share any additional information regarding required Device Tree or clock configurations to ensure it operates correctly?

Best regards,

Conor