Skip to content
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

bitrate83333 #1309

Open
hairy11 opened this issue Jan 23, 2024 · 0 comments
Open

bitrate83333 #1309

hairy11 opened this issue Jan 23, 2024 · 0 comments

Comments

@hairy11
Copy link

hairy11 commented Jan 23, 2024

Would like to have added 83.333 kHz bit rate.
This is 1.000 MHz / 6
add to two files

// cantype.h
#define CAN_BT0_83KB 0x05 // 1000000 / ( 5.+1) / 2 = 83333
#define CAN_BT1_83KB 0x1C

#define CAN_BT01_83KB 0x05,0x1C

// and
// CANControllerConfigDlg.cpp
m_asBaudList[0].strName = "83";
m_asBaudList[0].dwBaud = 83
m_asBaudList[0].dwBTR0 = CAN_BT0_83KB;
m_asBaudList[0].dwBTR1 = CAN_BT1_83KB;

I have a 25 year old MB mechanic, and the first vehicle he plugged this into had a CAN-B running at this speed.
I gather there are are whole lot more, in that manufacturers range, that use this speed for their -B lines.
MB W906 chassis, using the latest meatpi Ollie V2
Regards, hairy11

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant