Search found 1656 matches

by ESP_igrr
Thu May 14, 2020 7:26 am
Forum: ESP32 IDF
Topic: Card Detect pin via hardware controller
Replies: 2
Views: 274

Re: Card Detect pin via hardware controller

Hi dpmcgabriel, From the log, ESP_ERR_NOT_FOUND error is returned, which looks like the correct behavior in the case when no card is present. I even tried to remove it during a operation, but, unffortunetly, I was not able to get any reactions. If you are using the C standard library function for wo...
by ESP_igrr
Tue May 12, 2020 8:57 am
Forum: General Discussion
Topic: ESP32: Use Arduino or ESP-IDF?
Replies: 16
Views: 19783

Re: ESP32: Use Arduino or ESP-IDF?

The other thing to consider when using Arduino libraries is license requirements. Arduino libraries are distributed under LGPL, so when you link them into the application, you need to do a few extra steps to comply with the license requirements. Usually this means making the rest of your application...
by ESP_igrr
Sun May 10, 2020 10:03 am
Forum: General Discussion
Topic: undocumented UART Hardware problem?
Replies: 7
Views: 1439

Re: undocumented UART Hardware problem?

How can I be sure to have memory barriers between reads when writing in C code?" Usually "volatile" qualifier is enough to make the compiler add a memory barrier before accessing a variable. (There is a pending issue that Xtensa GCC does not insert memory barriers when accessing 8 and 16 bit variab...
by ESP_igrr
Sun May 10, 2020 9:57 am
Forum: ESP32 IDF
Topic: CMake system build for reusing components
Replies: 2
Views: 412

Re: CMake system build for reusing components

Hi adesandr, Instead of adding "${PROJECT_DIR}/../extra_components/component1" to the list of include directories in main/CMakeLists.txt, you need to add "component1" to the list of dependencies of the main component. You can do this by adding REQUIRES component1 to the arguments of idf_component_re...
by ESP_igrr
Thu May 07, 2020 6:32 am
Forum: Hardware
Topic: ESP32-WROVER-B SD card access in SPI mode with the SPI pinout for the SPI Flash and PSRAM
Replies: 3
Views: 658

Re: ESP32-WROVER-B SD card access in SPI mode with the SPI pinout for the SPI Flash and PSRAM

Hi skteh76, The feature to use the SPI master driver with SPI1 interface had been added very recently and will be part of IDF 4.2 release. You can try it on the master branch. There is some documentation here: https://docs.espressif.com/projects/esp-idf/en/latest/esp32/api-reference/peripherals/spi_...
by ESP_igrr
Wed May 06, 2020 6:14 am
Forum: General Discussion
Topic: ESP-IDF hangs on windows 10
Replies: 1
Views: 354

Re: ESP-IDF hangs on windows 10

If you open the command prompt and run the same command there (C:\Program Files\Git\cmd\git.exe -C I:\Users\chuck\Desktop\esp-idf submodule foreach git reset --hard), is the behavior the same? If yes, can you try wiping esp-idf directory and running the installer again from scratch?
by ESP_igrr
Wed May 06, 2020 6:12 am
Forum: General Discussion
Topic: Esp32 Task concurrent problems
Replies: 2
Views: 539

Re: Esp32 Task concurrent problems

1.when two task running by each core calling uart_write_bytes() at the same time,will it cause data disorder or loss? Is uart_write_bytes() task/thread safe? uart_write_bytes is thread safe, but however if you see any issue with it you could also wrap the call to this function in a mutex. 2. A whil...
by ESP_igrr
Tue May 05, 2020 9:38 pm
Forum: General Discussion
Topic: undocumented UART Hardware problem?
Replies: 7
Views: 1439

Re: undocumented UART Hardware problem?

Hi kbaud1, Which address does "UART [1]" refer to in your code? Is it in 0x3ffxxxxx range or in 0x600xxxxx range? The errata document is being updated to explain this behavior, but the short version is that you need to: * Use dport address of the FIFO (i.e. in 0x3ffxxxxx range) for reads, making sur...
by ESP_igrr
Tue May 05, 2020 9:32 pm
Forum: ESP32 IDF
Topic: What ISR is called upon packet receive over WiFi?
Replies: 1
Views: 358

Re: What ISR is called upon packet receive over WiFi?

Hi ille111, The packet handling is done inside the Wi-Fi driver, and the Wi-Fi interrupt handler is also part of it. Conceptually the flow is very similar to that in the other peripherals: an interrupt handler sends an element to a FreeRTOS queue, which wakes up a high-priority Wi-Fi task. That task...
by ESP_igrr
Tue May 05, 2020 9:27 pm
Forum: ESP32 IDF
Topic: ESP IDF 3.3 with "old" modules, new production run uses v3 modules - updates and compatibility
Replies: 1
Views: 339

Re: ESP IDF 3.3 with "old" modules, new production run uses v3 modules - updates and compatibility

Hi jcsbanks, If your design doesn't use the 32kHz XTAL, you can upgrade the module without making any changes to the SDK or the application. If you are using the 32kHz XTAL, there is a different recommended circuit for the ECO3 chips, explained in the hardware design guidelines. No SDK update Is req...

Go to advanced search