Filter ID Message MSCAN Processor Expert

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

Filter ID Message MSCAN Processor Expert

913 Views
carrielbr
Contributor II

Good Morning,

I am using the FRDM-KE06Z development board which has MSCAN.
Using Processor Expert I was able to receive and transmit data through the CAN perfectly.

What I can not do is understand how I can filter some specific CAN IDs.
For example, would you like to only get ID 0x7E8 what would the filters look like?

In the processor expert component has a function called CAN_SetRxIDFilterTable (Drv, ElementIndex, AccCode).
already tried to use this function with the values CAN_SetRxIDFilterTable (Drv, 0U, 0x7E8) and I continue to pick up all the IDs of the CAN bus and not only the 0x7E8.

Could someone help me by sending a sample code or helping me understand how it works?

Here is the screen print of my program and settings.

imagem 01.jpg

imagem 02.jpg

Thanks.

0 Kudos
1 Reply

599 Views
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello Caio Carriel,

There is a same question with yours,  and it describe the filter detaily ,

please have a look: 

KE06Z CAN_LDD filter  

Then If still have any question aobut this , please tell us .

Hope it helps


Have a great day,
TIC

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

0 Kudos