stm32 /stm32n6 /STM32N655 /ADF /ADF_SADCR

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_SADCR

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)SADEN 0 (B_0x0)DATCAP 0 (B_0x0)DETCFG 0 (B_0x0)SADST 0 (B_0x0)HYSTEN 0 (B_0x0)FRSIZE 0 (B_0x0)SADMOD 0 (B_0x0)SADACTIVE

SADACTIVE=B_0x0, FRSIZE=B_0x0, DATCAP=B_0x0, SADST=B_0x0, DETCFG=B_0x0, SADEN=B_0x0, HYSTEN=B_0x0, SADMOD=B_0x0

Description

ADF SAD control register

Fields

SADEN

Sound activity detector enable

0 (B_0x0): SAD disabled and SAD state reset

1 (B_0x1): SAD enabled

DATCAP

Data capture mode

0 (B_0x0): Samples from DFLT0 not transfered into the memory

1 (B_0x1): Samples from DFLT0 transfered into the memory when SAD is in DETECT state

DETCFG

Sound trigger event configuration

0 (B_0x0): sddet_evt generated when SAD enters the MONITOR state

1 (B_0x1): sddet_evt generated when SAD enters or exits the DETECT state

SADST

SAD state

0 (B_0x0): SAD in LEARN state

1 (B_0x1): SAD in MONITOR state

3 (B_0x3): SAD in DETECT state

HYSTEN

Hysteresis enable

0 (B_0x0): Hysteresis function disabled. THRless thansub>Hless than/sub> is always used.

1 (B_0x1): Hysteresis function enabled. THRless thansub>Hless than/sub> is used for MONITOR to DETECT transition and THRless thansub>Lless than/sub> is used for DETECT to MONITOR transition.

FRSIZE

Frame size

0 (B_0x0): 8 PCM samples used to compute the short-term signal level

1 (B_0x1): 16 PCM samples used to compute the short-term signal level

2 (B_0x2): 32 PCM samples used to compute the short-term signal level

3 (B_0x3): 64 PCM samples used to compute the short-term signal level

4 (B_0x4): 128 PCM samples used to compute the short-term signal level

5 (B_0x5): 256 PCM samples used to compute the short-term signal level

SADMOD

SAD working mode

0 (B_0x0): Threshold value computed according to the estimated ambient noise

1 (B_0x1): Threshold value equal to ANMIN[12:0], multiplied by the gain selected by SNTHR[3:0]

SADACTIVE

SAD Active flag

0 (B_0x0): SAD not active and can be configured if needed

1 (B_0x1): SAD active and protected fields cannot be configured.

Links

()