mirror of
https://github.com/espressif/esp-idf.git
synced 2026-10-01 18:50:34 +03:00
Merge branch 'feat/sup_i2s_in_esp32s31_example_v6.1' into 'release/v6.1'
feat(bt/example): Support I2S output of esp32s31 in A2DP sink stream example (v6.1) See merge request espressif/esp-idf!50055
This commit is contained in:
@@ -50,7 +50,15 @@ If the internal DAC is selected, analog audio will be available on GPIO25 and GP
|
||||
|
||||
#### ESP32-S31
|
||||
|
||||
The default output is idle. If I2S is used, it can be configured through menuconfig. Currently, DAC is not supported.
|
||||
The default output is I2S. If I2S is used, it can be configured through menuconfig. The default I2S connections are shown below:
|
||||
|
||||
| ESP pin | I2S signal |
|
||||
| :-------- | :----------- |
|
||||
| GPIO3 | LRCK |
|
||||
| GPIO4 | DATA |
|
||||
| GPIO2 | BCK |
|
||||
|
||||
Currently, DAC is not supported.
|
||||
|
||||
### Configure the project
|
||||
|
||||
|
||||
+4
-1
@@ -1,2 +1,5 @@
|
||||
CONFIG_PARTITION_TABLE_SINGLE_APP_LARGE=y
|
||||
CONFIG_EXAMPLE_A2DP_SINK_OUTPUT_IDLE=y
|
||||
CONFIG_EXAMPLE_A2DP_SINK_OUTPUT_EXTERNAL_I2S=y
|
||||
CONFIG_EXAMPLE_I2S_BCK_PIN=2
|
||||
CONFIG_EXAMPLE_I2S_LRCK_PIN=3
|
||||
CONFIG_EXAMPLE_I2S_DATA_PIN=4
|
||||
|
||||
@@ -39,7 +39,15 @@ If the internal DAC is selected, analog audio will be available on GPIO25 and GP
|
||||
|
||||
#### ESP32-S31
|
||||
|
||||
The default output is idle. If I2S is used, it can be configured through menuconfig. Currently, DAC is not supported.
|
||||
The default output is I2S. If I2S is used, it can be configured through menuconfig. The default I2S connections are shown below:
|
||||
|
||||
| ESP pin | I2S signal |
|
||||
| :-------- | :----------- |
|
||||
| GPIO3 | LRCK |
|
||||
| GPIO4 | DATA |
|
||||
| GPIO2 | BCK |
|
||||
|
||||
Currently, DAC is not supported.
|
||||
|
||||
### Configure the project
|
||||
|
||||
|
||||
+4
-1
@@ -1,2 +1,5 @@
|
||||
CONFIG_PARTITION_TABLE_SINGLE_APP_LARGE=y
|
||||
CONFIG_EXAMPLE_A2DP_SINK_OUTPUT_IDLE=y
|
||||
CONFIG_EXAMPLE_A2DP_SINK_OUTPUT_EXTERNAL_I2S=y
|
||||
CONFIG_EXAMPLE_I2S_BCK_PIN=2
|
||||
CONFIG_EXAMPLE_I2S_LRCK_PIN=3
|
||||
CONFIG_EXAMPLE_I2S_DATA_PIN=4
|
||||
|
||||
Reference in New Issue
Block a user