light kim

Please tell me : flexray header crc calcultion of mathod.

Discussion created by light kim on Nov 19, 2010
Latest reply on Sep 29, 2011 by Alexey

Hi. I'm charlie.

 

I study flexray. I want header crc calcultion of mathod.

 

I had example code.

  ▶ sync frame indicator : 1

  ▶ startup frame indicator ; 1

  ▶ frame Id : 1 (11bit : 000 0000 0001)

  ▶ payload lenth : 16(7bit : 001 0000)

  ▶ CRC polynomial : X^11+X^9+X^8+X^7+X^2+1

 

  ---> result  CRC code :  242

 

but, I didn't have result. 

attachment file my calcultion. please tell me,  I make an error in calculation.

 

-> sync / start / frame id / lenth / plus bit(10ea)

             11 0000 0000 0010 0100 0000 0000 0000

-> ploynomial

             1011 1000 0101

--> my result : 0x3cc(972)

 

 

best regard

 

Outcomes