• Electro-Optic Technology Application
  • Vol. 33, Issue 5, 44 (2018)
LI Yong-qiang and GUO Shao-lei
Author Affiliations
  • [in Chinese]
  • show less
    DOI: Cite this Article
    LI Yong-qiang, GUO Shao-lei. Design and Implementation of HDLC Communication Driver Based on STM32F103[J]. Electro-Optic Technology Application, 2018, 33(5): 44 Copy Citation Text show less

    Abstract

    Because of the advantages of powerful error detection, high reliability, high efficiency and transparent transmission, high level data link control (HDLC) protocol is widely used in the field of medium and high speed synchronous half-duplex and full-duplex communication. In special occasions such as aviation and aerospace, due to higher requirements of transmission correctness and reliability, HDLC protocol always needs to be improved. A HDLC interface design using special data frame which completed single channel half-duplex data communication is described. Using STM32F103 microprocessor and differential driver and receive pair chips, this design achieves parsing and generation of HDLC data using special frame by the way of software programming. The test results show that the communication interface design is reasonable, correct and feasible.