## Example Summary
This example demonstrates how to receive CAN Classic and CAN-FD
messages using standard IDs.
## Peripherals & Pin Assignments
| Peripheral | Pin | Function |
| --- | --- | --- |
| GPIOB | PB22 | Standard Output |
| GPIOB | PB26 | Standard Output |
| GPIOB | PB13 | Standard Output |
| SYSCTL | PA5 | HFXIN |
| SYSCTL | PA6 | HFXOUT |
| EVENT | | |
| CANFD0 | PA13 | RX Pin |
| CANFD0 | PA12 | TX Pin |
| DEBUGSS | PA20 | Debug Clock |
| DEBUGSS | PA19 | Debug Data In Out |
## BoosterPacks, Board Resources & Jumper Settings
Visit [LP_MSPM0G3507](https://www.ti.com/tool/LP-MSPM0G3507) for LaunchPad information, including user guide and hardware files.
| Pin | Peripheral | Function | LaunchPad Pin | LaunchPad Settings |
| --- | --- | --- | --- | --- |
| PB22 | GPIOB | PB22 | J27_5 | <ul><li>PB22 can be connected to LED2 Blue<br><ul><li>`J5 ON` Connect to LED2 Blue<br><li>`J15 OFF` Disconnect from LED2 Blue</ul></ul> |
| PB26 | GPIOB | PB26 | J27_8 | <ul><li>PB26 can be connected to LED2 Red<br><ul><li>`J6 ON` Connect to LED2 Red<br><li>`J6 OFF` Disconnect from LED2 Red</ul></ul> |
| PB13 | GPIOB | PB13 | J4_35 | N/A |
| PA5 | SYSCTL | HFXIN | J28_4 | <ul><li>PA5 is used for HFXT functionality by default in Launchpad<br><ul><li>`Y2` crystal is soldered and connected by default</ul><br><li>PA5 can be connected to J28_4<br><ul><li>`R15` is not soldered soldered by default<br><li>Solder `R15` to connect pin to J28_4</ul> |
| PA6 | SYSCTL | HFXOUT | J28_5 | <ul><li>PA6 is used for HFXT functionality by default in Launchpad<br><ul><li>`Y2` crystal is soldered and connected by default</ul><br><li>PA6 can be connected to J28_5<br><ul><li>`R17` is not soldered soldered by default<br><li>Solder `R17` to connect pin to J28_5</ul> |
| PA13 | CANFD0 | CANRX | J4_32/J26_3 | <ul><li>PA13 can be connected to CAN/LIN connector in addition to boosterpack connector:<br><ul><li>To use on J26 CAN/LIN connector:<br> `R65` is populated by default and connects pin to `J26_3`</ul></ul> |
| PA12 | CANFD0 | CANTX | J4_32/J26_1 | <ul><li>PA12 can be connected to CAN/LIN connector in addition to boosterpack connector:<br><ul><li>To use on J26 CAN/LIN connector:<br> `R64` is populated by default and connects pin to `J26_1`</ul></ul> |
| PA20 | DEBUGSS | SWCLK | N/A | <ul><li>PA20 is used by SWD during debugging<br><ul><li>`J101 15:16 ON` Connect to XDS-110 SWCLK while debugging<br><li>`J101 15:16 OFF` Disconnect from XDS-110 SWCLK if using pin in application</ul></ul> |
| PA19 | DEBUGSS | SWDIO | N/A | <ul><li>PA19 is used by SWD during debugging<br><ul><li>`J101 13:14 ON` Connect to XDS-110 SWDIO while debugging<br><li>`J101 13:14 OFF` Disconnect from XDS-110 SWDIO if using pin in application</ul></ul> |
### Device Migration Recommendations
This project was developed for a superset device included in the LP_MSPM0G3507 LaunchPad. Please
visit the [CCS User's Guide](https://software-dl.ti.com/msp430/esd/MSPM0-SDK/latest/docs/english/tools/ccs_ide_guide/doc_guide/doc_guide-srcs/ccs_ide_guide.html#sysconfig-project-migration)
for information about migrating to other MSPM0 devices.
### Low-Power Recommendations
TI recommends to terminate unused pins by setting the corresponding functions to
GPIO and configure the pins to output low or input with internal
pullup/pulldown resistor.
SysConfig allows developers to easily configure unused pins by selecting **Board**→**Configure Unused Pins**.
For more information about jumper configuration to achieve low-power using the
MSPM0 LaunchPad, please visit the [LP-MSPM0G3507 User's Guide](https://www.ti.com/lit/slau873).
## Example Usage
Connect the CAN_RX and CAN_TX to TCAN1042DEVM pins as described in TCAN
Evaluation Module User's Guide and monitor and transmit CAN-FD packages using
mcan_single_message_tx example project or using a CAN Bus Analyzer tool of your
choice.
The example has the following Nominal and Data Rate frequencies configured:
- Nominal Bit Rate (250 KBits/s)
- Data Bit Rate (2 MBits/s)
Compile, load and run the example.
To turn on the LED_1, the example must receive the following package:
- ID : 0x03
- DATA[0] = 0x01
To turn off the LED_1, the example must receive the following package:
- ID : 0x03
- DATA[0] = 0x00
To turn on the LED_2, the example must receive the following package:
- ID : 0x04
- DATA[0] = 0x01
To turn off the LED_2, the example must receive the following package:
- ID : 0x04
- DATA[0] = 0x00
Note: There is a known limitation where the example might stop receiving
packages if the application halt execution after hitting a breakpoint. It is
highly recommended to use free run option while testing the example.
没有合适的资源?快使用搜索试试~ 我知道了~
基于ARM_Cortex-M0架构的MSPM0G3506微控制器多功能开发项目_包含ADC外部电位器读取_内部温度传感器采集_I...

共328个文件
mk:36个
d:30个
prefs:29个

1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
0 下载量 127 浏览量
2025-08-03
18:13:55
上传
评论
收藏 2.38MB ZIP 举报
温馨提示
基于ARM_Cortex-M0架构的MSPM0G3506微控制器多功能开发项目_包含ADC外部电位器读取_内部温度传感器采集_I2C_LCD接口通信_LCD显示温度与电位器值_用于.zip
资源推荐
资源详情
资源评论





























收起资源包目录





































































































共 328 条
- 1
- 2
- 3
- 4
资源评论


2501_91769822
- 粉丝: 969
上传资源 快速赚钱
我的内容管理 展开
我的资源 快来上传第一个资源
我的收益
登录查看自己的收益我的积分 登录查看自己的积分
我的C币 登录后查看C币余额
我的收藏
我的下载
下载帮助


最新资源
- 基于PLC的病床呼叫器控制系统设计.doc
- 精华版国家开放大学电大专科《网络系统管理与维护》机考多项选择判断题题库及答案.pdf
- 市场营销模拟软件实训报告.doc
- 网络产品推广方案范文怎么写.pdf
- 2023年江苏省中小学教师班主任知识网络竞赛题库附答案.doc
- 几类互连网络的容错哈密顿性.doc
- 基于二维空间定向搜索算法的TD边界小区渗透率提升的三个一方法.doc
- 移动电子商务微信的案例分析PPT课件.ppt
- 嵌入式系统可信平台模块研究-张焕国(15页).doc
- 电子商务网站建设策划方案.doc
- 项目成本管理项目管理(精品)复习资料.pdf
- (源码)基于ESP32的无线网络分析器.zip
- 物联网应用系统设计.doc
- 武汉奕创广告于婚纱摄影行业网络品牌建设方案浅析样本.doc
- 上海滨江凯旋门住宅发展项目EIB智能家居系统方案.doc
- 写字楼工程的项目管理范文.doc
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈



安全验证
文档复制为VIP权益,开通VIP直接复制
