Want to understand FlexRay FIFO message ID filtering registers

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

Want to understand FlexRay FIFO message ID filtering registers

Jump to solution
1,133 Views
Deepak1
Contributor IV

Hi,

I am reading MPC 5748G microcontroller reference manual for FlexRay. I want to understand how to configure following given registers used for FlexRay FIFO message buffer configuration.

  1. Receive FIFO Message ID Acceptance Filter Value Register (FR_RFMIDAFVR)
  2. Receive FIFO Message ID Acceptance Filter Mask Register (FR_RFMIDAFMR)
  3. Receive FIFO Frame ID Rejection Filter Value Register (FR_RFFIDRFVR)
  4. Receive FIFO Frame ID Rejection Filter Mask Register (FR_RFFIDRFMR)
  5. Receive FIFO Range Filter Configuration Register (FR_RFRFCFR)
  6. Receive FIFO Range Filter Control Register (FR_RFRFCTR)

For Example my FIFO received ID's are,

The Frame ID for static slots is 0x02, 0x05, 0x08, 0x345, 0x415

The Frame ID for dynamic slots is 0x20, 0x30, 0x50, 0x100

The formula given for Static frame ID filtering is,

FID & FR_RFFIDRFMR[FIDRFMSK] != FR_RFFIDRFVR[FIDRFVAL] & FR_RFFIDRFMR[FIDRFMSK]

pastedImage_2.png

The formula given for Dyanamic frame ID filtering is,

MID & FR_RFMIDAFMR[MIDAFMSK] = FR_RFMIDAFMR[MIDAFVAL] & FR_RFMIDAFMR[MIDAFMSK]

pastedImage_1.png

Also please confirm the above highlighted register name. I think it should be FR_RFMIDAFVR[MIDAFVAL]

Labels (1)
Tags (1)
1 Solution
986 Views
petervlna
NXP TechSupport
NXP TechSupport

hi,

to make this simplier for you, there is an application note explaining FlexRAY, but it is not published officially yet.

In case you are interested in it please submit a case and I will sent it to you:

https://community.nxp.com/docs/DOC-329745 

I cannot share it on community as it is not released.

regards,

Peter

View solution in original post

3 Replies
986 Views
Deepak1
Contributor IV

Hi,

I am referring MPC 5748G microcontroller reference manual for FlexRay driver development.

With reference to below image,

The start byte address SADR_MBHF of each message buffer header field for the FIFO must fulfill Equation 16 on page 2193. 

So for FIFO Do i need to refer Equation 16 or Equation 17. Also the Equation 18 when it will be used ?

Also Equation 17 or Equation 18 looks same. 

pastedImage_1.png

0 Kudos
987 Views
petervlna
NXP TechSupport
NXP TechSupport

hi,

to make this simplier for you, there is an application note explaining FlexRAY, but it is not published officially yet.

In case you are interested in it please submit a case and I will sent it to you:

https://community.nxp.com/docs/DOC-329745 

I cannot share it on community as it is not released.

regards,

Peter

986 Views
Deepak1
Contributor IV

submitted the case. please share me application note. i will be much helpful while implementing a FlexRay driver.

Thanks !

0 Kudos