Comments (6)
Hi @thalesmaoa ,
I personally use the fork from @timurrrr here: https://github.com/timurrrr/arduino-CAN
The last commit in that fork is long ago, indeed. But I had direct contact to him and you also can see, that there are no open pull requests as well as no open (relevant) issues.
It runs rock-stable in my application.
from arduino-can.
Hi @Jojo-A. Did you found a maintained alternative?
from arduino-can.
Thanks, I will try it. Probably the bug I've noticed is not present there.
from arduino-can.
It runs rock-stable in my application.
Are you using VScode + Platformio?
What platform version?
After hours of investigation, I found that using a version of platform-espressif32 newer than 3.5.0 (and 4.2.0 in another case) makes the ESP32 reboot in a loop when connected to a CANBUS network (95kbps). Using ESP32 devkitC v1 and v4 along with SN65HVD230 transceiver combo.
A simple sniffing sketch like this makes the device reboot in a loop:
https://github.com/adamtheone/canDrive/tree/main/01_canSniffer_Arduino
Recent versions of the Arduino IDE (2.x) have the same bad outcome. Arduino IDE 1.8.19 (and platform-espressif32 @ 3.5.0) work fine.
from arduino-can.
Are you using VScode + Platformio?
What platform version?
Oh, this is some time ago already.
I just used Arduino IDE v2.0.3 and the BSP for esp8266 3.1.1 and the BSP for ESP32 2.0.6 (iirc).
Please open another issue to discuss your bootloop problem. I started this issue to find out how good (or bad) this lib is maintained.
from arduino-can.
This issue helped to solve my problem. I was pulling out my hair for 6 hours with 2 esp32 wroom module connected with MCP2551 transceiver chip. And I finally came across this issue.
The fork mentioned worked out of the box.
https://github.com/timurrrr/arduino-CAN
Anyway thanks for this wonderful Library.
from arduino-can.
Related Issues (20)
- How can i use this library with a raspberry pi pico?
- Not getting messages
- ESP32 - only 1 extended filter working, is it possible to specify multiple filters? HOT 13
- Esp32 s3 support HOT 2
- Not working with Espressif 3.0 HOT 1
- 怎么知道数据有没有发送成功
- Esp32 multiple ID filter HOT 1
- CPU restart in callback HOT 1
- Working with MCP2515 on Arduino Nano, but fails on ESP32 HOT 2
- ESP32SJA1000Class::filterExtended mask calculation incorrect
- setup() and loop() functions are missing
- can i work with the MCP2515 SPI MODULE instead of the MKR can shield
- #warning esp_intr.h is deprecated HOT 1
- setPins() for rx/tx and cs/irq?
- ARDUINO_ARCH_ESP32 forcing ESP32 internal CAN controller - Need MC2515
- Custom MCP2515+TJA1042T board stuck on sending
- Error compiling with Adafruit Feather v2: `esp_intr.h: No such file or directory` HOT 1
- Fatal Error: esp_intr.h: No such file or directory HOT 3
- Solved: Fatal Error: esp_intr.h: No such file or directory HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from arduino-can.