摘要
为在S3C2440处理器上实现RS485总线与PC的通信,在硬件上通过ARM处理器自带的UART外接ADM2483芯片,在软件上通过多线程并发程序设计的方法,设计了基于嵌入式LINUX下的RS485总线与PC的通信程序,实现了RS485总线下ARM和PC的9600 bps通信。在介绍硬件接口、系统设计过程的同时,重点介绍运用LINUX系统的多进程程序设计,来实现在应用层上完成RS485总线通信程序的设计方法与设计过程。
In order to realize the communication between $3C2440 processor and PC RS485 bus, an external chip ADM2483 and the multi-thread programming were used. Through communication between the ARM processor and PC were realized in this design, Baud rate could reach up to 9600 BPS. Moreover, this paper introduced the hardware and design process of system, with the focus on the design way and process of RS485 bus communication program by using LINUX multi-threaded programming.
出处
《东莞理工学院学报》
2013年第3期27-30,共4页
Journal of Dongguan University of Technology
基金
国家自然科学基金科学仪器基础研究专款项目(11127508)
国家自然科学重大基金项目(10890095)