计算机工程与设计
計算機工程與設計
계산궤공정여설계
COMPUTER ENGINEERING AND DESIGN
2014年
10期
3416-3421
,共6页
李聪%李春梅%周志群%张瑞芳
李聰%李春梅%週誌群%張瑞芳
리총%리춘매%주지군%장서방
STM32%数据交换%SD卡%网络接口%日历时钟%标准通讯接口
STM32%數據交換%SD卡%網絡接口%日歷時鐘%標準通訊接口
STM32%수거교환%SD잡%망락접구%일력시종%표준통신접구
STM32%data exchange%SD card%network interface%calendar clock%standard communication interface
为满足工业现场不同功能模块信息交换及不同电气接口的数据传输要求,提出一种基于微控制器STM32的数据传输转换接口器设计方法。描述接口器融合多种标准化的数据接口,以及外设实现RS-232/485、USB、RJ-45接口的数据之间相互传输等关键技术的实现过程;充分发挥STM32控制器的强度功能,扩展SD卡、日历时钟、开关量输入输出等辅助功能,阐明原理并给出相应硬件电路;接口器的软件采用模块化设计,将每个功能做成独立的函数便于调用。调试结果表明,该处理器具有处理数据快、实时性强、存储容量大、工作稳定等优点。
為滿足工業現場不同功能模塊信息交換及不同電氣接口的數據傳輸要求,提齣一種基于微控製器STM32的數據傳輸轉換接口器設計方法。描述接口器融閤多種標準化的數據接口,以及外設實現RS-232/485、USB、RJ-45接口的數據之間相互傳輸等關鍵技術的實現過程;充分髮揮STM32控製器的彊度功能,擴展SD卡、日歷時鐘、開關量輸入輸齣等輔助功能,闡明原理併給齣相應硬件電路;接口器的軟件採用模塊化設計,將每箇功能做成獨立的函數便于調用。調試結果錶明,該處理器具有處理數據快、實時性彊、存儲容量大、工作穩定等優點。
위만족공업현장불동공능모괴신식교환급불동전기접구적수거전수요구,제출일충기우미공제기STM32적수거전수전환접구기설계방법。묘술접구기융합다충표준화적수거접구,이급외설실현RS-232/485、USB、RJ-45접구적수거지간상호전수등관건기술적실현과정;충분발휘STM32공제기적강도공능,확전SD잡、일력시종、개관량수입수출등보조공능,천명원리병급출상응경건전로;접구기적연건채용모괴화설계,장매개공능주성독립적함수편우조용。조시결과표명,해처리기구유처리수거쾌、실시성강、존저용량대、공작은정등우점。
To meet requirements of the information exchange between different modules and the data transmission between dif-ferent electrical interfaces in the industrial site ,a design method for the data transmission conversion interface unit based on the STM32 microprocessor was proposed .The implementation process of the interface unit which integrated a variety of standardized data interfaces was described ,as well as the key technologies of the data transmission in the RS-232/485 ,USB and RJ-45 inter-face .This design gave full play to the strong function of the STM 32 microprocessor ,at the same time expanded some auxiliary functions such as the SD card ,the calendar clock and the input and output of switch value ,and expounded the principle and gave the corresponding hardware circuit .The software of the interface unit adopted the modular design ,and each function set up as a separate function was advantageous for the call .The debugging results show that the processor has the advantages of fast dealing with data ,strong real-time performance ,large storage capacity and stable work ,etc .