CAN bit timing

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

CAN bit timing

1,498件の閲覧回数
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 返答(返信)

1,225件の閲覧回数
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

1,225件の閲覧回数
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 件の賞賛
返信