Search found 308 matches
- Mon Nov 04, 2019 9:43 am
- Forum: ESP32 Arduino
- Topic: Restart if Guru Meditation Error
- Replies: 7
- Views: 9123
Re: Restart if Guru Meditation Error
It should already be configured to print and reboot on Arduino, at least according to the sdkconfig file. Could you paste the serial output of the Guru Meditation error you're seeing?
- Fri Nov 01, 2019 5:46 pm
- Forum: ESP32 Arduino
- Topic: Restart if Guru Meditation Error
- Replies: 7
- Views: 9123
Re: Restart if Guru Meditation Error
In menuconfig, the config option CONFIG_ESP32_PANIC should allow you to set the panic behavior to:
- Print registers and halt
- Print registers and reboot
- Silent reboot
- Invoke GDBStub
- Tue Oct 22, 2019 3:12 pm
- Forum: ESP-IDF
- Topic: Timer tick
- Replies: 6
- Views: 23324
Re: Timer tick
Thank you! If the FreeRTOS tick 1ms, then it is 1000 Hz, not 100 Hz, right? Or do you mean tick is 10ms each so 100 Hz is correct? I read your example of the macro and think I should just go with the pdMS_TO_TICKS(). Yep, I meant 10ms. My bad :lol: BTW, do you know how long does it take to switch b...
- Tue Oct 22, 2019 2:57 pm
- Forum: ESP32 Arduino
- Topic: himem.h
- Replies: 6
- Views: 7814
Re: himem.h
I suggest you take a look at the Himem Example if you haven't already.
- Tue Oct 22, 2019 2:54 pm
- Forum: ESP-IDF 中文讨论版
- Topic: ESP32如何触发软件复位?
- Replies: 5
- Views: 15324
Re: ESP32如何触发软件复位?
可以使用 esp_restart(). 但是要注意,大部分外设不会被 esp_restart() 重启,而会在背后继续跑。
- Tue Oct 22, 2019 2:01 pm
- Forum: ESP-IDF
- Topic: Timer tick
- Replies: 6
- Views: 23324
Re: Timer tick
If I want to do a delay, is there a convenience function like the delay() in arduino? I'm using a while loop with the vTaskDelay. vTaskDelay() should work as a simple delay. vTaskDelay() essentially blocks the calling task (thread) for a specified number of FreeRTOS ticks. However, since its resolu...
- Mon Oct 21, 2019 9:25 am
- Forum: ESP32 Arduino
- Topic: himem.h
- Replies: 6
- Views: 7814
Re: himem.h
Depending on what version of ESP-IDF your Arduino IDE is being compiling with, it could be #include "esp_himem.h" (for release/v3.2) or #include "esp32/himem.h" (for release/v4.0), or not supported at all (for versions earlier than release/v3.2).
See the "esp_himem.h" header for more details.
See the "esp_himem.h" header for more details.
- Thu Oct 10, 2019 10:45 am
- Forum: ESP32 Arduino
- Topic: Can bus issue , stuck messages
- Replies: 10
- Views: 21898
Re: Can bus issue , stuck messages
@Brendant182 A few things you can do whilst you're waiting for your hardware On the transmitter side (UNO), you check the return value of each call to sendMsgBuf() to make sure the send was actually successful. Likewise on the receiver side (ESP32), check the return value of readMsgBuf() as well. Th...
- Thu Oct 10, 2019 3:41 am
- Forum: ESP32 Arduino
- Topic: adc reading huge variation
- Replies: 1
- Views: 3475
Re: adc reading huge variation
Have a look at the ADC calibration library. Although it's part of ESP-IDF, these functions should still be callable as long as you include the library's header file in your sketch.
- Thu Oct 10, 2019 3:37 am
- Forum: Hardware
- Topic: Fuel Gauge to go with ESP32
- Replies: 3
- Views: 6464
Re: Fuel Gauge to go with ESP32
Has any body any experience of using fuel gauge,like MAX17044, MAX17048 or any other, with ESP-IDF? Or using ADC reading is the only choice to get LiPo battery condition? Both MAX17044 and MAX17048 have I2C interfaces. It shouldn't be hard to whip up some code to read the two chips using ESP-IDF I2...