AnsweredAssumed Answered

CAN Sample point (for Arbitration phase)

Question asked by jaewoo song on May 1, 2017
Latest reply on May 3, 2017 by jaewoo song

I develope ECU related CAN FD.

CAN sample point is not set as below in processor expert.

 

<Setting parameter of processor expert>

1) Enable FD : Yes

2) PE clock source : Sys clock

3) Operation Mode : Normal mode

4) Payload Size : 16

5) Module clodk : 80Mhz

6) PE clock : 80Mhz

* Arbitraion phase *

- Propagation segment : 47

- Phase segment 1 : 14

- Phase segment 2 : 15

- Prescaler Division Factor : 1

- Resync jump width : 16

 

Qes) By S32K144 Reference Manual(page 1659), Arbitration phase condition of CAN FD 

         (using CAN_CBT) is as below. Why my setting(Phase segment 1, Phase segment 2, Resync jump width) 

         can not be generated code in processor expert ? 

       1) Condition of Time Segment 1 : 2 <= x <= 96

-> My setting : Propagation segment(47) + Phase segment 1(14) + 2,  all sum is 63, condition(2<= x <=96) is meet   

2) Condition of Time Segment 1 : 2 <= x <= 32

-> My setting : Phase segment 2(15) + 1, all sum is 16, condition(2<= x <= 32) is meet

 

 

Remark) My target Arbitration of CAN FD setting is as below

1) Target CAN speed : 500k bps

2) PE Clock : 80MHz

3) Baud rate prescaler : 2

4) TQ : 80 TQ

5) TSEG1 : 63 TQ

6) TSEG2 : 16 TQ

7) Sample point : 80%

8) SJW : 16

 

 

 

Thank you.

Outcomes