论文部分内容阅读
介绍了钢轨断面检测仪器中PC与LPC2214的串口通讯软硬件设计过程。分析了LPC2214的特点,给出了串口通讯的硬件接口电路,设计了通讯协议,完成了对PC机的通讯软件设计以及对LPC2214的串口的编程实现。仪器的现场试用验证了该设计的可靠性和实时性。
Introduced the hardware and software design process of serial port communication between PC and LPC2214 in the rail section detection instrument. The characteristics of LPC2214 are analyzed, the hardware interface circuit of serial communication is given, the communication protocol is designed, the communication software of PC is designed and the serial port of LPC2214 is programmed. The field test of the instrument validated the reliability and real-time performance of the design.