Search found 20 matches

by Fusion
Wed Sep 25, 2024 1:38 am
Forum: ESP32 Arduino
Topic: Dual TWAI with Arduino ESP32
Replies: 6
Views: 2368

Re: Dual TWAI with Arduino ESP32

No problem ;)
by Fusion
Tue Sep 24, 2024 10:56 pm
Forum: ESP32 Arduino
Topic: Dual TWAI with Arduino ESP32
Replies: 6
Views: 2368

Re: Dual TWAI with Arduino ESP32

I'm using 3.1.0-RC1 with IDF 5.3.0, which should not have this limitation.
https://github.com/espressif/arduino-esp32/releases
by Fusion
Tue Sep 24, 2024 2:02 pm
Forum: ESP32 Arduino
Topic: Dual TWAI with Arduino ESP32
Replies: 6
Views: 2368

Re: Dual TWAI with Arduino ESP32

Did some more experimenting with the library, but seems like I can't enable both buses at the same time. Can anyone confirm whether both buses can run at the same time in ESP-IDF, so I know that the error is in this code and not an underlying issue? This is being tested with a C6 dev board btw. 03:3...
by Fusion
Thu Sep 19, 2024 4:30 pm
Forum: ESP32 Arduino
Topic: ESP32-C3 SuperMini connecting to wifi work only when touching antenna
Replies: 5
Views: 1378

Re: ESP32-C3 SuperMini connecting to wifi work only when touching antenna

It is related to antenna design. I made a custom board where it was very hard to implement the recommended antenna keep-out clearance and used a similar ceramic antenna. I had to reduce tx power to get it to connect to networks. This is not an issue if the board is always close to the router.
by Fusion
Wed Sep 18, 2024 3:42 pm
Forum: ESP32 Arduino
Topic: Dual TWAI with Arduino ESP32
Replies: 6
Views: 2368

Re: Dual TWAI with Arduino ESP32

I have changed a few things in esp32_can_builtin.cpp, but it looks like it isn't switching the controller id. 17:28:30.013 -> Initializing ... 17:28:30.111 -> TWAI V2 driver installed with controller ID: 0, TX: 17, RX: 16, bus: 1082212888 17:28:30.111 -> TWAI V2 driver started with controller ID: 0,...
by Fusion
Wed Sep 18, 2024 1:05 pm
Forum: ESP32 Arduino
Topic: Dual TWAI with Arduino ESP32
Replies: 6
Views: 2368

Dual TWAI with Arduino ESP32

Hi everyone! In my search for some dual TWAI examples for Arduino, I ran into https://github.com/outlandnish/esp32_can which is a fork of the well known https://github.com/collin80/esp32_can/, however this fork was last updated way before the recent release of arduino-esp32 based on IDF 5.2.0+ in 3....
by Fusion
Mon Feb 20, 2023 11:10 am
Forum: ESP32 Arduino
Topic: ESP32-C3 odd USB problems and no communication
Replies: 2
Views: 3360

Re: ESP32-C3 odd USB problems and no communication

Would anyone happen to know why it is required to run espefuse summary to fix the USB?
by Fusion
Sat Feb 18, 2023 8:26 pm
Forum: ESP32 Arduino
Topic: ESP32-C3 odd USB problems and no communication
Replies: 2
Views: 3360

Re: ESP32-C3 odd USB problems and no communication

So I got it working by setting USB CDC and Enable Erase Flash in Arduino IDE.

Still preplexed why I had to run espefuse summary to get the USB to stop acting up though.
by Fusion
Sat Feb 18, 2023 6:40 am
Forum: ESP32 Arduino
Topic: ESP32-C3 odd USB problems and no communication
Replies: 2
Views: 3360

ESP32-C3 odd USB problems and no communication

I have a custom ESP32-C3-WROOM-02 board keeps connecting/disconnecting the USB port. I can see the port come up in Arduino IDE, but 2 seconds later it disappears, then come back and so on D-/D+ is connected directly to IO18/19. The board of course has 5V to 3V3 for power. An original dev board from ...