CAN  initialization MK60DN512 + MQX

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

CAN  initialization MK60DN512 + MQX

770 Views
profprogrammer
Contributor III

Hellow .

I need problem.

When I initialize a mail boxing 0 (ID 0x123) recive.

initialize a mail boxing 0 (ID 0x321) transmit/

data from the betraying MB[1] get to reception MB[0].

I not use interrupt.

I apply source codes. I use MQX drivers.

why are given from MB[1] I get to MB[0]?

how it is correct to initialize CAN?

Original Attachment has been moved to: mn.c.zip

Original Attachment has been moved to: chai.c.zip

0 Kudos
Reply
1 Reply

663 Views
soledad
NXP Employee
NXP Employee

Hello Prof,

You can find an example code at the path C:\Freescale\Freescale_MQX_4_2\mqx\examples\can,

For boards twrk70f120m and twrk60n512 the new fsl_flexcan driver is used whereas for other boards including twrk20d72m, twrk21f120m, twrk40d100m, twrk40x256, twrk60 d100m, twrk60f120m, twrmcf52259, twrmcf54418, twrpxd10, twrpxn20, twrpxs30 the old kflexcan driver is used. You can use this example as reference.

Have a great day,
Sol

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

0 Kudos
Reply