To implement CAN application on an microcontroller (MCU) without a built-in CAN FD interface,
a stand-alone CAN controller can be used to connect the MCU via another communication
interface to achieve CAN communication. In this example code, the widely available MCP2515
CAN bus module will be used, connecting to the NuMaker-M251SD via the SPI interface. The
NuMaker-M253LEB will be used as the CAN Slave to complete the receiving and sending of
CAN packages.
You can download the sample code at https://www.nuvoton.com/resource-download.jsp?tp_GUID=EC012024091008364812
欢迎光临 牛卧堂MCU技术交流 (http://nuvoton-mcu.com/) | Powered by Discuz! X3.2 |