Rx Filter in IMXRT1170 -EVK CAN

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

Rx Filter in IMXRT1170 -EVK CAN

309 Views
smartpavan333
Contributor I

Hi,

I am using IMXRT-1170-EVK Of SDK example given in /drivers/flexCAN/ping_pong_buffer_transfer.

My requirement is Receiving all ID's on CAN bus?

I configured for Rx Global masking FLEXCAN_SetRxMbGlobalMask(Base, 0x00);

Actually 8 Id's on the CAN bus , but I am receiving only 3 ID's.

Note : Can Id's are 0x124,0x125,0x126,0x127,0x128,0x301,0x308,0x3C0 These are the ID's need to receive.

Can you help me this issue?

 

 

0 Kudos
1 Reply

280 Views
Miguel04
NXP TechSupport
NXP TechSupport

Hi @smartpavan333 

I'm looking into your problem, can you provide me more information please.

how did you configured the MCR[IRMQ] bit? 

According to chapter 66.3.8 Rx FIFO:

"If MCR[IRMQ] is negated, then the FIFO filter table is affected by RXFGMASK."

With FLEXCAN_SetRxMbGlobalMask(Base, 0x00); you are changing other registers.

Miguel04_0-1693516149823.png

Best Regards, Miguel.

0 Kudos