Search found 26 matches

by michaelwgnr
Wed Jan 17, 2018 7:41 am
Forum: ESP-IDF
Topic: PDM-mode of I2S peripheral through i2s driver
Replies: 7
Views: 16429

Re: PDM-mode of I2S peripheral through i2s driver

Yes, I have been successful. My main issue ended up being a silly mix-up between number-of-samples and buffer size which I haven't discovered for the whole of two days or so... So I skipped half of the data that I was supposed to feed to the driver, which of course resulted in some terrible... "nois...
by michaelwgnr
Tue Dec 19, 2017 7:41 am
Forum: ESP-IDF
Topic: PDM-mode of I2S peripheral through i2s driver
Replies: 7
Views: 16429

Re: PDM-mode of I2S peripheral through i2s driver

Has anyone gotten PDM to run? Could they share their code?
by michaelwgnr
Mon Dec 18, 2017 1:23 pm
Forum: ESP-IDF
Topic: PDM-mode of I2S peripheral through i2s driver
Replies: 7
Views: 16429

Re: PDM-mode of I2S peripheral through i2s driver

Hi tuanpm, Thanks for the response. This is about what I gathered from the sources as well. Still, I'd be happy if you could answer my question: Is the PDM mode of the I2S peripheral built such, that it will always output 48kHz audio at a PDM-clock-rate of 6.144MHz? Furthermore, I wonder if I'm feed...
by michaelwgnr
Fri Dec 15, 2017 2:45 pm
Forum: ESP-IDF
Topic: PDM-mode of I2S peripheral through i2s driver
Replies: 7
Views: 16429

PDM-mode of I2S peripheral through i2s driver

Hello there, I've got an audio amplifier chip attached to the Rev. 1 ESP32 and I'm trying to get the PDM-mode of the i2s mode running without success so far. There are several things I struggle with and somehow no sound seems to emerge from my speakers, even though I tried multiple different combina...
by michaelwgnr
Thu Mar 16, 2017 2:52 pm
Forum: General Discussion
Topic: How does BLE/WiFi-Coexistence in the ESP32 work?
Replies: 1
Views: 5512

How does BLE/WiFi-Coexistence in the ESP32 work?

A very general question: A BLE peripheral has hard timing constraints and is required to receive and transmit during its short connection events. From my understanding, I would assume both technologies use the same radio peripheral in the ESP32-hardware and access to the peripheral would be governed...
by michaelwgnr
Wed Jan 11, 2017 4:27 pm
Forum: ESP-IDF
Topic: [Suggestion] BLE GATT Server: Improve handling of read/write/notify
Replies: 6
Views: 18427

Re: [Suggestion] BLE GATT Server: Improve handling of read/write/notify

... and I almost feel like a spammer with all the BLE posts I write here :oops: I appreciate you It was a bit surprising to me that bluedroid was picked but I guess the other open source options like the Intel stack in zephyr and apache nimble stack are still developing. Thanks. I don't know what o...
by michaelwgnr
Wed Jan 11, 2017 10:45 am
Forum: ESP-IDF
Topic: [Suggestion] BLE GATT Server: Improve handling of read/write/notify
Replies: 6
Views: 18427

Re: [Suggestion] BLE GATT Server: Improve handling of read/write/notify

it does seem like there is a lot of value passing of buffer data between a bunch of handler lookup functions. Yes, that is true. From what I gather, part of the btc subsystem decouples all the ESP API calls from the rest of the bluetooth stack but doesn't do much further. So, for example when calli...
by michaelwgnr
Wed Jan 11, 2017 8:08 am
Forum: ESP-IDF
Topic: [Suggestion] BLE GATT Server: Improve handling of read/write/notify
Replies: 6
Views: 18427

[Suggestion] BLE GATT Server: Improve handling of read/write/notify

When implementing a GATT server, the current handling of GATT read events seems rather convoluted and inefficient to me. In my understanding of Bluetooth LE, the value of a GATT characteristic is a value stored in the server. It only needs to change when the underlying data changes (e.g. a sensor va...