Search found 9 matches
- Tue Aug 01, 2017 1:24 pm
- Forum: General Discussion
- Topic: ESP32 with small PCB searched.
- Replies: 13
- Views: 19783
Re: ESP32 with small PCB searched.
I am waiting for a module like this: https://www.aliexpress.com/item/Hot-selling-ESP-32S-WiFi-Bluetooth-module-Dual-core-CPU-Ethernet-poort-MCU-Lage-power-Bluetooth/32811940089.html nice - you know, that the modul can't connect to a breadboard? ( double pinheader pins left and right are nice but th...
- Tue Aug 01, 2017 8:53 am
- Forum: General Discussion
- Topic: ESP32 with small PCB searched.
- Replies: 13
- Views: 19783
Re: ESP32 with small PCB searched.
I am waiting for a module like this:
https://www.aliexpress.com/item/Hot-sel ... 40089.html
I placed the order a few days ago.
https://www.aliexpress.com/item/Hot-sel ... 40089.html
I placed the order a few days ago.
- Fri Jul 28, 2017 8:19 am
- Forum: General Discussion
- Topic: Migration from Arduino IDE to ESP-IDF
- Replies: 9
- Views: 20820
Re: Migration from Arduino IDE to ESP-IDF
In the inline assembly block, %0 is the reference to the first register in the capture list (given after the assembly statement); and count is the name of the special register. The whole thing looks a bit confusing because both the special register and the variable have the same name. Yes. I notice...
- Thu Jul 27, 2017 3:32 pm
- Forum: General Discussion
- Topic: Migration from Arduino IDE to ESP-IDF
- Replies: 9
- Views: 20820
Re: Migration from Arduino IDE to ESP-IDF
The suggested way of obtaining time is POSIX gettimeofday function (and you can set time using settimeofday). Both Timer Group peripherals are also available for applications to use, ESP-IDF does not use them internally. Hi ESP_igrr, thanks for your information. At this time my interest is related ...
- Thu Jul 27, 2017 3:05 pm
- Forum: General Discussion
- Topic: Migration from Arduino IDE to ESP-IDF
- Replies: 9
- Views: 20820
Re: Migration from Arduino IDE to ESP-IDF
Can you use the same implementation as arduino? millis() https://github.com/espressif/arduino-esp32/blob/master/cores/esp32/esp32-hal-misc.c#L50 micros() https://github.com/espressif/arduino-esp32/blob/master/cores/esp32/esp32-hal-misc.c#L33 Hi f.h-f.s, Hmmm. Your proposal seems interesting but it ...
- Thu Jul 27, 2017 9:24 am
- Forum: General Discussion
- Topic: Migration from Arduino IDE to ESP-IDF
- Replies: 9
- Views: 20820
Migration from Arduino IDE to ESP-IDF
Arduino IDE for ESP32 has some important limitations. So I decided to migrate to ESP-IDF. I installed Arduino as ESP-IDF component as first step for this purpose: https://github.com/espressif/arduino-esp32#using-as-esp-idf-component But this solution was not completely successful. I got some trouble...
- Tue Jun 27, 2017 5:30 pm
- Forum: General Discussion
- Topic: Non-deterministic behaviour while acquiring data (Interrupts supposedly disabled))
- Replies: 5
- Views: 8567
Re: Non-deterministic behaviour while acquiring data (Interrupts supposedly disabled))
static portMUX_TYPE spinlock = portMUX_INITIALIZER_UNLOCKED; portENTER_CRITICAL(&spinlock); // this code runs with interrupts disabled portEXIT_CRITICAL(&spinlock); Your solution works fine, but, if the critical code spends more than 300 msec, a wdt exception occurs: Guru Meditation Error: Core 0 p...
- Tue Jun 27, 2017 2:53 pm
- Forum: General Discussion
- Topic: Non-deterministic behaviour while acquiring data (Interrupts supposedly disabled))
- Replies: 5
- Views: 8567
Re: Non-deterministic behaviour while acquiring data (Interrupts supposedly disabled))
Thanks a lot for your information. Is there a work around for enabling and disabling interrupts using the Arduino IDE?. For examle, can I write my own assembler code and link it with other c modules? These functions (cli and sei) seem essential for developing real-time firmware, but maybe they are n...
- Tue Jun 27, 2017 1:23 pm
- Forum: General Discussion
- Topic: Non-deterministic behaviour while acquiring data (Interrupts supposedly disabled))
- Replies: 5
- Views: 8567
Non-deterministic behaviour while acquiring data (Interrupts supposedly disabled))
I wish to use the ESP32 chip for acquiring some digital samples at high rates and I detected a suspicious non-deterministic behaviour on delays in some cases. So, I wrote a simple test program trying to understand that strange behaviour. This is the function loop(): ... #define DIM_DELAYS 128 unsign...