Search found 22 matches

by peterglen
Tue Oct 06, 2020 7:46 pm
Forum: ESP-IDF
Topic: Need API support to provide micro seconds delay
Replies: 12
Views: 8532

Re: Need API support to provide micro seconds delay

This will take about 30 microseconds to execute: int samp = adc1_get_raw((adc1_channel_t)channel2); So for a hundred microsecond delay do: for(int loop = 0; loop < 3; loop++) { int samp = adc1_get_raw((adc1_channel_t)channel2); } It goes without saying that this a workaround for a systematic solutio...
by peterglen
Fri Jul 17, 2020 4:45 pm
Forum: General Discussion
Topic: Devkit-c v2 and v4
Replies: 0
Views: 422

Devkit-c v2 and v4

I have several Devkit-C boards for development. I am using Ubuntu 18.04 to program them; Everything works fantastic, except on the V4 I have to unplug the board (power down reset) to bring it back up. The V2 boards work flawlessly in the same situation.. When I program the ESP32 on Windows, all work...
by peterglen
Wed Jan 22, 2020 11:27 pm
Forum: ESP-IDF
Topic: ESPNow and WiiFI
Replies: 0
Views: 391

ESPNow and WiiFI

Our customer is afraid of deploying the product we developed, because it uses EspNow, and they question if it interferes with the Wi-Fi network at their client's site. Please point to a documentation that we can use as an assurance of the coexistence of EspNow and Wi-Fi. Please let me know if you ha...
by peterglen
Fri Aug 16, 2019 3:30 pm
Forum: ESP-IDF
Topic: Https header missing (esp_https_server.h)
Replies: 3
Views: 1132

Re: Https header missing (esp_https_server.h)

That was it. Settings may have not migrated from IDF3->IDF4 without loosing that flag.
Thank you.
by peterglen
Thu Aug 15, 2019 4:18 pm
Forum: ESP-IDF
Topic: Https header missing (esp_https_server.h)
Replies: 3
Views: 1132

Https header missing (esp_https_server.h)

Upon update to IDF 4.x the https subsystems do not compile, says 'missing esp_https_server.h'
on 3.x it compiled with no error. Any suggestions?

Peter
by peterglen
Wed Apr 10, 2019 8:07 pm
Forum: ESP32 Arduino
Topic: ESP32 deep sleep current consumption
Replies: 5
Views: 3825

Re: ESP32 deep sleep current consumption

I have the same issue. And the same current drawn, 16 mA ... any ideas?
by peterglen
Sat Mar 23, 2019 1:59 am
Forum: Report Bugs
Topic: TCP/IP randomly freezes
Replies: 4
Views: 3839

Re: TCP/IP randomly freezes

I did not get a reply, so eventually we figured it out. The ESP32 (modem) sleep kicked in and the chip did not respond to the ARP requests from the peer. The peer then deleted the ARP entry, and it appeared as a frozen connection. Fixing the sleep code was the solution, and the folks at ESP did it. ...
by peterglen
Sat Mar 23, 2019 1:52 am
Forum: General Discussion
Topic: ESP32 CPU load % display without special configuration.
Replies: 9
Views: 4360

ESP32 CPU load % display without special configuration.

I wanted a non intrusive CPU load test that I can casually print the CPU load on the terminal. And I did not want to enable the FreeRTOS task stat subsystem. The result is extracted to this project. (link below) https://github.com/pglen/esp32_cpu_load Theory: We create a low priority (idle) task, an...
by peterglen
Fri Mar 08, 2019 2:21 am
Forum: General Discussion
Topic: PCF8537 SPI Driver Sample
Replies: 0
Views: 725

PCF8537 SPI Driver Sample

Anyone has sample code for NXP PCF8537 SPI LCD driver
by peterglen
Sat Mar 02, 2019 7:42 pm
Forum: General Discussion
Topic: Moving CAN project to ESP32 - Need Help
Replies: 2
Views: 1561

Re: Moving CAN project to ESP32 - Need Help

We put a CAN chip on our board, below, the tested working code to drive it: static const char *TAG = "my_can"; #define RX_TASK_PRIO 8 //Receiving task priority #define TX_TASK_PRIO 9 //Sending task priority #define MSG_ID 0x555 #define TX_GPIO_NUM 21 #define RX_GPIO_NUM 22 static SemaphoreHandle_t t...

Go to advanced search