Search found 10 matches
- Mon Aug 16, 2021 6:21 pm
- Forum: ESP-ADF
- Topic: Understanding the audio processing of ADF
- Replies: 0
- Views: 6017
Understanding the audio processing of ADF
Hi folks, so I got a problem understanding how exactly the whole data-flow, segmentation and timing works inside audio elements and pipelines. Say, I read an I2S-Stream at 24b/48k stereo which will read 96kx24bit of data each second. How is this audio-data segmented into the frames that will end up ...
- Mon Jul 12, 2021 6:36 am
- Forum: ESP-IDF
- Topic: Wifi Driver Receive Buffer Access/Interrupt
- Replies: 7
- Views: 7494
Re: Wifi Driver Receive Buffer Access/Interrupt
So, I finally had the time to come back to this and try your example. Worked like a charm. Thanks, David!
- Tue Jul 06, 2021 10:08 pm
- Forum: ESP-ADF
- Topic: I2S Stream seems to be one bit short
- Replies: 0
- Views: 4948
I2S Stream seems to be one bit short
Hi all, I am currently playing around with ESP-ADF using an ESP32 Dev-Board together with a Wolfson WM8731 Audio Codec Dev-Board https://www.digikey.de/product-detail/de/mikroelektronika/MIKROE-506/1471-1228-ND/4495592 . I added my own driver lib for the codec as well as a board description and as f...
- Tue Jun 08, 2021 7:20 am
- Forum: ESP-IDF
- Topic: esp_wifi_get_tsf_time takes "long" time to execute ~48us
- Replies: 3
- Views: 4566
Re: esp_wifi_get_tsf_time takes "long" time to execute ~48us
Yeah, if you look at my log of esp_mesh_get_tsf_time() you can see that the first read also was slower than the rest. That's a bit unfortunate. Maybe it's worth opening a GitHub issue since it seems to be deterministic behavior.
- Thu Jun 03, 2021 3:58 pm
- Forum: ESP-IDF
- Topic: esp_wifi_get_tsf_time takes "long" time to execute ~48us
- Replies: 3
- Views: 4566
Re: esp_wifi_get_tsf_time takes "long" time to execute ~48us
Use the esp_mesh_get_tsf_time() function in esp_mesh.h ( https://github.com/espressif/esp-idf/blob/c13afea635adec735435961270d0894ff46eef85/components/esp_wifi/include/esp_mesh.h#L1515 ), it's way faster (<1us). Here's a console log of 25 consecutive TSF timestamp readouts using the mesh-lib functio...
- Thu Jun 03, 2021 12:52 pm
- Forum: ESP-IDF
- Topic: Wifi Driver Receive Buffer Access/Interrupt
- Replies: 7
- Views: 7494
Re: Wifi Driver Receive Buffer Access/Interrupt
Hi WiFive,
thanks for taking a look into it. Can you explain what you mean by 'clearing' the interrupt? I haven't encountered this terminus in the context of the ESP32 and I can't find a reference to this anywhere in the api or the technical reference manual.
Thanks a lot!
Dennis
thanks for taking a look into it. Can you explain what you mean by 'clearing' the interrupt? I haven't encountered this terminus in the context of the ESP32 and I can't find a reference to this anywhere in the api or the technical reference manual.
Thanks a lot!
Dennis
- Wed Jun 02, 2021 9:23 pm
- Forum: ESP-IDF
- Topic: Wifi Driver Receive Buffer Access/Interrupt
- Replies: 7
- Views: 7494
Re: Wifi Driver Receive Buffer Access/Interrupt
Hi David, first of all, thank you for your answer! It definitely pointed me into the right direction. I have now tried to install an interrupt using the ETS_WIFI_MAC_INTR_SOURCE in the following fashion: 1.) I created a freeRTOS Event group to handle some events of my SyncTSF service. The only thing...
- Wed Jun 02, 2021 10:31 am
- Forum: ESP-ADF
- Topic: ESP32 and WM8731
- Replies: 3
- Views: 7088
Re: ESP32 and WM8731
The pins used for I2S and I2C can be configured in software. The ESP32 has a multiplexer that can route a peripheral to almost any physical pin of the module you're using. There's a few pins that can't/shouldn't be used because they're being used e.g. for communication with the internal SPI flash or...
- Sat May 29, 2021 11:28 am
- Forum: ESP-ADF
- Topic: ESP32 and WM8731
- Replies: 3
- Views: 7088
Re: ESP32 and WM8731
I'm using the WM8731 in a project at the moment. But I'm not really sure what your question is exactly. Do you have problems understanding the electrical part of wiring up i2c and i2s or the software part? For a start, i'd get one of the eval boards for the wm8731, e.g. here: https://www.digikey.com...
- Sun May 16, 2021 6:26 pm
- Forum: ESP-IDF
- Topic: Wifi Driver Receive Buffer Access/Interrupt
- Replies: 7
- Views: 7494
Wifi Driver Receive Buffer Access/Interrupt
Hi All, I'm currently trying to implement a synchronization Protocol called 'SyncTSF', where the core idea is to always keep the System time adjusted to the Wi-Fi TSF-Timer value. Now, as per standard, the local TSF timer of an STA is automatically synched to the AP's TSF timer value by applying an ...