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.
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
Best regards,
Peter
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.
Hello,
Could you please close specify what you are looking for and which driver you are using?
Best regards,
Peter
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.