Flexray function Cycle Repetition and Base Cycle for MPC5604

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Flexray function Cycle Repetition and Base Cycle for MPC5604

1,884件の閲覧回数
kevin198776
Contributor II

Hi all,

I try to find function about Flexray Cycle Repetition and Base Cycle. But I don't know which function should I use.

Is there any function that can accomplish Cycle Repetition and Base Cycle?

Thank you.

0 件の賞賛
返信
5 返答(返信)

1,823件の閲覧回数
petervlna
NXP TechSupport
NXP TechSupport

Hello,

Regarding configuration of FlexRay driver, the configuration of message buffers is done in function Fr_buffers_init

which parameter is the pointer to the MB configuration structure. Fr_transmit_buffer_config_type is used for configuring the whole TX MB parameters.

for question the cycle filtering needs to be set

petervlna_0-1636707808236.png

Best regards,

Peter

 

0 件の賞賛
返信

1,780件の閲覧回数
kevin198776
Contributor II

Hi petervlna,

I tried modify the cycle value and cycle mask, and I got the result as follows:

value: start cycle count=> It's fine.

mask: 0x000000=>every cycles

0x000001=>2 cycles

0x000011=>4 cycles

0x000111=>8 cycles

0x001111=>16 cycles

0x011111=>32 cycles

0x111111=>64 cycles

And I can't get cycle 5,10,20,40,50. Do you have any suggestion?

 

Thanks.

0 件の賞賛
返信

1,555件の閲覧回数
Lyn
Contributor I
It is right according to reference manual. But it seems not work on my board. What about you?
0 件の賞賛
返信

1,850件の閲覧回数
petervlna
NXP TechSupport
NXP TechSupport

Hello,

Could you please close specify what you are looking for and which driver you are using?

Best regards,

Peter

0 件の賞賛
返信

1,838件の閲覧回数
kevin198776
Contributor II

Hi Petervlna,

I'm using the MPC5604P StarterTRAK (Development Kit).

I generated base code from RAppID and porting flexray driver from the example "FlexRay UNIFIED Driver and Application Example". I didn't find any function or register about  "Cycle Repetition and Base Cycle" in this example.

Could you give me some advice? Thanks.

0 件の賞賛
返信