Search found 12 matches

by **txf**
Wed Nov 13, 2024 10:25 am
Forum: ESP-IDF
Topic: Is there a way to trigger download boot mode by software?
Replies: 5
Views: 4286

Re: Is there a way to trigger download boot mode by software?

I have to say that this solution may not work on the S3 (possibly only if you're using USB and TinyUSB in your application). I'm just leaving this here if more people find this thread in a search. There is a panic in the bootloader. The problem is documented here: https://github.com/espressif/arduin...
by **txf**
Tue Apr 02, 2024 9:39 am
Forum: ESP32 Arduino
Topic: Can ESP32-C6 use GPIO to wake up Deep Sleep?
Replies: 8
Views: 5817

Re: Can ESP32-C6 use GPIO to wake up Deep Sleep?

Does anybody know what the LP Analog Peripheral is? In the TRM there is the LP_ANA_PERI from Table 5-2, but that is not referenced anywhere else in the TRM. also below that same table there is the note: • LP CPU can access all peripherals listed in the table 5-2 except RISC-V Trace Encoder (TRACE), ...
by **txf**
Tue Jan 16, 2024 12:58 pm
Forum: ESP-IDF
Topic: Building OpenCV for the ESP32 error
Replies: 6
Views: 31722

Re: Building OpenCV for the ESP32 error

Have you tried compiling the example application, maybe you could check and see what the CMakeLists.txt is like for the example? It's been a while for me, but another thing to bear in mind that if you're compiling your own openCV binaries, you might have issues in windows, you might have to do it un...
by **txf**
Tue Jan 16, 2024 12:51 pm
Forum: ESP-IDF
Topic: LP Core on ESP32-C6
Replies: 1
Views: 14750

LP Core on ESP32-C6

I'm somewhat confused about this core, how is it different from the ULP-RiscV core on previous devices? I noticed in the documentation that it has an interrupt controller, Does this mean it also supports GPIO interrupts? If so, is there any API to use interrupts, I can only see basic GPIO features, ...
by **txf**
Mon Jan 15, 2024 11:59 am
Forum: ESP-IDF
Topic: Building OpenCV for the ESP32 error
Replies: 6
Views: 31722

Re: Building OpenCV for the ESP32 error

In case you aren't specifically tied to use the openCV in the component registry there is this https://github.com/joachimBurket/esp32-opencv project, which I have used and I know it works.
by **txf**
Thu Jan 11, 2024 5:01 pm
Forum: ESP-IDF
Topic: Esp32-C6 and RTC watchdog
Replies: 0
Views: 57700

Esp32-C6 and RTC watchdog

I'm attempting to port the aws iot-reference-esp32c3 project to the C6, but I'm having an issue with the OTA library, specifically a function that disables the RTC watchdog. This involves accessing registers defined in rtc_cntl_reg.h header. The C6 does not have this file, is there an equivalent fil...
by **txf**
Tue Mar 21, 2023 11:50 am
Forum: ESP-IDF
Topic: ESP Core MQTT Agent blocks for 3s when sending MQTT messages
Replies: 2
Views: 2986

Re: ESP Core MQTT Agent blocks for 3s when sending MQTT messages

Maybe a little late but yes the default configuration in components/esp-aws-iot/libraries/coreMQTT/port/network_transport/network_transport.c Is blocking. In xTlsConnect() you need to change timeout_ms to a lower value. However, the lower the value, the greater likelihood of ESP-TLS just dropping th...
by **txf**
Thu Jul 28, 2022 6:19 pm
Forum: ESP-IDF
Topic: ESP32-S3 JTAG ROM UART
Replies: 1
Views: 2427

Re: ESP32-S3 JTAG ROM UART

I should answer my own question.

I'll leave the answer here in case somebody needs find it via google or something.

replace:

Code: Select all

esp_vfs_usb_serial_jtag_use_driver();
with

Code: Select all

esp_vfs_usb_serial_jtag_use_nonblocking();
And it should not block.
by **txf**
Thu Jul 28, 2022 2:08 pm
Forum: ESP-IDF
Topic: ESP32-S3 JTAG ROM UART
Replies: 1
Views: 2427

ESP32-S3 JTAG ROM UART

Hi, I have an application where I need to be able to flash and have uart printing via USB. So I'm using the JTAG ROM UART. I configured it using the function from the examples and this forum: setvbuf(stdin, NULL, _IONBF, 0); /* Minicom, screen, idf_monitor send CR when ENTER key is pressed */ esp_vf...
by **txf**
Fri Apr 29, 2022 8:50 am
Forum: ESP32 Arduino
Topic: Arduino ESP32 CAN is not compiled under ESP32-C3
Replies: 4
Views: 6390

Re: Arduino ESP32 CAN is not compiled under ESP32-C3

As far as I know that library only works on the original ESP32, on account that it configures and accesses CAN directly at the register level.

To use CAN on later esp32 devices I just use the built-in IDF functions for TWAI. It works just fine. I'd check out their TWAI examples.