K21 CAN driver question

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

K21 CAN driver question

529 Views
sudhanshumehta
Contributor IV


Hi Team,

I have K21-1M-f120 controller.

Earlier I have utilized fslFlexCan driver for K21 using KSDK and KDS.

Now we change our plan and we want to move back to MQX 4.2.

Do we have fslFlexCAN driver for k21 with MQX? if yes, please provide some example.

if no then kFlexcan is the only option??

I want to use multiple receive identifier filters for CAN message.

Thanks

Sudhanshu

Labels (1)
0 Kudos
3 Replies

317 Views
jeremyzhou
NXP Employee
NXP Employee

Hi Sudhanshu,

I'd like to suggest that you can refer to the Flexcan demo which resides in the C:\Freescale\Freescale_MQX_4_2\mqx\examples\can\flexcan
Have a great day,
(my name)


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

0 Kudos

317 Views
sudhanshumehta
Contributor IV

Hi jeremyzhou ,

Thanks for the response.

But How can i add multiple identifier in CAN filter setting?

Thanks

Sudhanshu

0 Kudos

317 Views
jeremyzhou
NXP Employee
NXP Employee

Hi Sudhanshu,

Please refer to the thread.

FlexCAN multiple ID Rx

Hope it helps.
Have a great day,
Ping

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

0 Kudos