Search found 47 matches

by plajjd
Wed May 20, 2020 3:57 pm
Forum: ESP32 IDF
Topic: Unexplained CAN Errors
Replies: 16
Views: 1681

Re: Unexplained CAN Errors

PeterR: Thanks for the info. Are you saying that an Overrun condition can occur and that there is no way to detect it? Or, do you mean that we need to trap the Overrun error, and then discard a couple more frames following it? In my situation, I can easily discard a couple frames. I just need to kno...
by plajjd
Tue May 19, 2020 10:34 pm
Forum: ESP32 IDF
Topic: Unexplained CAN Errors
Replies: 16
Views: 1681

Re: Unexplained CAN Errors

PeterR: Is there an alternative to the "stock" IDF?

We also have had the impression that the ESP32 sometimes induces errors (bit shifts) in received CAN frames.

Is there a test or other version of IDF we could be using to improve CAN functionality? We are using 3.3 currently.

Thanks!
by plajjd
Thu May 14, 2020 10:28 pm
Forum: ESP32 IDF
Topic: Unexplained CAN Errors
Replies: 16
Views: 1681

Re: Unexplained CAN Errors

Thank you for the response. We verified that the self test works, and also that the bus has some error frames present even without the ESP32 attached. At this point, it appears the issue is NOT related to the ESP32.
by plajjd
Fri May 08, 2020 9:42 pm
Forum: ESP32 IDF
Topic: Unexplained CAN Errors
Replies: 16
Views: 1681

Re: Unexplained CAN Errors

More information: We found that if we Start the CAN driver, then STOP the driver and wait 100ms. And then START the CAN driver a 2nd time, the bus errors go away. For some reason we have to START, then STOP, then START the CAN driver a 2nd time. We are using `can_start()` and `can_stop()`. Has anyon...
by plajjd
Fri May 08, 2020 2:41 pm
Forum: ESP32 IDF
Topic: Unexplained CAN Errors
Replies: 16
Views: 1681

Re: Unexplained CAN Errors

We are using transceiver SN65HVD232DR. The initialization is basically just taken from the sample code. void can_configure( void ) { // Initialize config structures can_general_config_t g_config = CAN_GENERAL_CONFIG_DEFAULT(GPIO_NUM_5, GPIO_NUM_4, CAN_MODE_NORMAL); can_timing_config_t t_config = CAN...
by plajjd
Thu May 07, 2020 7:32 pm
Forum: ESP32 IDF
Topic: Unexplained CAN Errors
Replies: 16
Views: 1681

Unexplained CAN Errors

We have an after-market product that interfaces to an existing 500K CAN network. We are using the ESP32-WROOM-32, with an external CAN transceiver on the board. We do not transmit frames on the bus - we are only listening to the existing traffic. When we attach to the CAN bus, our ESP32 spews "CAN_A...
by plajjd
Wed Jan 15, 2020 4:20 pm
Forum: ESP32 IDF
Topic: efuse CHIP_PACKAGE different for WROOM-32U
Replies: 3
Views: 498

Re: efuse CHIP_PACKAGE different for WROOM-32U

Thanks!

Do you know of any way to determine the antenna configuration (other than external observation and saving something manually in eFuse)?

Phil.
by plajjd
Tue Jan 14, 2020 8:20 pm
Forum: ESP32 IDF
Topic: efuse CHIP_PACKAGE different for WROOM-32U
Replies: 3
Views: 498

efuse CHIP_PACKAGE different for WROOM-32U

What is the CHIP_PACKAGE value in eFuse used for?

I have noticed that ESP32-WROOM-32U (with U.FL antenna connector) is value 1.

Whereas ESP32-WROOM-32D (PCB antenna) is value 0.

Is CHIP_PACKAGE an indicator of the package antenna connection?

Thanks!

Phil.
by plajjd
Mon Jan 13, 2020 11:00 pm
Forum: ESP32 IDF
Topic: How determine antenna type in firmware?
Replies: 0
Views: 267

How determine antenna type in firmware?

I have a product that uses both ESP32-WROOM-32U (with U.FL antenna connector) and ESP32-WROOM-32D (With PCB antenna). I would like to determine identify the module in software. Is there a eFUSE bit or part number that I can access in software to tell the difference between the WROOM-32U and 32D? Tha...
by plajjd
Wed Oct 09, 2019 10:31 pm
Forum: ESP32 IDF
Topic: Using BLE 4.2 and DLE
Replies: 1
Views: 533

Using BLE 4.2 and DLE

Does the ESP32 support the DLE (Data Length Extension)? This is different than the MTU, in that DLE actually allows BLE packets up to 251 bytes, whereas (in my understanding) MTU just allows multiple packets to be combined to a larger payload size. From this article: https://punchthrough.com/maximiz...

Go to advanced search