CAN_LDD configuration on MK64FN1M0VLL12

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

CAN_LDD configuration on MK64FN1M0VLL12

跳至解决方案
710 次查看
tommyb90
Contributor III

Hi,

I'm having issues configuring the CAN bus controller on the MK64F Microcontroller.

I use a FRDM-KE06 to send data over a CAN bus (tested and working on another circuit) and I have to receive data on a MK64FN1M0VLL12 mounted on a custom circuit, the CAN adapter is an MCP2551.

As I try to send data over the bus from the MK64F, no signal is transmitted.

If I transmit from the KE06, I can see data is transmitted, but not received from the K64F and the RxInterrupt is never called.

The configuration is the same and I keep the same component in both cards.

Does anyone have any suggestions?

0 项奖励
回复
1 解答
562 次查看
Hui_Ma
NXP TechSupport
NXP TechSupport

Hi

I would recommend customer to refer CAN_LDD component example located at CodeWarrior V10.6 installation path(below is default path):

C:\Freescale\CW MCU v10.6\MCU\CodeWarrior_Examples\Processor_Expert\Kinetis\TWR-K60N512\CAN


Wish it helps.

Have a great day,
Ma Hui
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

在原帖中查看解决方案

2 回复数
562 次查看
tommyb90
Contributor III

Ok, got the driver send the acknowledge bit during transmission. From this I know that the HW portion is working.

However the RxTxInterrupt is never triggered.

Also executing the SendFrame method doesn't have any effect on the bus.

Thanks a lot for any advice.

0 项奖励
回复
563 次查看
Hui_Ma
NXP TechSupport
NXP TechSupport

Hi

I would recommend customer to refer CAN_LDD component example located at CodeWarrior V10.6 installation path(below is default path):

C:\Freescale\CW MCU v10.6\MCU\CodeWarrior_Examples\Processor_Expert\Kinetis\TWR-K60N512\CAN


Wish it helps.

Have a great day,
Ma Hui
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------