Search found 206 matches

by boarchuz
Wed Apr 08, 2020 4:28 pm
Forum: General Discussion
Topic: ESP32 and external watchdog problems / questions
Replies: 4
Views: 167

Re: ESP32 and external watchdog problems / questions

-Configure ESP32 to boot faster. Will your production firmware really take >1.6s to boot? I highly doubt it. Tie GPIO_15 low, disable all debugging in menuconfig, etc. -Use a different external wdt with a timeout that meets your needs. -Modify the bootloader to feed your external watchdog. -Add some...
by boarchuz
Mon Apr 06, 2020 10:16 am
Forum: ESP32 Arduino
Topic: How to update GCC for Arduino core? (5.2->7.x/8.x)
Replies: 2
Views: 147

Re: How to update GCC for Arduino core? (5.2->7.x/8.x)

I believe Arduino-ESP32 is in the process of updating to IDF 4.x which uses 8.2. Wait a little longer for that update to release.

If you're really impatient then I see there's this branch but I have no idea what state it's in:
https://github.com/espressif/arduino-es ... lease/v4.0
by boarchuz
Thu Apr 02, 2020 8:20 am
Forum: Hardware
Topic: WROOM-ESP32 Custom PCB Troubles
Replies: 8
Views: 553

Re: WROOM-ESP32 Custom PCB Troubles

Are you using a 3v3 programmer?
Do the LDO outputs need to be externally connected?
by boarchuz
Wed Apr 01, 2020 8:00 pm
Forum: ESP32 IDF
Topic: #2083 fix not merged in 4.x? [IDFGH-3018]
Replies: 3
Views: 276

Re: #2083 fix not merged in 4.x?

A more recent one here to keep your eye on too: https://github.com/espressif/esp-idf/issues/4916
by boarchuz
Sun Mar 29, 2020 3:23 pm
Forum: General Discussion
Topic: ULP, pack two 16-bit measurements in one 32-bit register (r0,r1,r2,r3)
Replies: 2
Views: 304

Re: ULP, pack two 16-bit measurements in one 32-bit register (r0,r1,r2,r3)

R0-R3 are 16 bit registers.

ULP can only access the lower 16 bits of each 32-bit word in RTC slow memory so that's not possible.
by boarchuz
Sun Mar 29, 2020 7:46 am
Forum: ESP32 Arduino
Topic: Dual Core RT on ESP32
Replies: 5
Views: 575

Re: Dual Core RT on ESP32

1. Let FreeRTOS handle task switching for you, don't try to fight against it. If that seems to make things worse, the problem is almost certainly somewhere else. 2. Your loop() doesn't need to be busy, but it is. It's checking if that semaphore is immediately ready over and over and over without yie...
by boarchuz
Thu Mar 26, 2020 6:34 am
Forum: IDEs for ESP-IDF
Topic: No squiggly lines for build errors Vs Code
Replies: 4
Views: 405

Re: No squiggly lines for build errors Vs Code

Alright I've had a look at the Problems thing. The Problems tab and IDF extension build command don't work together at the moment. It looks like we'll have to wait for that: https://github.com/espressif/vscode-esp-idf-extension/issues/25 In the meantime, you can use "Tasks - Run task" -> "Build - Bu...
by boarchuz
Thu Mar 26, 2020 6:24 am
Forum: ESP32 Arduino
Topic: Dual Core RT on ESP32
Replies: 5
Views: 575

Re: Dual Core RT on ESP32

1. Your infinite loops are not making good use of FreeRTOS functionality: while(1) { if (xSemaphoreTake(task0Semaphore, 0) == pdTRUE) { //... } } That's a very busy loop when it doesn't need to be. How about portMAX_DELAY instead of 0? 2. Your loop() is very busy when it doesn't really need to be. G...
by boarchuz
Wed Mar 25, 2020 4:19 pm
Forum: Hardware
Topic: I2C pull-ups for ESP32 devkit + DS3231 module
Replies: 2
Views: 238

Re: I2C pull-ups for ESP32 devkit + DS3231 module

Internals are not 10k, they're about 50k.
That still leaves you with <5k, which will be fine. If you have any issues you can always lower the I2C speed.

Go to advanced search