You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: examples/peripherals/i2s/i2s_codec/i2s_es7210_tdm/README.md
+6-7Lines changed: 6 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,6 +16,8 @@ This example demonstrates how to use I2S TDM mode to record 4 MICs connected to
16
16
| ES7210_I2S_FMT_DSP_A | PCM short format |
17
17
| ES7210_I2S_FMT_DSP_B | PCM long format |
18
18
19
+
In this example, we use `esp_codec_dev` dependency which contains the `es7210` driver. This driver uses `ES7210_I2S_FMT_I2S` format by default.
20
+
19
21
Recorded voice will be saved to SD card in `wav` format, and can be played or processed on PC.
20
22
21
23
## How to Use Example
@@ -31,11 +33,11 @@ All the GPIO used in this example can be changed according to your board, by mac
31
33
32
34
### Dependency
33
35
34
-
This example is based on [es7210 component](https://components.espressif.com/component/espressif/es7210)
36
+
This example is based on [esp_codec_dev component](https://components.espressif.com/components/espressif/esp_codec_dev)
35
37
36
-
The component can be installed by esp component manager. Since this example already installed it, no need to re-installed it again, but if you want to install this componentin your own project, you can input the following command:
38
+
The component can be installed by [IDF Component Manager](https://docs.espressif.com/projects/esp-idf/en/latest/esp32/api-guides/tools/idf-component-manager.html). This example already includes it. If you want to install [esp_codec_dev component](https://components.espressif.com/components/espressif/esp_codec_dev) separately in your project, you can input the following command:
If the dependency is added, you can check `idf_component.yml` for more detail. When building this example or other projects with managed components, the component manager will search for the required components online and download them into the `managed_components` folder.
@@ -46,11 +48,8 @@ If the dependency is added, you can check `idf_component.yml` for more detail. W
46
48
```
47
49
idf.py set-target TARGET
48
50
```
49
-
* Change value of `EXAMPLE_I2S_FORMAT` to check I2S driver's functionality on different I2S formats.
50
-
* Change `EXAMPLE_ES7210_MIC_GAIN` and `EXAMPLE_ES7210_MIC_BIAS` according your MIC's specs if needed.
51
-
* Change `EXAMPLE_ES7210_ADC_VOLUME` if recorded voice is too loud or too quite.
52
51
53
-
Note: it's better to adjust `EXAMPLE_ES7210_MIC_GAIN` first. If adjusting MIC gain doesn't meet your demand, you can then adjust `EXAMPLE_ES7210_ADC_VOLUME`. That is to say, it's better to adjust analog gain than digital gain.
52
+
The configuration macros are defined at the beginning of `main/i2s_es7210_record_example.c`, you can change the configuration macros according to your needs.
Copy file name to clipboardExpand all lines: examples/peripherals/i2s/i2s_codec/i2s_es8311/README.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -59,11 +59,11 @@ Note: Since ESP32-C3 & ESP32-H2 board does not have GPIO 16/17, you can use othe
59
59
60
60
### Dependency
61
61
62
-
This example is based on [es8311 component](https://components.espressif.com/component/espressif/es8311)
62
+
This example is based on [esp_codec_dev component](https://components.espressif.com/components/espressif/esp_codec_dev)
63
63
64
-
The component can be installed by [IDF Component Manager](https://docs.espressif.com/projects/esp-idf/en/latest/esp32/api-guides/tools/idf-component-manager.html). This example already includes it. If you want to install [es8311 component](https://components.espressif.com/components/espressif/es8311) separately in your project, you can input the following command:
64
+
The component can be installed by [IDF Component Manager](https://docs.espressif.com/projects/esp-idf/en/latest/esp32/api-guides/tools/idf-component-manager.html). This example already includes it. If you want to install [esp_codec_dev component](https://components.espressif.com/components/espressif/esp_codec_dev) separately in your project, you can input the following command:
If the dependency is added, you can check `idf_component.yml` for more detail. When building this example or other projects with managed components, the component manager will search for the required components online and download them into the `managed_components` folder.
0 commit comments