Page 1 of 1

Microsemi zl38063 register access

Posted: Thu Jun 15, 2023 10:56 am
by rduell
i'm using the ESP32-LYRATD-MSC board which includes the DSP ZL38063. According to the datasheet of the ZL38063 it performs sound location 0..360°using the 3-microphone array. In fact, i suppose for Voice Detection this is a value which is somehow calculated and stored in one of the register. But, how can i access these registers? the ESP-ADF driver section for the ZL34063 doesn't provided any dedicated function for sound location. However, a function to read registers is available. Can this be used to receive these values? Thanks.

Re: Microsemi zl38063 register access

Posted: Tue Jun 27, 2023 5:23 am
by tempo.tian
esp_codec_dev provide register setting to outside
components/esp_codec_dev/device/zl38063/zl38063.c
you call audio_codec_new_spi_ctrl to build spi control interface
then use codec->set_reg to set registers

Re: Microsemi zl38063 register access

Posted: Wed Jul 12, 2023 3:05 pm
by rduell
Thank you! in the meantime, i found a way to read the corresponding register from the MSC. However, I will try your approach as well