论文部分内容阅读
在做柴油机电控系统开发的过程中,为解决单片机C167CS与PC机通信问题,利用C167CS的I/O口模拟串口与PC机进行通信,通过这种方法可以实现多个串口,而且串口通讯高效、可靠、标准统一。系统包括目标机采集子程序、目标机数据发送子程序、上位机接收子程序等,并给出了硬件原理图。
In the process of developing diesel engine electronic control system, in order to solve the communication problem between C167CS and PC, the C167CS I / O port is used to simulate the serial port to communicate with the PC. By this method, multiple serial ports can be realized, and the serial port communication is efficient , Reliable, standard unity. The system includes the target machine acquisition subroutine, the target machine data transmission subroutine, the host computer receives the subroutine, and gives the hardware schematic diagram.