基于ARM9與LINUX的RS485總線的通信接口設(shè)計(jì)
發(fā)布時(shí)間:2018-05-12 06:46
本文選題:SC + UART。 參考:《儀表技術(shù)與傳感器》2014年05期
【摘要】:在ARM9處理器S3C2440上設(shè)計(jì)RS485通信接口,實(shí)現(xiàn)與總線上其他設(shè)備的通信,利用ARM9處理器內(nèi)部集成的UART外設(shè)和RSM485CT模塊組成RS485通信硬件接口,在嵌入式Linux系統(tǒng)下設(shè)計(jì)RS485通信程序?qū)崿F(xiàn)與RS485總線上的其他外設(shè)間的數(shù)據(jù)互通。實(shí)驗(yàn)效果良好,表明該設(shè)計(jì)是行之有效的。文中在介紹了通信接口的硬件設(shè)計(jì)、Linux下RS485驅(qū)動設(shè)計(jì)、通信程序設(shè)計(jì)的同時(shí),重點(diǎn)介紹了Linux系統(tǒng)下RS485通信程序的編寫方法以及RS485總線上設(shè)備通信的實(shí)現(xiàn)過程。
[Abstract]:The RS485 communication interface is designed on the ARM9 processor S3C2440 to realize the communication with other devices on the bus. The RS485 communication hardware interface is composed of the UART peripheral and RSM485CT module integrated within the ARM9 processor. The communication program of RS485 is designed in embedded Linux system to realize the data exchange with other peripherals on RS485 bus. The experimental results show that the design is effective. This paper introduces the hardware design of the communication interface and the design of the RS485 driver under Linux, and the design of the communication program. At the same time, the programming method of the RS485 communication program under the Linux system and the realization process of the device communication on the RS485 bus are emphatically introduced.
【作者單位】: 東莞理工學(xué)院電子工程學(xué)院;華南理工大學(xué)電子與信息學(xué)院;
【基金】:國家自然科學(xué)基金科學(xué)儀器基礎(chǔ)研究專款項(xiàng)目(11127508) 國家自然科學(xué)重大基金項(xiàng)目(10890095) 東莞市科技計(jì)劃項(xiàng)目(2012108102040)
【分類號】:TN919
【參考文獻(xiàn)】
相關(guān)期刊論文 前7條
1 穆斌,羅s,
本文編號:1877552
本文鏈接:http://sikaile.net/kejilunwen/wltx/1877552.html
最近更新
教材專著