Hi! I'm running TRNG with the MIMXRT1021DAG5A microcontroller, I've successfully got a random data with MCUXpresso "trng_random.c" example and I want to make some TRNG settings (make it work faster with worse rand quality for example).
The problem is that I cannot find any TRNG registers description in reference manual. There is /** TRNG - Register Layout Typedef */ in the "MIMXRT1021.h" file, but I not found such registers in reference manual and other documents. I run Config Tools but I have no idea what the TRGN parameters mean without module description. Can You help me with that?
Appreciate Your help!
/** TRNG - Register Layout Typedef */
typedef struct {
__IO uint32_t MCTL; /**< Miscellaneous Control Register, offset: 0x0 */
__IO uint32_t SCMISC; /**< Statistical Check Miscellaneous Register, offset: 0x4 */
__IO uint32_t PKRRNG; /**< Poker Range Register, offset: 0x8 */
union { /* offset: 0xC */
__IO uint32_t PKRMAX; /**< Poker Maximum Limit Register, offset: 0xC */
__I uint32_t PKRSQ; /**< Poker Square Calculation Result Register, offset: 0xC */
...
Solved! Go to Solution.
TRNG belongs to security module, its description is not in normal reference manual, you can find it in security reference manual
https://www.nxp.com/webapp/Download?colCode=IMXRT102XSRM&appType=moderatedWithoutFAE
TRNG belongs to security module, its description is not in normal reference manual, you can find it in security reference manual
https://www.nxp.com/webapp/Download?colCode=IMXRT102XSRM&appType=moderatedWithoutFAE