Closed ValeraDanger closed 1 year ago
I think you should refer to esp32s3-eye board setting to modify your board.
I have renamed sdkconfig.defaults.esp32s3eye
to sdkconfig
and tryied to flash my board. While flashing, I tooked this error, cause my chip is not S3.
I think you should refer to esp32s3-eye board setting to modify your board.
I mean you can refer to https://github.com/espressif/esp-skainet/blob/master/components/hardware_driver/boards/esp32s3-eye/bsp_board.c to modify I2S setting. The microphone of esp32_korvo_v1_1 is analog microphone. The microphone of esp32s3-sys is digital microphone and I guess your mircophone is digital microphone too.
I am using TTGO T-camera http://www.lilygo.cn/prod_view.aspx?TypeId=50030&Id=1273&FId=t3:50030:3 with I2S microphone. It's pinout:
This module has ESP32 (not S3) chip, so i am using
sdkconfig.defaults.esp32
. I'm trying to change i2s pins. I've foundedesp-skainet\components\hardware_driver\boards\include\esp32_korvo_v1_1_board.h
file, where I changedGPIO_I2S
block (notGPIO_I2S0
, cause it seems to be second mic). This didn't work, so I disabled all useless blocks (changeFUNC_*func_name*_EN
parametrs to zero). Here you can see my actual fullesp32_korvo_v1_1_board.h
file:This didn't help too. I appended
printf(i2s_buff);
in\esp-skainet\examples\wake_word_detection\main\main.c
file infeed_Task
function. to see, is there any data from my mic. . There is this func's code:But monitor is empty So, there is not any data from my microphone, Also, I've noticed, this warning I think, the problem is the absence of any codec on my board (before, I took data directly from mic by DMA (this sample worked for me https://github.com/atomic14/esp32-i2s-mic-test ))
How can I tune this code to force it working on this board?