Search found 13 matches

by andriy
Sat Nov 04, 2017 1:56 am
Forum: General Discussion
Topic: ESP32-PICO unknown Chip ID
Replies: 2
Views: 836

Re: ESP32-PICO unknown Chip ID

WiFive wrote:Yes, esptool just doesn't have it listed
Thanks! Good to go then.
by andriy
Fri Nov 03, 2017 6:53 pm
Forum: General Discussion
Topic: ESP32-PICO unknown Chip ID
Replies: 2
Views: 836

ESP32-PICO unknown Chip ID

I made my own board using ESP32-PICO-D4. When flashing it, I found something like this: Flashing binaries to serial port /dev/cu.SLAB_USBtoUART (app at offset 0x10000)... esptool.py v2.1 Connecting........_ Chip is unknown ESP32 (revision 0) Uploading stub... Running stub... Stub running... Changing...
by andriy
Thu Jul 13, 2017 3:48 am
Forum: General Discussion
Topic: Store Audio Samples on Esp
Replies: 4
Views: 2232

Re: Store Audio Samples on Esp

Hello, I already record and playback audio with i2s. I now want to store a 16 Bit pcm sample encoded file from what i can read from. I dropped the file in the same folder my .c file is located. but excecuteing this code: printf("Start reading file\n\n\n"); FILE *f = fopen("Test.raw", "rb"); fseek(f...
by andriy
Thu Jul 13, 2017 3:46 am
Forum: ESP32 IDF
Topic: I2S microphone (RX)
Replies: 52
Views: 29199

Re: I2S microphone (RX)

Guys,

Anyone made it to create a simple recording functionality with discussed I2S mics?
Tried to store the bytes read from the mic and store as they are, apparently I can not do playback well. The result playback somehow is too fast.

Thanks for any ideas and directions.
by andriy
Tue May 30, 2017 6:03 pm
Forum: ESP32 IDF
Topic: I2S microphone (RX)
Replies: 52
Views: 29199

Re: I2S microphone (RX)

Here is a complete example, I verified it works: /* * app_main.c * * Created on: 30.03.2017 * Author: michaelboeckling */ #include <stdlib.h> #include <stddef.h> #include <inttypes.h> #include <string.h> #include <stdio.h> #include <stdbool.h> #include <sys/time.h> #include "freertos/FreeRTOS.h" #i...
by andriy
Fri May 19, 2017 12:11 am
Forum: ESP32 IDF
Topic: I2S microphone (RX)
Replies: 52
Views: 29199

Re: I2S microphone (RX)

int cnt = 0; uint64_t buffer = 0; char buf[4096]; while(1) { cnt++; buffer = 0; int bytes_read = i2s_read_bytes(I2S_NUM_1, buf, sizeof(buf), 0); int samples_read = bytes_read / 2 / (I2S_BITS_PER_SAMPLE_32BIT / 8); char *buf_ptr_read = buf[0]; char *buf_ptr_write = buf[0]; const char samp64[8]; for(...
by andriy
Thu May 18, 2017 6:25 pm
Forum: ESP32 IDF
Topic: I2S microphone (RX)
Replies: 52
Views: 29199

Re: I2S microphone (RX)

As I struggled with this myself, this thread helped me getting started, and finally made it to capture the voice using SPH0645LM4H and playback to confirm. Thanks guys! So, for future reference, here's the complete code I use combining all code posted earlier: i2s_config_t i2s_config_rx = { mode: (i...
by andriy
Wed Nov 30, 2016 3:24 pm
Forum: General Discussion
Topic: ESP32 from Bare Chip
Replies: 11
Views: 5925

Re: ESP32 from Bare Chip

Please check suggestions in this topic and follow up there if problem persists: http://www.esp32.com/viewtopic.php?f=2&t=322 Long time not updating. Regarding the MD5 issue, I've solved it by changing the SPI flash IC. Initially I used S25FL116K0XMFI011. Then I used the exact IC as ESP-WROOM (and o...
by andriy
Tue Nov 08, 2016 3:48 pm
Forum: General Discussion
Topic: ESP32 from Bare Chip
Replies: 11
Views: 5925

Re: ESP32 from Bare Chip

More update. So we managed to solder the flash IC and success booting from flash. It's time to upload a firmware. And when I did, it is ALMOST success, until the very last error: A fatal error occurred: MD5 of file does not match data in flash! The complete log: esptool.py v2.0-dev Connecting... Upl...
by andriy
Tue Nov 08, 2016 4:28 am
Forum: General Discussion
Topic: ESP32 from Bare Chip
Replies: 11
Views: 5925

Re: ESP32 from Bare Chip

Thanks again for your reply and directions. Will check and revise the schematics. Just an update. So we solder one more chip to a new PCB, by only soldering the chip, chip enabled pullup resistor, 40Mhz crystal and capacitors, and carefully inspect the solder quality, hey...it starts to spit out som...

Go to advanced search