stm32 /stm32wb0 /STM32WB09 /TRNG /TRNG_SR

Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text

Interpret as TRNG_SR

31 2827 2423 2019 1615 1211 87 43 0 0 0 0 0 0 0 0 00 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 (B_0x0)TRNG_DISABLED 0 (B_0x0)ALL_OSCS_DOWN 0 (B_0x0)REVEAL_CLK_ERR 0 (B_0x0)ENTROPY_ERR 0 (B_0x0)VAL_READY 0 (B_0x0)FIFO_FULL 0 (SRC_HEALTH_DONE)SRC_HEALTH_DONE 0 (REPET_ERROR)REPET_ERROR 0 (ADAPT_ERROR)ADAPT_ERROR 0 (OSCS_HEALTH_DONE)OSCS_HEALTH_DONE 0 (OSCS_REPET_ERROR)OSCS_REPET_ERROR 0 (OSCS_ADAPT_ERROR)OSCS_ADAPT_ERROR

ALL_OSCS_DOWN=B_0x0, TRNG_DISABLED=B_0x0, VAL_READY=B_0x0, FIFO_FULL=B_0x0, ENTROPY_ERR=B_0x0, REVEAL_CLK_ERR=B_0x0

Description

TRNG_SR register

Fields

TRNG_DISABLED

TRNG is disabled.

0 (B_0x0): Normal operation.

1 (B_0x1): RNG is disabled.

ALL_OSCS_DOWN

All oscillators of the random source noise have been powered down. This can cause the rising of OEC3 flag.

0 (B_0x0): At least one oscillator is ON

1 (B_0x1): All oscillators are down

REVEAL_CLK_ERR

The internal clock for the RNG core is not revealed.

0 (B_0x0): Internal clock for RNG clock is present.

1 (B_0x1): Internal RNG clock is not present.

ENTROPY_ERR

The error refers to a fault in the bit sequence detected by the Entropy Monitor. Failed test is given by REPET_ERROR, and ADAPT_ERROR, OSCS_REPET_ERROR and OSCS_ADAPT_ERROR status flags.

0 (B_0x0): No fault detected

1 (B_0x1): Embedded heath monitor detects an error in bit stream quality

VAL_READY

TRNG Value ready At least one 32-bit random value is available in the data FIFO. Note that application must ensure that a random is available in internal FIFO before starting a read otherwise a bus error will be generated.

0 (B_0x0): No value is ready in FIFO.

1 (B_0x1): A 32-bit value is available in the internal FIFO

FIFO_FULL

Indicates whether random data FIFO is full.

0 (B_0x0): FIFO is not full.

1 (B_0x1): The internal data FIFO is full and four 32-bit random values can be read.

SRC_HEALTH_DONE

First run of noise source health test is completed

REPET_ERROR

Noise source Repetition health test error

ADAPT_ERROR

Noise source Adaptive 1024 health test error

OSCS_HEALTH_DONE

First run of source health tests of individual oscillators composing the noise source are completed.Reserved

OSCS_REPET_ERROR

Logical OR of repetition health test errors of individual oscillators composing the noise source.

OSCS_ADAPT_ERROR

Logical OR of adaptive health test errors of individual oscillators composing the noise source.

Links

()