Filter ID Message MSCAN - Processor Expert

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

Filter ID Message MSCAN - Processor Expert

801 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
Reply
1 Reply

532 Views
Alice_Yang
NXP TechSupport
NXP TechSupport

Hi,

I have reply you on your another thread , please check it .

Filter ID Message MSCAN Processor Expert  


Have a great day,
TIC

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

0 Kudos
Reply