stm32 /stm32h7rs /STM32H7R /ADF /ADF_SADCFGR

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 ADF_SADCFGR

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)SNTHR0ANSLP0 (B_0x0)LFRNB0 (B_0x0)HGOVR0ANMIN

LFRNB=B_0x0, HGOVR=B_0x0, SNTHR=B_0x0

Description

ADF SAD configuration register

Fields

SNTHR

Signal to noise threshold This field is set and cleared by software. It is used to define THRH (and THRL if hysteresis is enabled). See Table 419 for details. others: Reserved Note: This field can be write-protected (see Section 46.4.13: Register protection for details).

0 (B_0x0): THRH is 3.5 dB higher than ANLVL

1 (B_0x1): THRH is 6.0 dB higher than ANLVL

2 (B_0x2): THRH is 9.5 dB higher than ANLVL

3 (B_0x3): THRH is 12 dB higher than ANLVL

4 (B_0x4): THRH is 15.6 dB higher than ANLVL

5 (B_0x5): THRH is 18 dB higher than ANLVL

6 (B_0x6): THRH is 21.6 dB higher than ANLVL

7 (B_0x7): THRH is 24.1 dB higher than ANLVL

8 (B_0x8): THRH is 27.6 dB higher than ANLVL

9 (B_0x9): THRH is 30.1dB higher than ANLVL

ANSLP

Ambient noise slope control This field is set and cleared by software. It is used to define the positive and negative slope of the noise estimator, in charge of updating the ANLVL (see Ambient noise estimation (ANLVL) for information about programming this field). Note: This field can be write-protected (see Section 46.4.13: Register protection for details).

LFRNB

Number of learning frames This field is set and cleared by software. It is used to define the number of learning frames to perform the first estimate of the noise level. 1xx: 32 frames used to compute the initial noise level Note: This field can be write-protected (see Section 46.4.13: Register protection for details).

0 (B_0x0): 2 frames used to compute the initial noise level

1 (B_0x1): 4 frames used to compute the initial noise level

2 (B_0x2): 8 frames used to compute the initial noise level

3 (B_0x3): 16 frames used to compute the initial noise level

HGOVR

Hangover time window This field is set and cleared by software. Once the SAD state is DETECT, this parameter is used to define the amount of time the sound is allowed to remain below the threshold, before switching the SAD to MONITOR state (see FRSIZE field for the description of a frame). Note: This field can be write-protected (see Section 46.4.13: Register protection for details).

0 (B_0x0): SAD back to MONITOR state if sound is below threshold for 4 frames

1 (B_0x1): SAD back to MONITOR state if sound is below threshold for 8 frames

2 (B_0x2): SAD back to MONITOR state if sound is below threshold for 16 frames

3 (B_0x3): SAD back to MONITOR state if sound is below threshold for 32 frames

4 (B_0x4): SAD back to MONITOR state if sound is below threshold for 64 frames

5 (B_0x5): SAD back to MONITOR state if sound is below threshold for 128 frames

6 (B_0x6): SAD back to MONITOR state if sound is below threshold for 256 frames

7 (B_0x7): SAD back to MONITOR state if sound is below threshold for 512 frames

ANMIN

Minimum noise level This field is set and cleared by software. It is used to define the minimum noise level and then the sensitivity. It represents a positive number. Note: This field can be write-protected (see Section 46.4.13: Register protection for details).

Links

()