Search found 9 matches

by ritsch@algo.mur.at
Thu Oct 19, 2023 1:41 pm
Forum: ESP-ADF
Topic: SD-Card reading stutttering from WAV file ... SD_MODE_SPI
Replies: 3
Views: 28143

Re: SD-Card reading stutttering from WAV file ... SD_MODE_SPI

On the ESP32-ADF from Olimex the SPI Port for SD Card has GPIO12 as MISO, which has two issues: a) GPIO12 is a strapping Pin, which means, resetting during a read can cause GPIO12 to stay High, choosing 1.8V flash voltage instead of 3.3V and reboot fails. Can be avoided by efusing this pin, so it is...
by ritsch@algo.mur.at
Tue Oct 10, 2023 6:11 am
Forum: ESP-ADF
Topic: SD-Card reading stutttering from WAV file ... SD_MODE_SPI
Replies: 3
Views: 28143

Re: SD-Card reading stutttering from WAV file ... SD_MODE_SPI

Running the ESP32-audioI2S library example, everthing works fine:

https://github.com/schreibfaul1/ESP32-a ... P32_ES8388

So suspect some wrong settings of the environment like said by the warning.

mfg winfried
by ritsch@algo.mur.at
Sat Oct 07, 2023 8:38 am
Forum: ESP-ADF
Topic: SD-Card reading stutttering from WAV file ... SD_MODE_SPI
Replies: 3
Views: 28143

SD-Card reading stutttering from WAV file ... SD_MODE_SPI

Hello, On an Lyrat V4.3 like board, Olimex ESP-ADF, I tried playing wav file with the 'pipeline_equalizer' example.c. using IDF-5.1.1 and latest ESP-ADF library (installed by PlatformIO IDF extension) and default configuration. The difference to LyraT SD-card uses SPI and other Pinout, so a did a cu...
by ritsch@algo.mur.at
Fri Apr 02, 2021 2:41 pm
Forum: ESP-IDF
Topic: LEDC with open drain outputs
Replies: 8
Views: 8655

Re: LEDC with open drain outputs

Thank you very much for the explanation, it helps much, we will try another FET or FET-driver. I'm actually not sure why this difference is. The ESP-IDF implementation seems more simpler and the Arduino one a bit more complicated; perhaps the Arduino code has some side effect that makes this work. I...
by ritsch@algo.mur.at
Thu Apr 01, 2021 8:35 am
Forum: ESP-IDF
Topic: LEDC with open drain outputs
Replies: 8
Views: 8655

Re: LEDC with open drain outputs

Thank you for the hint, now I understand: The output is always still an input, so we have to use the "input characteristics" for outputs and therefore there are no output characteristics in the data sheets, which are superseded by them. open drain is implemented to realize buses with common pull ups...
by ritsch@algo.mur.at
Wed Mar 31, 2021 3:51 pm
Forum: ESP-IDF
Topic: LEDC with open drain outputs
Replies: 8
Views: 8655

Re: LEDC with open drain outputs

Thank you very much for the advice. With the `pinMode(...)` I already did this on en ESP32 quite a time now (a year). ... the ESD protection will limit your GPIO voltage to a bit above 3.3V ... I could measure 4,85V with my oscilloscope, see snapshot: - Rpu=10 kOhm on GPIO33 on an ESP32S2 (Olimex bo...
by ritsch@algo.mur.at
Wed Mar 31, 2021 8:40 am
Forum: ESP-IDF
Topic: LEDC with open drain outputs
Replies: 8
Views: 8655

Re: LEDC with open drain outputs

.... Can you explain why you want to have open drain outputs in this specific case? Since I want to use PWM to drive a FET with more than 3.3V on input, in this case Vg=5V: * * +-----+---> + Vcc * | | * Diode _ 3 * A 3 solenoid * Vg <-+ | 3 * | | | * R +----- * | _| * GPIO__+__||_ (MOS)-FET/Transis...
by ritsch@algo.mur.at
Wed Mar 31, 2021 8:17 am
Forum: ESP-IDF
Topic: LEDC with open drain outputs
Replies: 8
Views: 8655

LEDC with open drain outputs

What is the best practice to set open drain output ( GPIO_MODE_OUTPUT_OD ) on an LEDC channel ? Using ESP-IDF framework and trying to set it before or after configure the cledc hannel with "ledc_channel_config()" does not work. for example after configuration of ledc channel #include <driver/ledc.h>...
by ritsch@algo.mur.at
Wed Feb 26, 2020 6:33 am
Forum: ESP-IDF
Topic: Using opus decoder with ESP-IDF 4.x
Replies: 7
Views: 10473

Re: Using opus decoder with ESP-IDF 4.x

A link to the project would be fine,
also trying a streaming with the ESP32-POE-ISO (Olimex).

mfg winfried