RS485 Bus接口

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.

力生美推出高精度多串锂电池充电芯片保证充电安全
分享一下身边嵌入式大神的故事
夏普首款OLED新机Aquos Zero亮相,意与三星竞争
关于精密光纤激光打标机和激光切管机的使用方法
汽车/消费电子攀升 被动元件厂持续调整抢进
RS485 Bus接口
智能手机使用的都是锂离子电池吗?手机使用锂电池的好处
dfrobot BMI160 6轴惯性运动传感器简介
LG将提高OLED面板生产性_2021年提高OLED TV面板出货量
骁龙625+5寸+32G, 涨价后的红米note4还值得买吗?
单细胞测序技术实现高通量多重药物筛选
到2020年,5G的前景如何?
如何大幅提升机器人的定位精度和动态特性?
AR说丨AR工业大方案的未来如何,听听Realmax赖总来剖析
AI在医疗领域发展迅速 英伟达看准商机陆续与多家医疗机构合作
半导体器件键合失效模式及机理分析
全球PCB行业盛会一览
沙特阿拉伯开通的5G网络将会推动政府在2030年之前建立数字社会的计划
南美锂三国创建锂欧佩克能等春来吗?
2020慕尼黑国际机器人及自动化技术博览会明年六月智能开启!