S12X CAN bus timing

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 
1,295件の閲覧回数
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 解決策
750件の閲覧回数
kef
Specialist I

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

元の投稿で解決策を見る

0 件の賞賛
返信
2 返答(返信)
751件の閲覧回数
kef
Specialist I

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

0 件の賞賛
返信
750件の閲覧回数
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 件の賞賛
返信