Baud rate mismatch on CAN network

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Baud rate mismatch on CAN network

5,947 次查看
gator
Contributor I

We are using the onboard MSCAN module in a MC9S12DP512 and have a question about CAN baud rate mismatches on a CAN network. As an example, assume we have a CAN network in an automotive setting (OBD bus) that is running at a baud rate of 500k. What would happen if we connect a CAN device to the CAN network (OBD bus) that is operating at a baud rate of 250k but is not making any OBD requests - just listening only? Would one of the nodes on the network start generating error frames?

Thanks,

0 项奖励
回复
5 回复数

4,609 次查看
danielmartynek
NXP TechSupport
NXP TechSupport

Hi,

If the node with 250k baud rate is in listen-only mode, the error frame is not generated, because it cannot send any messages. However, its error counter will be increasing. Other nodes that run at 500k will not be affected.

There is an article which deals with Automatic Baudrate Detection.

Regards,

Daniel

0 项奖励
回复

4,609 次查看
gator
Contributor I

Thanks a lot,

What if the node with the 250k baud rate is NOT in listen-only mode? Will it transmit error frames on the bus or will the other nodes running at 500k transmit error frames instead?

0 项奖励
回复

4,609 次查看
danielmartynek
NXP TechSupport
NXP TechSupport

Hi,

 

If the node with the 250k baud rate is NOT in listen-only mode, it will detect an error within each message and will send Error Flag, destroying the bus traffic. Because the other nodes (500k) detect the error caused by the Error Flag, they discard the current message and increase their error counters.

 

Regards,

Daniel

0 项奖励
回复

4,609 次查看
gator
Contributor I

Thanks, that makes sense. Say we have a node that is in listen-only mode and it is able to successfully detect the baud rate of the network. Its only purpose is to passively monitor bus traffic. If we choose to leave that node in listen-only mode even after the baud rate has been detected, will that have any negative consequences?

Thanks again.

0 项奖励
回复

4,609 次查看
danielmartynek
NXP TechSupport
NXP TechSupport

Hi,

You can leave that node in listen-only mode. I don’t see any problem with that.

Regards,

Daniel