-
-
Notifications
You must be signed in to change notification settings - Fork 236
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Missing 83.333 kbps -> Updated and tested. #30
Comments
83.333K is tested on modules with 8MHz and 16MHz crystals. Here is the updated code snippet for MCP2515.cpp On all the 16MHz CNF[3] parameters I knocked the MSB off the value since nothing is using the SOF pin on the MCP2515.
|
Nice one, thanks for posting the solution @BiggRanger |
Can anyone provide the register settings for ESP32SJA1000.cpp? Been trying to figure it out myself but have had no luck. |
Hello, how to add 47.619 kbps ? |
The mode for 83.333 kbps is missing. I added the following line for the 16MHz clock:
{ (long)16E6, (long)83E3, { 0x03, 0xfe, 0x87 } },
in MCP2515.cpp
These settings work and were tested in my 2008 Dodge Durango poking around CAN-IHS.
I've ordered a few more modules, one with an 8MHz clock to verify the settings for 83.333 kbps, I should have them sometime in the beginning of January 2020.
The text was updated successfully, but these errors were encountered: