CAN bus issue for 200 meters cable

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

CAN bus issue for 200 meters cable

跳至解决方案
2,047 次查看
aaronlee
Contributor V

Hi,

We use 10 boards(S12ZVCA) to send CAN message every 10 seconds. And 1 board(S12ZVCA) to collect those CAN message.

It can work fine in 10 meters cable. But it is unstable in 200 meters cable. How to solve the issue? Do you have any recommend?

Slew rate: 4

Baud rate: 250kbps

Time segment 1: 4 (We will try "12" on next Monday)

Time segment 2: 1

RSJ: 1

Sample per bit: 3 samples

BR, Aaron

FreescaleCAN_12,1,1.png

CANPHY.png

标签 (1)
标记 (3)
1 解答
1,944 次查看
aaronlee
Contributor V

Hi Ladislav,

Thanks for your reply.

We only change Time segment 1 from 4 to 12. It can work stable in 200 meters cable.

The parameter as follow:

Slew rate: 4

Baud rate: 250kbps

Time segment 1: 12

Time segment 2: 1

RSJ: 1

Sample per bit: 3 samples

BR, Aaron

在原帖中查看解决方案

0 项奖励
回复
2 回复数
1,944 次查看
lama
NXP TechSupport
NXP TechSupport

Hi,

The long transmission line has its own distributed parameters. They creates reactance which depends on frequency. Moreover, they deforms edges of signals.

 

So you can solve your issue:

Decrease bitrate

Do correct bitrate calculations including real propagation delays ( https://www.nxp.com/docs/en/application-note/AN1798.pdf )

Use wires with low R/L/C parameters.

Use some repeaters.

Wireless CAN

 

For this distance probably you could use RS485 and UART.

 

Best regards,

Ladislav

1,945 次查看
aaronlee
Contributor V

Hi Ladislav,

Thanks for your reply.

We only change Time segment 1 from 4 to 12. It can work stable in 200 meters cable.

The parameter as follow:

Slew rate: 4

Baud rate: 250kbps

Time segment 1: 12

Time segment 2: 1

RSJ: 1

Sample per bit: 3 samples

BR, Aaron

0 项奖励
回复