You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by "TangMeng12 (via GitHub)" <gi...@apache.org> on 2025/07/01 09:26:52 UTC

Re: [I] [FEATURE] Is it possible to add audio support to ESP32S3-BOX? [nuttx]

TangMeng12 commented on issue #16636:
URL: https://github.com/apache/nuttx/issues/16636#issuecomment-3022948295

   I understand what you said, we tried `i2schar` and `nxplayer` tests, and found nothing abnormal, but the audio still has no sound output.
   
   [esp32s3-box-audio-log.txt](https://github.com/user-attachments/files/20995415/esp32s3-box-audio-log.txt)
   
   I've collected my logs, can you help me see where we have a problem?
   
   Referring to (https://github.com/apache/nuttx/commit/b25c4ec9633085b4f6a694b935f7a5866938ddf2), we just modified the following config:
   boards/xtensa/esp32s3/esp32s3-lcd-ev/configs/audio/defconfig
   ...
   CONFIG_ESP32S3_I2C0=y
   CONFIG_ESP32S3_I2C0_SCLPIN=18
   CONFIG_ESP32S3_I2C0_SDAPIN=17
   CONFIG_ESP32S3_I2S0=y
   CONFIG_ESP32S3_I2S0_BCLKPIN=9
   CONFIG_ESP32S3_I2S0_DOUTPIN=8
   CONFIG_ESP32S3_I2S0_MCLK=y
   CONFIG_ESP32S3_I2S0_MCLKPIN=16
   CONFIG_ESP32S3_I2S0_WSPIN=45
   CONFIG_ESP32S3_I2S=y
   ...
   
   boards/xtensa/esp32s3/esp32s3-box/configs/audio/defconfig
   ...
   +CONFIG_ESP32S3_I2C0=y
   +CONFIG_ESP32S3_I2C0_SCLPIN=18
   +CONFIG_ESP32S3_I2C0_SDAPIN=8
   +CONFIG_ESP32S3_I2S0=y
   +CONFIG_ESP32S3_I2S0_BCLKPIN=17
   +CONFIG_ESP32S3_I2S0_DINPIN=15
   +CONFIG_ESP32S3_I2S0_DOUTPIN=16
   +CONFIG_ESP32S3_I2S0_MCLK=y
   +CONFIG_ESP32S3_I2S0_MCLKPIN=2
   +CONFIG_ESP32S3_I2S0_SAMPLE_RATE=48000
   +CONFIG_ESP32S3_I2S0_WSPIN=45
   +CONFIG_ESP32S3_I2S=y
   ...
   
   Both PIN configurations have been tried, but none of them succeeded.
   
   My patch [my.patch](https://github.com/user-attachments/files/20995658/my.patch),  my nuttx version is NuttX-12.6.0.
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org