Flexray Frames Configuration

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Flexray Frames Configuration

844 次查看
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,

标签 (1)
0 项奖励
回复
1 回复

651 次查看
bobgardner
Contributor I

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

0 项奖励
回复