Skip to main content
Explorer II
January 17, 2025
Question

Where is ADF ambient noise level stored for SAD?

  • January 17, 2025
  • 1 reply
  • 505 views

Howdy,

just as the subject line asks, I am trying to figure out where the ADF stores its Ambient noise level (ANLVL) or if there is already a callback for that value. I was having trouble locating where this value is stored. Is there a set register location I can call or a set variable? In addition, where would the sound level (SDLVL) be stored? Any help with this would be much appreciated. 

    This topic has been closed for replies.

    1 reply

    Technical Moderator
    February 12, 2025

    Hi @TheLoneRanger ,

    Please refer to the chapter ADF in the product reference manual RM0456.

    Here an overview of how SAD works:

    AmelNASRI_0-1739376559043.png

    In the reference manual, you will find more details about the registers as well as SDLVL & ANLVL computation.

    You can also refer to the example: https://github.com/STMicroelectronics/STM32CubeU5/tree/main/Projects/B-U585I-IOT02A/Examples/MDF/ADF_AudioSoundDetector.

    -Amel