Search found 15 matches

by warren
Wed Mar 25, 2020 3:40 pm
Forum: General Discussion
Topic: Does ESP WROOM 32 works withRF24 Libary and NRF24L01 module?
Replies: 1
Views: 1035

Re: Does ESP WROOM 32 works withRF24 Libary and NRF24L01 module?

I was able to make this work last night, using the following GPIOs: RF24 radio(12,5); // CE, CSN And the following GPIOs: MOSI - 23 MISO - 19 SCK - 18 SS(CSN) - 5 CE - 12 These appear to be the ESP32 driver defaults (except for CE, CSN provided in the constructor). To use other GPIOs may require som...
by warren
Tue Mar 24, 2020 7:23 pm
Forum: General Discussion
Topic: C++ programmi ESP-IDF
Replies: 6
Views: 1326

Re: C++ programmi ESP-IDF

In shiftA.begin((gpio_num_t)18,(gpio_num_t)19,(gpio_num_t)21,1); is not wrong, but in C++ better cast as: shiftA.begin(gpio_num_t(18),gpio_num_t(19),gpio_num_t(21),1); The reason for this is that in C++, casting can be overridden for the type. I don't believe the overriding code is executed if you u...
by warren
Tue Mar 24, 2020 7:08 pm
Forum: General Discussion
Topic: Encountering error: rst:0x10 (RTCWDT_RTC_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
Replies: 4
Views: 900

Re: Encountering error: rst:0x10 (RTCWDT_RTC_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)

Well, it looks like you need to perform some debugging to narrow down the cause of the problem. The source code seems to be available here https://github.com/Xinyuan-LilyGO/esp32-camera-series/blob/master/esp32-camera-series.ino , so download it and load it up into your Arduino IDE. Start adding Ser...
by warren
Sun Mar 15, 2020 4:45 am
Forum: General Discussion
Topic: ESP32 to ESP32 local communication
Replies: 5
Views: 4824

Re: ESP32 to ESP32 local communication

If it is just more GPIO pins that you need, input or output, use an I/O expander chip like the PCF8574, which communicates over I2C. Of course, this won't do if you need high I/O bandwidth, but serves well for low I/O GPIO ports. Put your high bandwidth GPIOs on the ESP32 and allocate low bw on the ...
by warren
Sun Mar 15, 2020 4:37 am
Forum: General Discussion
Topic: mutex and Free RTOS scheduler
Replies: 3
Views: 1437

Re: mutex and Free RTOS scheduler

One should also be careful to distinguish between the FreeRTOS binary semaphore and the FreeRTOS mutex. Both use the SemaphoreHandle_t type to refer to the resource, but are substantially different. The binary semaphore is created (initialized) as "taken", whereas the mutex is created as "given". Th...
by warren
Sun Mar 15, 2020 4:27 am
Forum: General Discussion
Topic: 5V tolerance
Replies: 7
Views: 23761

Re: 5V tolerance

I wouldn't put any faith in those results. ESD protection diodes are designed to bleed away small currents that static electricity produces (high voltages but small currents). As such, they are not designed to handle much current. It is possible that you've already destroyed some of your ESD protect...
by warren
Sat Mar 07, 2020 12:57 pm
Forum: Report Bugs
Topic: examples/peripherals/pcnt/main/pcnt_example_main.c Bug
Replies: 3
Views: 6971

Re: examples/peripherals/pcnt/main/pcnt_example_main.c Bug

I found some macros ending in the _M suffix (like PCNT_STATUS_THRES0_M), which seem to be the correct mask values to use.

Code: Select all

if (evt.status & PCNT_STATUS_THRES0_M) {
    printf("THRES0 EVT\n");
}
by warren
Tue Mar 03, 2020 7:44 pm
Forum: Report Bugs
Topic: examples/peripherals/pcnt/main/pcnt_example_main.c Bug
Replies: 3
Views: 6971

Re: examples/peripherals/pcnt/main/pcnt_example_main.c Bug

This is the example you have online at github, from the master branch:

https://github.com/espressif/esp-idf/bl ... ple_main.c

Warren
by warren
Tue Mar 03, 2020 2:28 am
Forum: Report Bugs
Topic: examples/peripherals/pcnt/main/pcnt_example_main.c Bug
Replies: 3
Views: 6971

examples/peripherals/pcnt/main/pcnt_example_main.c Bug

In the following code found at: https://github.com/espressif/esp-idf/blob/f91080637c054fa2b4107192719075d237ecc3ec/examples/peripherals/pcnt/main/pcnt_example_main.c the following lines are erroneous: if (evt.status & PCNT_EVT_THRES_1) { printf("THRES1 EVT\n"); } if (evt.status & PCNT_EVT_THRES_0) {...
by warren
Fri Nov 29, 2019 9:40 pm
Forum: General Discussion
Topic: Adding support of HTTP server on Amazon freeRTOS
Replies: 2
Views: 501

Re: Adding support of HTTP server on Amazon freeRTOS

Take some time to explore the ESP32 API documentation at https://docs.espressif.com/projects/esp-idf/en/latest/index.html . There is some functionality here, though it may differ from what you're used to in POSIX/Linux/*BSD environments: https://docs.espressif.com/projects/esp-idf/en/latest/api-refe...

Go to advanced search