This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

SK-AM62A-LP: Comparison between two groups CAN param in Sysconfig tools

Part Number: SK-AM62A-LP
Other Parts Discussed in Thread: SYSCONFIG

I have a issue between the two group CAN params in Sysconfig tools. They have the same arbitration bitrate and data bitrate, except the difference sample point.

So what's the other difference in the configuration?

As well as we can suppose, there must be much more group params despite of the same arbitration bitrate and data bitrate, if we set the sample point at 72%~85%.

Especially, the combo between Time Seg1 and Time Seg2 will be much more as long as meeting the requirement of same sample point. Therefore, the situation about configuration would became so complicated. Yeah,that's totally awesome!

  • Hi Django,

    Bitrates and sampling point are calculated using the following formulae:

    bit rate(bits per second) = (CAN clock in Hz) / BRP / (1 + TSEG1 + TSEG2)
    Sampling Point(%) = (1 + TSEG1) / (1 + TSEG1 + TSEG2)

    (Note: Values selected in Sysconfig / the values set in structure are directly programmed in MCAN register bit fields. The actual interpretation by the hardware of this value is such that one more than the value programmed.)

    Default values used for NOM bit rate are
    MCAN_BitTimingParams::nomRatePrescalar = 7 (BRP = 8)
    MCAN_BitTimingParams::nomTimeSeg1 = 12 (TSEG1 = 13)
    MCAN_BitTimingParams::nomTimeSeg2 = 5 (TSEG2 = 6)
    bit rate = 80MHz / 8 / (1 + 13 + 6) = 0.5 Mbps

    Please tell us more about the hardware setup you have created to test MCAN?

    Regards,
    Aparna