CAN bit timing

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

CAN bit timing

1,131 次查看
ruicui
Contributor II

I am using MBD tool to test CAN speed. From the example "flexcan_can_fd_master_s32k14", it saying 500 kbps(it works, I check it with my CANalyzer). However, I am confused how the parameter were choosen. 

1. In the pdf, "RJW is chosen as the smaller of 4 and PHASE_SEG1", then why the following "RJW = 0" can be right?

pastedImage_1.png

2. The pdf reference shows different parameter range(1-8):

pastedImage_4.png

     then the MBD "help" document(0-7):

pastedImage_5.png

Thanks,

Ray

2 回复数

858 次查看
PetrS
NXP TechSupport
NXP TechSupport

Hi,

it depends if you consider real segment value or programmed value.

Real segment value cannot be zero time quanta long, but the shortest value is 1. 

The Programmable value is usually decreased by 1. 

So the "fcan_S32K14_config" picture and MBD document shows programmable values for given segments, while the pdf reference shows real segment values.

BR, Petr

858 次查看
ruicui
Contributor II

Hello Petr,

I understand that the programmable value is usually decreased by 1. Vector website also have a document to explain it. How about RJW value? in the example, RJW = 0, but "RJW is chosen as the smaller of 4 and PHASE_SEG1".

Thanks,

Rui

0 项奖励