CAN_LDD configuration on MK64FN1M0VLL12

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

CAN_LDD configuration on MK64FN1M0VLL12

Jump to solution
765 Views
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 Kudos
Reply
1 Solution
617 Views
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!
-----------------------------------------------------------------------------------------------------------------------

View solution in original post

2 Replies
617 Views
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 Kudos
Reply
618 Views
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!
-----------------------------------------------------------------------------------------------------------------------