Search found 49 matches

by shabtronic
Thu Mar 26, 2020 5:43 pm
Forum: Hardware
Topic: How do the peripherals impact power consumption?
Replies: 1
Views: 514

Re: How do the peripherals impact power consumption?

It's far far easier and simpler to buy a USB current/voltage meter (ebay £3.99!) and measure real world consumption - than calculate from docs/specs.
by shabtronic
Fri Mar 13, 2020 7:26 pm
Forum: ESP32 ADF
Topic: How to relink components from VoIP example
Replies: 2
Views: 4145

Re: How to relink components from VoIP example

HI I had a few problems with this also, don't know if I'm doing it correctly - but this worked for me, and I tried many different things. audio_pipeline_terminate(pipeline); if (strstr(Mp3Files[Mp3Stack[Mp3StackPos]].c_str(), (const char*)".mp3")) { audio_decoder = mp3_decoder; const char * boomer[]...
by shabtronic
Sat Feb 15, 2020 8:44 pm
Forum: ESP32 ADF
Topic: Help with Ai-Thinker ESP32-A1S Audio Kit
Replies: 3
Views: 4300

Re: Help with Ai-Thinker ESP32-A1S Audio Kit

probably the mixer line-in routing isn't setup properly. You'll need to read the AC101 codec data sheet and bodge in some functionality to do that. http://www.x-powers.com/en.php/Info/down/id/96 I'd would code this up - but I no longer have my A1S boards for a short while :( Seeed has some example A...
by shabtronic
Sat Feb 01, 2020 6:51 pm
Forum: ESP32 ADF
Topic: C++ programming with ESP32 Lyrat
Replies: 4
Views: 3600

Re: C++ programming with ESP32 Lyrat

Why C over C++? C is traditionally used in embedded because of it lightweight nature. C++ can be rather heavy on memory usage esp with STl. With C you can control where your memory is allocated - dram or spi ram - very easily with the esp malloc. With C++ and STL it's rather complicated to write a c...
by shabtronic
Mon Jan 27, 2020 2:03 pm
Forum: ESP32 ADF
Topic: A1S ADF
Replies: 2
Views: 3120

Re: A1S ADF

ummm it's the version on that's linked on the github page I made: https://github.com/espressif/esp-adf/tree/3305749c93763b7a83d030e7f30b28f3aeb1d186 that also has a symbolic link to the IDF version required. you also have to first select the board with "idf.py menuconfig" before you build. I haven't...
by shabtronic
Tue Jan 21, 2020 7:53 am
Forum: ESP32 ADF
Topic: MP3 Decoder cpu usage
Replies: 6
Views: 1872

Re: MP3 Decoder cpu usage

I'm afraid not - the mp3/flac player I wrote only plays random files from the sd-card every time. It's like a "discovery" shuffle system - I wrote it so I could never actually select a track - just Prev/Next from a random list sized 1024 tracks. I wrote it this way because I have some many audio fil...
by shabtronic
Mon Jan 13, 2020 11:51 pm
Forum: ESP32 ADF
Topic: DEFAULT_ESP_M4A_DECODER_CONFIG vs DEFAULT_AAC_DECODER_CONFIG
Replies: 4
Views: 967

Re: DEFAULT_ESP_M4A_DECODER_CONFIG vs DEFAULT_AAC_DECODER_CONFIG

Awesome!

No I have no links - I found it by myself when playing around with mp3/flac decoders on the different cores. I think it's linked to the task context switcher not saving the fpu state properly - that's just a guess tho - I didn't have time to investigate it further.
by shabtronic
Fri Jan 10, 2020 11:14 pm
Forum: ESP32 ADF
Topic: DEFAULT_ESP_M4A_DECODER_CONFIG vs DEFAULT_AAC_DECODER_CONFIG
Replies: 4
Views: 967

Re: DEFAULT_ESP_M4A_DECODER_CONFIG vs DEFAULT_AAC_DECODER_CONFIG

The mp3 decoder has issues running on core 1 - it's fpu thing. Guessing M4A has the same thing?

Flac has no problem on core-1, mp3 decodes badly with noise.

It could be that? try running on core-0 to test.
by shabtronic
Thu Jan 02, 2020 6:05 pm
Forum: ESP32 IDF
Topic: I2C Speed issues
Replies: 0
Views: 267

I2C Speed issues

Hi Esp32 Folk I'm guessing the I2C system is limited to around 1mhz? I'm testing out various OLEDs - that I know can run above 1mhz - and I'm getting about 1.1mhz speed out the current I2C IDF system. OLED is a SSD1327, buffer size is 8192 bytes - i2c speed is set to 2,000,000. Transfer time is arou...
by shabtronic
Tue Dec 31, 2019 12:19 am
Forum: IDEs for ESP-IDF
Topic: Official Visual Studio Code Extension for ESP-IDF Projects
Replies: 9
Views: 9902

Re: Official Visual Studio Code Extension for ESP-IDF Projects

OMG - that is awesome!

took me a few hours previously adding *every single* component dir (idf and adf) path into a vs project
:)

Thank you! :D

Go to advanced search