KL46Z CAN Bus

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

KL46Z CAN Bus

551 Views
andrehart
Contributor I

Hey together,

anyone, who worked with the KL46Z Board and tried a CAN communication?
Which componends you used? MCP2515?
Maybe you got some informations for me :smileyhappy:

Thank you

Andre

0 Kudos
Reply
1 Reply

476 Views
kerryzhou
NXP TechSupport
NXP TechSupport

Hello Andre Hartmann,

    KL46 chip don't have the CAN module, so you can't use the KL46 directly with CAN bus.

    If you want to use it, you need to use the external CAN module. You can use MCP2515 which you mentioned, I find it is the SPI interface, which can communicate with the MCU(KL46).

   But we don't have the sample code for it, you need to finish it by yourself.

   About the SPI driver, you can refer to our KSDK for FRDM-KL46, there have the SPI driver.

  Welcome to MCUXpresso | MCUXpresso Config Tools 

SDK builder, then choose FRDM-KL46, generate the code and download it.


Have a great day,
Kerry

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

0 Kudos
Reply