Request for Guidance on Configuring Mono Audio Output from SQ66 (XVF3800) to ESP32 Wrover E

Technical discussions around xCORE processors (e.g. xcore-200 & xcore.ai).
Praveen625
Junior Member
Posts: 7
Joined: Wed Oct 23, 2024 12:00 pm

Request for Guidance on Configuring Mono Audio Output from SQ66 (XVF3800) to ESP32 Wrover E

Post by Praveen625 »

I am developing a keyword detection system using the ESP32 Wrover E, where I run all my machine learning tasks and other operations. Currently, I am using the SQ66 evaluation kit (XVF3800) for the microphone, configured as a slave device. I provide the I2S BCLK and LRCLK signals from the ESP32 and connect the DATA1 pin from the SQ66 to the ESP32 to receive the processed audio data. By default, I am receiving stereo audio, but I would like to receive mono audio instead. Can anyone guide me on how to achieve that?

For ua configuration there is a host control application where I can control the setting but how to achieve my task in int device conf...
ACascarino - XMOS
Junior Member
Posts: 5
Joined: Wed May 22, 2024 5:26 pm

Post by ACascarino - XMOS »

Hi Praveen,

For the INT device configuration, control is undertaken over I2C or over SPI. The xvf_host tool comes with support for I2C and SPI control as an example when compiled for a Raspberry Pi - for other embedded hosts some modification to the host application will be required to interface with your chosen target's IO libraries.
Alternatively, if you don't need runtime control and just need static configuration, the device's default control settings may be adjusted by editing the YAML files found in app_xvf3800/autogeneration/yaml_files/settings_and_defaults/product - the values for AUDIO_MGR_OP_L and AUDIO_MGR_OP_R may be set there. Refer to the User Manual for a description of each of the possible values for these commands. The software may then be recompiled and flashed to your device.

Kind regards,
Angel
Last edited by ACascarino - XMOS on Wed Oct 23, 2024 12:39 pm, edited 1 time in total.
Praveen625
Junior Member
Posts: 7
Joined: Wed Oct 23, 2024 12:00 pm

Post by Praveen625 »

Hi Angel,

Thank you for the quick reply! I appreciate the information and will test it out. I'll reach out if I need any further clarification.

Kind regards,
Praveen