AnsweredAssumed Answered

Want to understand FlexRay FIFO message ID filtering registers

Question asked by Deepak Omanna on Jun 25, 2020
Latest reply on Jul 8, 2020 by Deepak Omanna

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]

 

 

The formula given for Dyanamic frame ID filtering is,

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

 

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

Outcomes