Re: ESP32 I2S audio recording is incomplete

2023-10-27 Thread Alan C. Assis
that time. > > From: Alan C. Assis > Sent: Thursday, October 26, 2023 10:55 > To: dev@nuttx.apache.org > Cc: Lucas Vaz > Subject: Re: ESP32 I2S audio recording is incomplete > > [External: This email originated outside Espressif] > > Hi Simona, > &g

Re: ESP32 I2S audio recording is incomplete

2023-10-26 Thread Alan C. Assis
There should be something wrong on our config! I tested here (using esp32-devkitc:psram) and it worked like a charm! nsh> ? help usage: help [-v] [] . cp exitmkfatfs rmdir umount [ cmp false mkrdset unset

Re: ESP32 I2S audio recording is incomplete

2023-10-26 Thread Simona Toaca
Yes, ESP32_PSRAM_8M is enabled. Regards, Simona În joi, 26 oct. 2023 la 16:55, Alan C. Assis a scris: > Hi Simona, > > On 10/26/23, Simona Toaca wrote: > > Hello, > > > > I want to make sure that I understood this correctly, you're saying that > > the I2S audio saved to an SDCard (via SPI) on

Re: ESP32 I2S audio recording is incomplete

2023-10-26 Thread Alan C. Assis
Hi Simona, On 10/26/23, Simona Toaca wrote: > Hello, > > I want to make sure that I understood this correctly, you're saying that > the I2S audio saved to an SDCard (via SPI) on Lyra T is working ok? > I think that is true. Maybe Lucas can confirm if he was saving in the SDCard. > Also, I

Re: ESP32 I2S audio recording is incomplete

2023-10-26 Thread Simona Toaca
Hello, I want to make sure that I understood this correctly, you're saying that the I2S audio saved to an SDCard (via SPI) on Lyra T is working ok? Also, I tried creating a ramdisk of 1mb+ for testing, but I did not find a way do to so. For example, mkrd 1024 lends the error: mkrd:

Re: ESP32 I2S audio recording is incomplete

2023-10-20 Thread Alan C. Assis
Hi Simon, Lucas just confirmed that it was working fine on Lyra T with ES8388 Audio Codec. I think she is using SDCard over SPI (even slower). There is not SDCard interface support for ESP32 on NuttX yet (the SDCard uses/shares I2S interface). The ESP32 MCU has 2 I2S interfaces, so in theory

Re: ESP32 I2S audio recording is incomplete

2023-10-19 Thread Simon Filgis
Hi Simona, SD Cards have busy time times of 500ms max (per spec) for saving data internally. I saw SD Cards taking over a second of busy time. You can check with the Oszilloskop. I think data0 is the pin that signalize busy... Per design, you need a stream buffer that can handle your audio

Re: ESP32 I2S audio recording is incomplete

2023-10-19 Thread Alan C. Assis
Hi Simona, On 10/19/23, Simona Toaca wrote: > Hello, > I am trying to record audio using a MEMS microphone, but the final > recording is missing parts periodically (for example, with a sample rate of > 8kHz, there are parts ~1s long missing once every ~10-11s. Using a sample > rate of 48kHz, the

ESP32 I2S audio recording is incomplete

2023-10-19 Thread Simona Toaca
Hello, I am trying to record audio using a MEMS microphone, but the final recording is missing parts periodically (for example, with a sample rate of 8kHz, there are parts ~1s long missing once every ~10-11s. Using a sample rate of 48kHz, the period is ~1s long). This is my first time working with