Search found 604 matches

by mikemoy
Mon Jun 20, 2022 4:27 am
Forum: ESP-IDF
Topic: Why would streaming UART traffic break wifi?
Replies: 6
Views: 2790

Re: Why would streaming UART traffic break wifi?

Having a while loop in a IRQ is very bad practice. With IRQ's you want to do the absolute minimum in there because while you are in there doing something nothing else gets done.
by mikemoy
Mon May 16, 2022 4:58 pm
Forum: General Discussion
Topic: Use esp32 instead of electronic governor control brushless motor
Replies: 2
Views: 1476

Re: Use esp32 instead of electronic governor control brushless motor

There is an example of doing this in the examples.
by mikemoy
Sun May 15, 2022 7:05 pm
Forum: General Discussion
Topic: How can I build C project without FreeRTOS?
Replies: 11
Views: 6637

Re: How can I build C project without FreeRTOS?

It's all too complicated. I need a simple solution. I don't want to make this sound mean. But if you feel its to complicated maybe you should spend the time to learn it. It would not take long at all. Espressif has kindly given us MANY, MANY examples. Most of which are short and sweet, easy to lear...
by mikemoy
Tue May 10, 2022 12:39 pm
Forum: General Discussion
Topic: ESP 32 doesn´t reboot
Replies: 11
Views: 5812

Re: ESP 32 doesn´t reboot

There is a setting in menuconfig that allows you to adjust the Brownout voltage level. Have you tried playing with this?
Screenshot 2022-05-10 073831.png
Screenshot 2022-05-10 073831.png (45.69 KiB) Viewed 4602 times
by mikemoy
Tue May 03, 2022 7:07 pm
Forum: ESP-IDF
Topic: How to update compile date/time for each build?
Replies: 4
Views: 2805

Re: How to update compile date/time for each build?

This does not work for you?


printf("Compiled at:");
printf(__TIME__);
printf(" ");
printf(__DATE__);
printf("\r\n");
by mikemoy
Sat Apr 30, 2022 1:55 pm
Forum: General Discussion
Topic: ESP32 Task
Replies: 7
Views: 2904

Re: ESP32 Task

This article is Linux-based, but it more-or-less makes the point that needs to be made. The thing is: either you poll the volatile variable in a loop: volatile int i=0; .. while (!i) ; in which case there's the likelihood of a loop that spins for ever triggering the task watchdog, which you general...
by mikemoy
Fri Apr 29, 2022 1:58 pm
Forum: General Discussion
Topic: ESP32 Task
Replies: 7
Views: 2904

Re: ESP32 Task

You can make the variable volatile, but this generally is a hack... you'll run into other problems (watchdog timeouts) if you do this. Better to make use of e.g. a semaphore and block on that. I am really interested in your thoughts on this point. For many years I have been using volatile variables...
by mikemoy
Wed Apr 27, 2022 2:43 am
Forum: General Discussion
Topic: Espressif, Slow down with the Silicon Releases
Replies: 0
Views: 895

Espressif, Slow down with the Silicon Releases

Espressif, I hope you don't take this the wrong way. Your my only solution for anything that needs a micro! We have used your ESP32 in many products now, with 0 issues for over 3 years now. We really like the ESP32-S3 part. However, your pumping silicon out faster than the software team can keep up....