SLAU846B June 2023 – November 2024 MSPM0G1105 , MSPM0G1106 , MSPM0G1107 , MSPM0G1505 , MSPM0G1506 , MSPM0G1507 , MSPM0G1519 , MSPM0G3105 , MSPM0G3105-Q1 , MSPM0G3106 , MSPM0G3106-Q1 , MSPM0G3107 , MSPM0G3107-Q1 , MSPM0G3505 , MSPM0G3505-Q1 , MSPM0G3506 , MSPM0G3506-Q1 , MSPM0G3507 , MSPM0G3507-Q1 , MSPM0G3519
The TRNG includes a state machine which manages the current operating state of the TRNG. The TRNG is configured for use by sending commands to the TRNG to change its state. The TRNG has seven states, given in Table 26-2.
Code | State Name | Description |
---|---|---|
0x0 | OFF | Analog block is powered off, digital block is disabled |
0x1 | PWRUP_ES | TRNG is in the process of powering up the entropy source and will transition to NORM_FUNC. |
0x2 | PWRDOWN_ES | TRNG is in the process of powering down the entropy source and will transition to OFF. |
0x3 | NORM_FUNC | TRNG is running and generating random bits normally. |
0x7 | TEST_DIG | TRNG is running the digital power-on self-test. |
0xB | TEST_ANA | TRNG is running the analog power-on self-test. |
0xA | ERROR | Operation halted due to an error condition. The analog remains powered but the health and conditioning logic is stopped. |
The current TRNG state can be determined by application software. To check the current state, read the FSM_STATE field in the STAT register of the TRNG.