Search found 4 matches

by dpmcgabriel
Thu May 14, 2020 11:14 pm
Forum: ESP-IDF
Topic: Card Detect pin via hardware controller
Replies: 2
Views: 4374

Re: Card Detect pin via hardware controller

ESP_igrr, thanks for your super quick reply. Attempting to your recommendations, I modified the code to have te 'errno' outputs printed. Everything went all right, and, in fact, when I removed the SD card during a read it returned me a errno 5, that is EIO. But, just to test it, I returned the slot ...
by dpmcgabriel
Thu May 14, 2020 3:51 am
Forum: ESP-IDF
Topic: Card Detect pin via hardware controller
Replies: 2
Views: 4374

Card Detect pin via hardware controller

Dear Espressif, I am trying to use the full capabilities of the SDMMC driver, but, for some reason I can not make use of the CD pin on the ESP32 driver. To simplify, I'm putting below a copy of the example, already modified to use the pin 36 as the CD pin, dettached of the rest of my code. Instead o...
by dpmcgabriel
Sat May 02, 2020 5:43 pm
Forum: ESP-IDF
Topic: xTimer...FromISR functions availability - FreeRTOS
Replies: 6
Views: 8887

Re: xTimer...FromISR functions availability - FreeRTOS

Thanks for the response. I actually have a slighly different problem. My interrupts are digitally generated by other IC and are slow, so dont need extra cares with debouncing, etc. I was endeed able to use xTimerPendFunctionCallFromISR, and the errors was really just foolish of mine when declaring t...
by dpmcgabriel
Wed Apr 29, 2020 4:13 am
Forum: ESP-IDF
Topic: xTimer...FromISR functions availability - FreeRTOS
Replies: 6
Views: 8887

Re: xTimer...FromISR functions availability - FreeRTOS

Man, if you are stupid, I am too. I have the same problem here: when an interrupt is triggered, I need to write some stuff in the SPI chip clearing one mask. That's very quick job, but don't fit inside the ISR. So I need the same as you, a way to make a callback, right after the interrupt, not allow...