Commit 980d5e4e authored by Franksen, Benjamin's avatar Franksen, Benjamin
Browse files

increase the baudrate dependent bus timeout


It turned out that this is needed for the mvme5500. The rather unintuitive
fact that the timeout needs to be longer for a faster CPU can be explained
by observing that the faster CPU can send more requests, thus gets more
responses, and response messages have higher priority (lower CAN object ids).
parent 83191dc1
......@@ -339,8 +339,8 @@ int mcan_get_sci_timeout(mcan_Prot_Handle handle, unsigned short port)
#endif
switch (bitrate) {
case SCI_1000KB: return 20;
case SCI_500KB: return 40;
case SCI_1000KB: return 50;
case SCI_500KB: return 60;
case SCI_250KB: return 80;
case SCI_125KB: return 160;
case SCI_100KB: return 200;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment