S12X CAN bus timing

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

S12X CAN bus timing

跳至解决方案
1,679 次查看
Pascalfm
Contributor II

Hi,

 

I'm currently setting up the CANbus on a S12XEP100. I've use the code coming with the dev board to start with and see how everything work. i'm using a kvaser CanKing as logger. I achieve to get clear data at 125 kb/s and 250 kb/s but when i tried to increase the speed I only get error frame...

 

For 125 kb/s I used those value :

BTR0=0x07

BTR1=0x3a

 

For 250kb/s I used those value :

BTR0=0x03

BTR1=0x3a

 

i tried 500 kb/s with those value

 

BTR0=0x01

BTR1=0x3a

 

 

i also tried the using the setting from the device inituialization tools but get the same problem.

标签 (1)
0 项奖励
回复
1 解答
1,134 次查看
kef
Specialist I

Maybe your bus driver is too slow for 500kbps, or maybe bus is not properly terminated?

在原帖中查看解决方案

0 项奖励
回复
2 回复数
1,135 次查看
kef
Specialist I

Maybe your bus driver is too slow for 500kbps, or maybe bus is not properly terminated?

0 项奖励
回复
1,134 次查看
Pascalfm
Contributor II

you are right, it's the transceiver speed I totally forgot about that one

 

I change the chip and everything is right now

 

thanks

0 项奖励
回复