计算机与CPLD 串口通信 吴海明,童怀 (广东工业大学 信息工程学院, 广东 广州 510006) 摘要:通过计算机的鼠标、键盘操作与具有通用异步收发(UART)装置功能的复杂可编程逻辑器件(CPLD)通信,使复杂可编程逻辑器件控制数码管显示数字.即以复杂可编程逻辑器件为接口以实现计算机控制外围设备工作,并总结利用计算机来控制电机工作是可行的. 关键字:计算机;串口;通信;复杂可编程逻辑器件 Communication with serial port between computer & CPLD Wu Hai-Ming, Tong Huai (Institute of Information engineering, Guangdong University of Technology, Guangzhou, Guangdong, 510006, China) Abstract: Computer is communicated with Complicate Programmable Logic Device (CPLD) which is in possession of function of Universal Asynchronous Receive and Transmit (UART) by mouse and keyboard. Segment-LED that is some is on/off shows the number controlled by CPLD. It means CPLD is an interface in order to control the peripheral equipment through computer operation. Make a conclusion, motor which is controlled by computer using this method is feasible Key words: computer; serial port; communication; CPLD