找回密码
 立即注册

QQ登录

只需一步,快速开始

打印 上一主题 下一主题
开启左侧

[M251] Drive MCP2515 CAN Module

[复制链接]
跳转到指定楼层
楼主
admin 发表于 2024-9-27 10:43:41 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
  • Application: This example code uses the M251 to drive the MCP2515 CAN bus module through SPI, and demonstrates the sending and receiving of CAN data using the M253 with a CAN FD interface as the slave device.
  • BSP Version: M251_M252_M254_M256_M258_Series_BSP_CMSIS_V3.00.006, M253_Series_BSP_CMSIS_V3.00.008
  • Hardware: NuMaker-M251SD V1.1, NuMaker-M253LEB V1.0

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


分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
收藏收藏 顶 踩
牛卧堂
回复

使用道具 举报

高级模式
B Color Image Link Quote Code Smilies |上传

本版积分规则

新唐MCU