首页 | 本学科首页   官方微博 | 高级检索  
     

嵌入式系统应用中实现RS485的方向切换
引用本文:吴丽萍,戈志明.嵌入式系统应用中实现RS485的方向切换[J].单片机与嵌入式系统应用,2014(4):13-16.
作者姓名:吴丽萍  戈志明
作者单位:苏州工业园区职业技术学院,苏州215123
摘    要:RS485接口具有良好的抗噪声干扰性能、长传输距离和多站能力等特点,使其成为工业控制的首选串行接口。嵌入式系统中也广泛采用RS485接口作为设备控制的串行接口。RS485采用两线差分的接线方式进行串口数据的传输。由于发送和接收都是采用这两根差分线进行,因此它是半双工工作模式。基于RS485的特点,分别讲述了通过硬件方式和软件方式来实现RS485发送和接收方向的切换,重点解决了DM8168嵌入式平台上软件实现RS485方向切换的功能。

关 键 词:RS方向切换  DM  U-boot-..  Linux-..

RS485 Direction Switching Based on Embedded System
Wu Liping,Ge Zhiming.RS485 Direction Switching Based on Embedded System[J].Microcontrollers & Embedded Systems,2014(4):13-16.
Authors:Wu Liping  Ge Zhiming
Affiliation:(Suzhou Industrial Park Institute of Vocational Technology, Suzhou 215123, China)
Abstract:RS485 interface with good noise immunity,long transmission distance and multi-station capacity and other characteristics, makes it the first choice for industrial control serial interface.It is also widely used in embedded systems as a serial interface to control the device.Two-wire differential wiring mode is used in RS485 for serial data transmission.Sending and receiving are carried out using these two differential lines,so it is half-duplex mode.Based on the characteristics of RS485,this paper describes the way through hard-ware and software means to achieve the switch.This article focuses on RS485 direction switching function with the embedded platform DM8168.
Keywords:RS485 diretion switching  DM8168  U-boot-2  6  10  Linux-2  6  37
本文献已被 CNKI 维普 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号