Search found 9 matches

by jjamjohnson
Sun Oct 10, 2021 12:06 am
Forum: Hardware
Topic: Strange noise when recording audio
Replies: 0
Views: 2060

Strange noise when recording audio

Hello all, When using Bluetooth or WiFi there is clicking noise in the recording. I have tried to install various capacitors on the modules between VCC and GND but no significant improvement was detected. When recording to SD CARD without wireless started, I do not see this kind of issues. I am expe...
by jjamjohnson
Mon Oct 04, 2021 2:07 pm
Forum: ESP-IDF
Topic: Issues when using SPI SD card
Replies: 12
Views: 22260

Re: Issues when using SPI SD card

I have the same problem, how do you reduce the speed of the SPI frequency? Hello, I was not around for a while, but if it still helps I did it the following way: static sdmmc_host_t host = SDSPI_HOST_DEFAULT(); ... host.max_freq_khz = 10000; ... // Further initialization Additional advice - be sure...
by jjamjohnson
Fri Jan 15, 2021 5:07 pm
Forum: ESP-IDF
Topic: Streaming data data via Bluetooth on constant rate from ESP32 to Android
Replies: 1
Views: 2664

Streaming data data via Bluetooth on constant rate from ESP32 to Android

Hello everyone. I have audio samples at 8kHz sample rate and successfully send them to Android phone via Bluetooth SPP. The issue I am facing is non constant send rate - but rather fluctuates from 1KBps to 44KBps and causes for playback to snap. I can solve or minimize this by increasing buffer size...
by jjamjohnson
Tue Jan 12, 2021 12:14 am
Forum: ESP-IDF
Topic: Issues when using SPI SD card
Replies: 12
Views: 22260

Re: Issues when using SPI SD card

The reason i mentioned about 5V for this sd card module is because i am using exactly the same module and it was the issue i had with it. I found the same answer on arduino-esp32 github. Im not saying it is/was the issue in your case, but i thought its worth to mention. This module is using AMS1117...
by jjamjohnson
Thu Dec 10, 2020 8:48 pm
Forum: ESP-IDF
Topic: Issues when using SPI SD card
Replies: 12
Views: 22260

Re: Issues when using SPI SD card

Tell me that you have checked the 3V / 5V comment? That's an easy datasheet check. You can get voltage level issues to 'work' when reducing MHz but you don't/should not use empirical results ahead of something as simple as a datasheet check (I'm not doing that check for you). 41Kbps is stupidly slo...
by jjamjohnson
Wed Dec 09, 2020 12:11 am
Forum: ESP-IDF
Topic: Issues when using SPI SD card
Replies: 12
Views: 22260

Re: Issues when using SPI SD card

Try a really, really slow SPI speed. Like 1MHz. This will help show that the issue is not hardware. Thanks! Once I decreased frequency it started working. I get max write speed (1024 to 4096 bytes chunks) at 41KBps. This seams low, any hints on how to improve? This is 5V SD card adapter. It seams t...
by jjamjohnson
Fri Nov 20, 2020 12:06 am
Forum: ESP-IDF
Topic: I2S with built-in ADC and Bluetooth
Replies: 0
Views: 2004

I2S with built-in ADC and Bluetooth

Hello! I have created an application for ESP32 that uses I2S to sample built-in ADC and it works great. I use following IIS configuration: i2s_config_t i2s_config = { .mode = (i2s_mode_t)(I2S_MODE_MASTER | I2S_MODE_RX | I2S_MODE_TX | I2S_MODE_DAC_BUILT_IN | I2S_MODE_ADC_BUILT_IN), .sample_rate = sam...
by jjamjohnson
Sat Nov 14, 2020 9:08 pm
Forum: ESP-IDF
Topic: Issues when using SPI SD card
Replies: 12
Views: 22260

Re: Issues when using SPI SD card

Try a really, really slow SPI speed. Like 1MHz. This will help show that the issue is not hardware. Thanks! Once I decreased frequency it started working. I get max write speed (1024 to 4096 bytes chunks) at 41KBps. This seams low, any hints on how to improve? This is 5V SD card adapter. It seams t...
by jjamjohnson
Thu Nov 12, 2020 11:31 pm
Forum: ESP-IDF
Topic: Issues when using SPI SD card
Replies: 12
Views: 22260

Issues when using SPI SD card

Hello, I am trying to setup SD CARD on ESP32 DevKit V1 board using esp-idf for some time but without success. When I use Arduino IDE, the card works without issues (SD_Test example sketch). When using esp-idf example sd_card, i get the following error message: I (347) example: Initializing SD card I...