Search found 15 matches

by danjulio
Wed Sep 20, 2023 10:06 pm
Forum: ESP-IDF
Topic: Bluetooth Classic Handsfree Client strange crash (IllegalInstruction in bt.c)
Replies: 0
Views: 957

Bluetooth Classic Handsfree Client strange crash (IllegalInstruction in bt.c)

IDF Version: v4.4.4-439-gc25d92074e CPU: ESP32 Version 3.0 BT Controller Version: 97e0759 I have a program for a communications device that uses Bluetooth Classic Handsfree Client running on an ESP32. The Bluetooth stack has been reliable in my system. However last night I was logging data from the ...
by danjulio
Tue Jul 11, 2023 3:08 am
Forum: Showcase
Topic: ESP32 brings old phones back to life
Replies: 0
Views: 38918

ESP32 brings old phones back to life

Introducing my latest gadget - weeBell ( https://hackaday.io/project/191002-weebell-personal-central-office-for-pots-phones ) - a telephone provider for one. weeBell provides a traditional 600 ohm 2-wire telephone port via a AG1171 ringing SLIC and ES8388 codec chip. It allows code on the ESP32 to r...
by danjulio
Sat May 27, 2023 6:25 pm
Forum: ESP-IDF
Topic: iPhone issues with HFP SSP pairing (ESP32)
Replies: 1
Views: 1462

iPhone issues with HFP SSP pairing (ESP32)

I am using the Bluetooth classic HFP (latest v4.4.4 IDF) in an application. I have enabled SSP in the configuration and have support in the code for it. It seems to work fine. However I have seen an issue when pairing with iPhones (both iOS 15 and iOS 16). Instead of displaying the 6-digit code, the...
by danjulio
Wed Apr 12, 2023 3:06 am
Forum: ESP-IDF
Topic: How to synchronize read/write streams with I2S?
Replies: 0
Views: 1634

How to synchronize read/write streams with I2S?

I have a bi-directional (ADC/DAC) codec connected to an ESP32 I2S (MCLK, SCLK, LRCLK, DIN, DOUT). I have a dedicated task on CPU 1 that writes data from a circular buffer to the codec and reads data from the codec into another circular buffer. The I2S driver is configured with 2 DMA buffers sized to...
by danjulio
Mon Mar 06, 2023 7:05 pm
Forum: ESP-IDF
Topic: Samples swapped for mono I2S driving built-in ESP32 DAC (v4.4.4)
Replies: 4
Views: 2374

Re: Samples swapped for mono I2S driving built-in ESP32 DAC (v4.4.4)

@ESP_Sprite - thank you. Good to understand how the ESP32 works. I have a related question. I also wrote a demo that attempts to echo an ADC input back to the DAC output using I2S. It configures I2S 0 for both input and output (ADC + DAC) @ 16 bits. Then it just spins in a loop reading a buffer from...
by danjulio
Sat Mar 04, 2023 6:56 pm
Forum: ESP-IDF
Topic: Samples swapped for mono I2S driving built-in ESP32 DAC (v4.4.4)
Replies: 4
Views: 2374

Samples swapped for mono I2S driving built-in ESP32 DAC (v4.4.4)

I have a very simple ESP32 program (attached) that attempts to output a 500 Hz sine wave to the GPIO25 DAC output using I2S. I configure I2S for mono (one-channel) operation. The sine wave comes from a table-lookup. The sine wave table is 32 entries (for one period). I2S is configured for 16 kHz ope...
by danjulio
Sun Feb 26, 2023 10:43 pm
Forum: ESP-IDF
Topic: How to set ADC1 channel gain when using with I2S?
Replies: 0
Views: 985

How to set ADC1 channel gain when using with I2S?

I am attempting to use an ADC1 channel as an audio input via the I2S system. I have it working, however I cannot seem to set the gain on the channel to anything other than 11dB (ADC_ATTEN_DB_11). I would like to set it to ADC_ATTEN_DB_6 to better match the input signal range. I am using IDF v4.4.2. ...
by danjulio
Mon Feb 20, 2023 8:33 pm
Forum: ESP-ADF
Topic: HFP Client: How to use speaker and microphone with PCM?
Replies: 1
Views: 3512

Re: HFP Client: How to use speaker and microphone with PCM?

I also have this question as well as others. What do the Acoustic Echo Cancellation signals attach to? Is there a way to route the audio data to the built-in DAC and a ADC input on the ESP32? Could this be done with the HCI interface and the I2S driver configured for ADC/DAC? Is the sample rate 8 kH...
by danjulio
Mon Nov 14, 2022 9:43 pm
Forum: Hardware
Topic: ESP32 Rev 3 differences in memory allocation
Replies: 0
Views: 1252

ESP32 Rev 3 differences in memory allocation

I saw something strange and am left wondering if there are differences between older and newer ESP32 Rev 3 chips (WROVER-E module). I have a product designed around the ESP32. Recently we made a new manufacturing run after about a year's time from the previous build. At the same time I implemented s...
by danjulio
Sun Nov 06, 2022 11:47 pm
Forum: Showcase
Topic: gCore - ESP32 Dev board for portable graphics gadgets
Replies: 0
Views: 3354

gCore - ESP32 Dev board for portable graphics gadgets

I designed a high-end development board using the ESP32 WROVER for my tCam project called gCore, short for "Gadget Core". It's meant to be used as a base to build portable battery powered devices that require a graphics or GUI. gcore_rev3.png It has all the features I always wanted but didn't find o...