;
文章:行业新闻EDA文摘电源技术无线通信测量仪表嵌入式类电子技术制造技术半导体网络/协议展会实验家电维修  
  下载:EDA教程电源技术电子书籍电子元件无线通信通信网络电路图纸嵌入式类单片机传感/控制电子教材模拟数字
.... 音视频类
消费电子机械电子行业软件C/C++FPGA/ASIC规则标准家电维修DSPIC资料ARM软件电路图电子技术论坛
 
位置:电子发烧友 > 行业新闻 > 嵌入式类 > 接口/总线/驱动 >RS485 Bus接口 退出登录 用户管理
栏目导航


· 单片机类 · 接口/总线/驱动
· ARM · DSP
· FPGA/ASIC技术 · 设计应用
· 嵌入式操作系统 · 电视卡
热门文章
· [组图] 电子元器件基础知识...
· [图文] USB接口定义
· [图文] 三极管开关电路图
· [组图] RS232 RS485接口原理...
· [组图] [组图]电动车充电器...
· [组图] 电子捕鱼器电路图
· [组图] 高品质音调电路的制...
· [组图] JRC4558电路
· [图文] M51134P低音炮电路图...
· [图文] TL494脉宽调制控制电...
相关文章

· [组图] RS485通信经典电路
· LVDS与RS422/RS485的...
· [图文] RS232 TTl RS485转换...
· rs485传输距离
· [图文] RS485传输方式图
· [图文] RS485差分串行通信实...
· rs422接口定义 rs23...
· rs485引脚定义 rs48...
· [图文] usb转RS485电路图
· [组图] rs485应用电路图

RS485 Bus接口
作者:本站  来源:不详  发布时间:2008-4-9 16:00:14 减小字体 增大字体

RS485 Application Using A Combination of NXP And ADI Products


RS485 Bus is a serial communication bus with differential signal travel along the bus and sends the information from one point to another point. The maximum length of the bus is around 1000 m. The bus is allowing multi-master or single master, as long as only one point is sending data at a time on half duplex network.

Since RS485 is a multi-drop point bus, a communication protocol is needed between the units. The bus protocol normally starts with the address byte of the receiver, then follow by the data bytes. The address byte will trigger the receiver with the right address to receive the data bytes. 

Referencing to our MMS Kit, the onboard NXP SC16IS752 Bridge IC has dual UART engine. One of the UART port is connected to the ADI ADM2486 RS485 iCoupler transceiver IC. This component is configured with RS485 multi-drop topology and it can support up to 50 other ports in the bus system.

The WPG MMS Kit’s RS485 transceivers have to be connected in daisy chain topology. The master will initialize or start the communication by sending a request to the particular client unit. The client unit has to response to the master requests packet. The Receive Address byte has parity bit or the bit-9 is 1, while the consequently data bytes have the parity bit or the bit-9 is 0. This is the byte format for multi-drop UART. There are 11bits in the multi-drop UART format. Below is the message or packet format travel along the bus.

Rcv Address - Receiver address.
nByte - number of byte in the packet.
Sender Address - Sender address
Command - refer to certain action to the receiver, such as, request for data.
Data bytes - contain the data bytes that request by the requester.
CheckSum - Checksum for the packet.


The master also can send a broadcast message to all clients, normally the clients will not respond to the broadcast message. All the clients will instead receive and decode the address byte of which the bit-9 being a 1. If the Receive Address byte is the address assigned for the particular client, the RS485 engine of that client will be activated to continue to receive the data bytes (bit-9 is 0).

The master starts the communication by sending out the “request” to the client. If the client has no data to send, it replies with “no data to send”. The master will then send “request” to another client. If there is data available, it feedback with “has data to send” signal to master. Subsequently the master informs the client with the “ready to receive” message when it is ready to receive data from the client. After the client received the “ready to receive” message from master, it replies with the data payload packet to the host. The master acknowledge with “ACK” for the data payload packet.

Although RS485 communication has been around for a while, it is still seen as an effective way of interconnecting different digital application for network communication. While the higher end of wired communication is replaced by Ethernet, RS485 is still useful as simple solution to industrial applications. We will continue to see extension of life for this technology.

[] [返回上一页] [打 印] [收 藏]
 

上一篇文章:adc0832 C程序
∷相关文章评论∷    (评论内容只代表网友观点,与本站立场无关!) [更多评论...]
 
关于本站- 意见反馈 - 网站导航 - 帮助 - 隐私政策 - 联系我们 - 使用条款 - 安全承诺 - 友情连接
站长QQ:39550527 Powered by: 飓风网络(电路图
Copyright 2006-2008 Elecfans.Com.电子发烧友: 粤ICP备07065979号All Rights Reserved