2025-01-17 07:49 AM
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.
2025-02-12 08:50 AM
Hi @TheLoneRanger ,
Please refer to the chapter ADF in the product reference manual RM0456.
Here an overview of how SAD works:
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
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.