The Serial Communication Between Lingyang 16 Bits MCU and Person Computer

TAO Feng,LIU Xiaodong,ZHAO Guoying
DOI: https://doi.org/10.3969/j.issn.1004-373x.2006.21.017
2006-01-01
Abstract:This paper presents a serial communication system in order to satisfy the data exchange between SPCE061A and PC.It uses the approach of asynchronous serial communication.The conversion of RS 232C and TTL is demonstrated for the difference of level between SPCE061A and PC,as well as the design of program of serial communication is given in the paper.The data format and the baud rate configuration is presented in the communication protocol part,the section of key question in the programming design gives the interruption control unit configuration.Finally,the flow chart of the sending interruption programs by using UART in SPCE061A and the subordinate program of the data sending and receiving are given.The assemble language is used in the single chip computer,while the VB6.0 is adopted in PC.The hardware and software of the system have been successfully debugged and run.
What problem does this paper attempt to address?