RT1021 TRNG description

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

RT1021 TRNG description

Jump to solution
851 Views
Viawolf
Contributor I

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 */
...

 

Labels (1)
0 Kudos
Reply
1 Solution
788 Views
jay_heng
NXP Employee
NXP Employee

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

RT1020_SRM.PNG

View solution in original post

1 Reply
789 Views
jay_heng
NXP Employee
NXP Employee

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

RT1020_SRM.PNG