Microsemi zl38063 register access

rduell
Posts: 4
Joined: Mon May 08, 2023 6:07 pm

Microsemi zl38063 register access

Postby rduell » Thu Jun 15, 2023 10:56 am

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.

tempo.tian
Posts: 40
Joined: Wed Jun 22, 2022 12:10 pm

Re: Microsemi zl38063 register access

Postby tempo.tian » Tue Jun 27, 2023 5:23 am

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

rduell
Posts: 4
Joined: Mon May 08, 2023 6:07 pm

Re: Microsemi zl38063 register access

Postby rduell » Wed Jul 12, 2023 3:05 pm

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

Who is online

Users browsing this forum: No registered users and 54 guests