RT1052 FLEXCAN for any ID communication

cancel
Showing results for 
Search instead for 
Did you mean: 

RT1052 FLEXCAN for any ID communication

848 Views
cyesman
Contributor II

I am testing the RT1052's flexcan demo. How to modify the configuration to receive the data from any ID?

0 Kudos
3 Replies

722 Views
Hui_Ma
NXP TechSupport
NXP TechSupport

Hi,

SDK software call below function to set RX Masking mechanism:

   /* Set Rx Masking mechanism. */
    FLEXCAN_SetRxMbGlobalMask(EXAMPLE_CAN, FLEXCAN_RX_MB_STD_MASK(rxIdentifier, 0, 0));

I checked FLEXCAN_SetRxMbGlobalMask() function with below definition:

pastedImage_1.png

Please set second param mask to 0 to allow receive all ID CAN frame.

Wish it helps.


Have a great day,
Mike

-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

0 Kudos

722 Views
TomE
Specialist I

Can this thread be moved out of the ColdFire area and into the i.MXRT one?

Thanks

Tom

0 Kudos

722 Views
Hui_Ma
NXP TechSupport
NXP TechSupport

Hi Tom,

I tried, while I don't have authority.

cyesman‌ Can you try to move this thread to [I.MX RT] Community? Thanks.

best regards,

Mike

0 Kudos