FlexRay CycleCounter Init value at MPC5674F

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

FlexRay CycleCounter Init value at MPC5674F

2,461 Views
cjw-442
Contributor I

Hi, I m using MPC5674F for Flexray application.

I want to know the cycle counter when the core starts Flexray communication after being normal active.

I expected that cycle counter is 0 for all nodes within flexray network. But it was not 0 and different.

Thank you.

 

0 Kudos
Reply
4 Replies

2,229 Views
Lyn
Contributor I

I also set the cycle counter filter related registers. But it seems not work. At non-assigned cycle, the frame transmit as a null frame. Do you have this problems?(I use MPC5748G)

Tags (1)
0 Kudos
Reply

2,447 Views
PetrS
NXP TechSupport
NXP TechSupport

Hi,

yes, it could be nonzero as bus setup must be done before node switch to normal active, as shown in Fig. 37 of AN12233; https://www.nxp.com/docs/en/application-note/AN12233.pdf

BR, Petr 

0 Kudos
Reply

2,421 Views
cjw-442
Contributor I

Thank you for quick Reply, Petr.

Our Flexray Parameters are as follows.

  - Communication Cycle is 500 us / 5 ms.

  - 2 Nodes are in Flexray Cluster (3 nodes will be joined later)

  - 3 Static slots (Using Key slot) / Only Dynamic Slots are using for Data Exchange.

I have three questions here.

  1. Do all nodes coupled to Flexray communication use the same Cycle Counter?

  2. If 1 is correct, how will Flexray communication be affected if the Cycle Counter between nodes is different?

  3. When node 1 sends data to Cycle 10, Slot 1, when does node 2 actually receive data?
Is it Cycle 10 or 11?

Thank you

 

0 Kudos
Reply

2,407 Views
PetrS
NXP TechSupport
NXP TechSupport

Hi,

per my understanding,
1. yes
2. communication will not work
3. in cycle 10

BR, Petr

0 Kudos
Reply