S32K46 CAN 2.0 Sample point

cancel
Showing results for 
Search instead for 
Did you mean: 

S32K46 CAN 2.0 Sample point

78 Views
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)

Labels (1)
Tags (1)
0 Kudos
4 Replies

16 Views
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 Kudos

16 Views
Contributor III

S32K-RM.png

0 Kudos

16 Views
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 Kudos

16 Views
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 Kudos