Flexray Frames Configuration

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Flexray Frames Configuration

653 Views
Kartoon67
Contributor III

Hi,

 

I'm working with the Freescale Development Card EVB9S12XF512E. For making an communication between two flexray nodes, it needs to configuration the network.

 

In fact, there is a function which did that in freescale example :

/* Structure of this type contains configuration   information of the one low level parameters set */const Fr_low_level_config_type Fr_low_level_cfg_set_00 ={    ..........    5000,       /* G_MACRO_PER_CYCLE */    10,         /* G_MAX_WITHOUT_CLOCK_CORRECTION_PASSIVE */    14,         /* G_MAX_WITHOUT_CLOCK_CORRECTION_FATAL */    22,         /* G_NUMBER_OF_MINISLOTS */    60,         /* G_NUMBER_OF_STATIC_SLOTS */    4920,       /* G_OFFSET_CORRECTION_START */    16,         /* G_PAYLOAD_LENGTH_STATIC */    ..........}

 I would like to know if I'm understanding well something.

 

The argument G_PAYLOAD_LENGTH_STATIC represent the duration of a static frame, that right?

 

In my example, the argument is put at 16. That mean I can send at maximum 16 byte of data in my Flexray frames?

 

Thanks you in advance for your answers, because i really need to know if am right to continu my project.

 

Regards,

Labels (1)
0 Kudos
1 Reply

460 Views
bobgardner
Contributor I

The payload length is in words I think. 16 words=32 bytes.

0 Kudos