S32K46 CAN 2.0 Sample point

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

S32K46 CAN 2.0 Sample point

1,366件の閲覧回数
玉敏111田
Contributor III

I have not found the classical CAN (not FD CAN) sample point in S32K-RM.

So which method should be used to calculate classical CAN sample point below?

1).(1+TSEG1)/(1+TSEG1+TSEG2)

2. (1+TSEG1+PROP_SEG)/(1+TSEG1+PROP_SEG+TSEG2)

ラベル(1)
タグ(1)
0 件の賞賛
4 返答(返信)

1,304件の閲覧回数
Robin_Shen
NXP TechSupport
NXP TechSupport

Hi 玉敏111 田,

Please refer the Figure 55-7. Segments within the bit time (example using CTRL1 bit timing variables for Classical CAN format) of S32K-RM.

(1+TSEG1)/(1+TSEG1+TSEG2)

(1+PROPSEG+PSEG1+2)/(1+PROPSEG+PSEG1+2 + PSEG2+1)

Figure 55-7. Segments within the bit time (example using CTRL1 bit timing variables for Classical CAN format).png
By the way, the Processor Expert will calculate sample point automatically.

sample point example.png

Best Regards,

Robin

 

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 件の賞賛

1,304件の閲覧回数
玉敏111田
Contributor III

S32K-RM.png

0 件の賞賛

1,304件の閲覧回数
Robin_Shen
NXP TechSupport
NXP TechSupport

Sorry

I didn't understand what you mean.

For example:

.propSeg = 7,
.phaseSeg1 = 4,
.phaseSeg2 = 1,

sample point =(1+Time Segment 1)/(1+Time Segment 1+Time Segment 2)=(1+PROPSEG+PSEG1+2)/(1+PROPSEG+PSEG1+2 + PSEG2+1) = (1+7+4+2)/  (1+7+4+2  +1+1)=87.5%

sample point.png

Best Regards,

Robin

 

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 件の賞賛

1,304件の閲覧回数
玉敏111田
Contributor III

Hi Robin,

Thanks for your reply.

When I calculated the sample point ,I found that the PSEG1 in Figure 55-7 was the same with Phase Buffer Segment 1 in S32K-RM  rather than PSEG1 in S32K-RM.

0 件の賞賛