Chapter 3. application solution
typedef enum {
AUDIO_HAL_CODEC_MODE_ENCODE = 1, /*! <select adc */
AUDIO_HAL_CODEC_MODE_DECODE, /*! <select dac*/
AUDIO_HAL_CODEC_MODE_BOTH, /*! <select both adc and dac */
speaker
→
AUDIO_HAL_CODEC_MODE_LINE_IN, /*! <set adc channel */,
microphone pickup
→
} Audio_hal_codec_mode_t;
• The configuration of the pickup method is as follows:
audio_board_handle_t board_handle = audio_board_init();
audio_hal_ctrl_codec(board_handle->audio_hal, AUDIO_HAL_CODEC_MODE_DECODE,
AUDIO_HAL_CTRL_START);
→
configuration option.
→
3.4.4 When using ESP32-WROVER-B module + ES8311 to design audio development
board, which pins can be selected for MCLK clock?
• On the hardware side, MCLK can only use GPIO0, GPIO1, and GPIO3 pins. Other pins cannot be used. You
can read
ESP32 Datasheet
• Please refer to the
schamatic of
• For allocation of pins, please refer to
3.4.5 Can ESP32-WROVER-E module use one I2S line to realize simultaneous broad-
casting and recording?
• Yes, you can refer to
3.4.6 Do Espressif modules support Spotify Connect?
:CHIP: ESP32 | ESP32-S2 | ESP32-S3 :
• Not supported yet. It is suggested to try dlna, which has similar functions.
3.4.7 When running the korvo_du1906 example on an ESP32-Korvo-DU1906 board, a
reboot caused the following error message: Guru Meditation Error: Core 0 panic'ed
(IllegalInstruction). Exception was unhandled. How to resolve such issue?
• Please check the power supply.
• it is recommended that the system be connected to an at least 5 V/2 A power adapter for sufficient current
supply.
Espressif Systems
//To MIC pickup, please modify
about CLK_OUT* pins in IO_MUX table. GPIO0 is used by default.
ESP32-LyraT-Mini.
ESP32-LyraT-Mini V1.2 Hardware
ESP32-LyraT Development
Submit Document Feedback
Reference.
Board.
26
// MIC pickup
//
MIC
+␣
//␣
this␣
Release master
Need help?
Do you have a question about the ESP and is the answer not in the manual?