找回密码
 立即注册

QQ登录

只需一步,快速开始

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

[M2003] Simulating LIN Bus Slave Code Using UART

[复制链接]
跳转到指定楼层
楼主
admin 发表于 18 分钟前 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
Application
This example code implements LIN bus slave transmission and reception using UART on the M2003 series microcontroller.
BSP Version
M2003_Series_BSP_CMSIS_V3.00.001
Hardware
NuMaker-M2003FC V1.1

This example code implements the LIN bus slave function using the M2003 series
microcontroller (MCU). Two message frames are defined in the code. One is used for sending
data, and the other is used for receiving data.

Messages on the LIN bus start with "at least 13-bit 0" followed by 0x55, packet ID, data, and
checksum. The data field cannot have more than 9 bits of 0. The slave can transmit data only
after receiving an ID that matches itself.

You can download the sample code at EC_M2003_UART_LIN_Slave_V1.00.


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

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

新唐MCU