Flexcan bit timing configuration

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

Flexcan bit timing configuration

1,475件の閲覧回数
eason_chen
Contributor I

Hi,

I am writing flexcan driver on S32K144 development kit.

But i don't know how to calculate the bit timing(prop seg, phase seg1, phase seg2... ).

Which document could i refer to?

Thanks.

0 件の賞賛
2 返答(返信)

1,161件の閲覧回数
PetrS
NXP TechSupport
NXP TechSupport

Hi,

you can try e.g this simple guide(https://community.nxp.com/docs/DOC-330446 ) for nominal bit timing calculation. Just consider min/max values of each segments as given in the reference manual. 

     pastedImage_2.png

 pastedImage_1.png

Regarding the FD bit time calculation; it is calculated in similar way as nominal timing considering segments length. It is recommended to have the same prescaler for both nominal and data bit time. No bus propagation is assumed, just propagation delay of single transceiver is taken into account for propagation phase calculation. Thus there is more freedom for sample point placing, but it is usually placed somewhere in the middle of the data bit time. 

In case of transceiver propagation delay is bigger then bit time a TDC (Transceiver Delay Compensation) should be enabled and TDC offset properly set.

BR, Petr

0 件の賞賛

1,161件の閲覧回数
eason_chen
Contributor I

Hi Petr,

First at all, thank you for your answer.

Another question about propagation delay.

In page 6, how do i get the bus propagation delay and physical interface transmitter plus receiver propagation?

Are they constant? if yes, where can i find them? If no, how do i know these two parameters?

Thanks.

BR,
Eason

0 件の賞賛