Application of Serial Communication Simulation with Common I/O Port in LIN Bus
暂无分享,去创建一个
In the application of LIN Bus, because the serial port is taken by the UN Bus communication, the communication between PC and the target circuit board lacks of serial port. An efficient method of using single-chip processor common I/O port to simulate serial communication to realize the communication between PC and the target circuit board is introduced. And this method is successfully applied in the automotive body's controlling system based on LIN Bus.The difficulty and solution of using common I/O port to simulate serial communication to realize the communication between PC and the target circuit board, and the software design are presented in detail.In the actual engineering application, an exact delay function can be written with high efficiency of assemble language, and the veracity of communication can be realized with a lot of skills. And a strategy of definition to the data frames can be provided, which has a strong practical value.