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)
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)
By the way, the Processor Expert will calculate sample point automatically.
Best Regards,
Robin
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
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%
Best Regards,
Robin
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
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.