CAN  initialization MK60DN512 + MQX

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

CAN  initialization MK60DN512 + MQX

771 次查看
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 项奖励
回复
1 回复

664 次查看
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 项奖励
回复