Search found 131 matches

by ESP_Dazz
Thu Oct 10, 2019 10:45 am
Forum: ESP32 Arduino
Topic: Can bus issue , stuck messages
Replies: 6
Views: 260

Re: Can bus issue , stuck messages

@Brendant182 A few things you can do whilst you're waiting for your hardware On the transmitter side (UNO), you check the return value of each call to sendMsgBuf() to make sure the send was actually successful. Likewise on the receiver side (ESP32), check the return value of readMsgBuf() as well. Th...
by ESP_Dazz
Thu Oct 10, 2019 3:41 am
Forum: ESP32 Arduino
Topic: adc reading huge variation
Replies: 1
Views: 175

Re: adc reading huge variation

Have a look at the ADC calibration library. Although it's part of ESP-IDF, these functions should still be callable as long as you include the library's header file in your sketch.
by ESP_Dazz
Thu Oct 10, 2019 3:37 am
Forum: Hardware
Topic: Fuel Gauge to go with ESP32
Replies: 3
Views: 340

Re: Fuel Gauge to go with ESP32

Has any body any experience of using fuel gauge,like MAX17044, MAX17048 or any other, with ESP-IDF? Or using ADC reading is the only choice to get LiPo battery condition? Both MAX17044 and MAX17048 have I2C interfaces. It shouldn't be hard to whip up some code to read the two chips using ESP-IDF I2...
by ESP_Dazz
Thu Oct 10, 2019 3:26 am
Forum: ESP32 Arduino
Topic: Make Arduino Code work inside Custom ESP32 Wrover32 Module
Replies: 1
Views: 136

Re: Make Arduino Code work inside Custom ESP32 Wrover32 Module

You shouldn't need to. The first stage bootloader is ROM code that is already inside the ESP32, and the second stage bootloader is part of the binary that you flash. No BLE communication is initialized. Could you be more specific as to what isn't working? For example, are you seeing any UART log out...
by ESP_Dazz
Thu Oct 10, 2019 3:23 am
Forum: General Discussion
Topic: How to profile ESP32 application performance?
Replies: 2
Views: 305

Re: How to profile ESP32 application performance?

Take a look at the Gcov Guide and Gcov Exmaple. It should be able to profile any functions of your choosing, but it requires JTAG.
by ESP_Dazz
Wed Oct 09, 2019 4:44 pm
Forum: ESP32 Arduino
Topic: Using the official CAN driver with Arduino
Replies: 7
Views: 305

Re: Using the official CAN driver with Arduino

@ dmaxben Just a few pointers regarding IDF CAN driver usage It's probably a good idea to use the member names when initializing a CAN message structure in case the order of the members change in the future versions of the driver. There are also a bunch of message flags documented here to set/check ...
by ESP_Dazz
Wed Oct 09, 2019 10:49 am
Forum: ESP32 IDF
Topic: Interrupt wdt on Uninstall CAN driver
Replies: 9
Views: 216

Re: Interrupt wdt on Uninstall CAN driver

@brp80000 I think I see the issue. When can_driver_uninstall() is called, internally it will deallocate the driver's interrupt by esp_intr_free() . However, if the interrupt was allocated on one core (e.g. Core 0), then freed by the other core (e.g. Core 1), esp_intr_free() will internally call esp_...
by ESP_Dazz
Wed Oct 09, 2019 9:34 am
Forum: ESP32 IDF
Topic: Interrupt wdt on Uninstall CAN driver
Replies: 9
Views: 216

Re: Interrupt wdt on Uninstall CAN driver

Would it be possible for you to post your .elf file. I want to see the full backtrace of both CPUs.
by ESP_Dazz
Wed Oct 09, 2019 9:16 am
Forum: ESP32 IDF
Topic: Interrupt wdt on Uninstall CAN driver
Replies: 9
Views: 216

Re: Interrupt wdt on Uninstall CAN driver

Run xtensa-esp32-elf-addr2line and provide the project's .elf and backtrace addresses as arguments. The .elf file should be located somewhere in your project's build directory. For example: cd $MY_PROJECT_WORKSPACE/hello_world xtensa-esp32-elf-addr2line -e build/hello-world.elf 0x40087cc0:0x3ffbcc70...
by ESP_Dazz
Wed Oct 09, 2019 8:47 am
Forum: ESP32 IDF
Topic: Interrupt wdt on Uninstall CAN driver
Replies: 9
Views: 216

Re: Interrupt wdt on Uninstall CAN driver

Could you decode the backtrace please

Go to advanced search