Search found 25 matches

by lafar6502
Mon Mar 07, 2022 7:33 am
Forum: Hardware
Topic: Powering ESP32 with Lithium battery (step up module)
Replies: 4
Views: 5675

Re: Powering ESP32 with Lithium battery (step up module)

You can supply 3.3V directly to the 3.3V pin bypassing the built-in voltage regulator, but make sure it's not above 3.6v (max allowed voltage according to spec)
by lafar6502
Thu Mar 03, 2022 3:48 pm
Forum: ESP-ADF
Topic: compilation of esp-adf - howto
Replies: 0
Views: 2535

compilation of esp-adf - howto

I see esp-adf repository links to some specific version of esp-idf (from 2020). But the installation / getting started instructions mention that ESP-IDF should be installed before getting esp-adf from git. So i'm a bit confused - if you're suposed to install esp-idf, why there's an old version linke...
by lafar6502
Wed Mar 02, 2022 3:01 pm
Forum: ESP-ADF
Topic: ESP32 Korvo v1.1 - resources
Replies: 0
Views: 2453

ESP32 Korvo v1.1 - resources

Hi, i got Korvo V1.1 borard (the round one) but it appears it's not listed in ESP-ADF hardware list. So my question is - why? Is it somehow unrelated/unsupported by ESP-ADF, or maybe it's similar to some other board so that it's almost the same? Looks quite similar to LyraTD MSC in shape, but i'm no...
by lafar6502
Mon Jun 08, 2020 12:46 pm
Forum: General Discussion
Topic: Using timers and interrupts - AC dimmer application
Replies: 2
Views: 4524

Re: Using timers and interrupts - AC dimmer application

some hints 1. zero detection - check for noise / oscillations and debounce if necessary. I dont know why but my zero detection circuit generated a lot of oscillations at each zero transition and this led to lots of WTF moments. So just count them - should be equal to 2 x mains frequency. 2. RTOS tim...
by lafar6502
Sun May 03, 2020 7:11 pm
Forum: ESP-IDF
Topic: xTimer...FromISR functions availability - FreeRTOS
Replies: 6
Views: 9015

Re: xTimer...FromISR functions availability - FreeRTOS

thanks, this may come handy in future. The wealth of RTOS functions related to synchronization and message passing can be confusing. And you know what i use for 'deferred interrupt handling' in Arduino? A boolean flag that is set in the ISR and periodically checked in the main loop (logic so trivial...
by lafar6502
Sat May 02, 2020 2:41 pm
Forum: ESP-IDF
Topic: xTimer...FromISR functions availability - FreeRTOS
Replies: 6
Views: 9015

Re: xTimer...FromISR functions availability - FreeRTOS

Allright, so lets try to get something from that 1. xTimerPend.... functions are there, i just needed to include "freertos/timers.h" in addition to "freertos/task.h". Browsing esp-idf sources helps. 2. But my intuition about them was wrong. xTimerPendFunctionCall will do what it says, namely it will...
by lafar6502
Sun Apr 26, 2020 10:13 am
Forum: ESP-IDF
Topic: xTimer...FromISR functions availability - FreeRTOS
Replies: 6
Views: 9015

Re: xTimer...FromISR functions availability - FreeRTOS

sorry, everything is allright. I'm just suffering from bouts of stupidity. All functions are in place, my code was just messy. please delete whole topic, its useless.
by lafar6502
Sat Apr 25, 2020 9:57 pm
Forum: ESP-IDF
Topic: xTimer...FromISR functions availability - FreeRTOS
Replies: 6
Views: 9015

Re: xTimer...FromISR functions availability - FreeRTOS

need some clarification here in the components\freertos\xtensa\include\freertos\FreeRTOSConfig.h file there is this definition #define INCLUDE_xTimerPendFunctionCall 1 this #define controls availabilit of some xTimer.... APIs, not only xTimerPendFunctionCall. and still, xTimerPendFunctionCall is not...
by lafar6502
Fri Apr 24, 2020 8:38 pm
Forum: ESP-IDF
Topic: GPIO input interruption is very sensitive
Replies: 2
Views: 4581

Re: GPIO input interruption is very sensitive

are you calling gpio_isr_handler_add in a loop? what is the reason for that?
by lafar6502
Fri Apr 24, 2020 8:33 pm
Forum: ESP-IDF
Topic: xTimer...FromISR functions availability - FreeRTOS
Replies: 6
Views: 9015

xTimer...FromISR functions availability - FreeRTOS

Hi, there's a group of xTimer... functions defined in FreeRTOS that can be called from an ISR: xTimerStartFromISR xTimerPendFunctionCallFromISR but it appears they're not included in ESP-IDF version of FreeRTOS. Not included at all, or can be enabled by some configuration settings? The reason for as...