摘要
BF518 DSP嵌入式处理器自带串口数量较少,在多串口应用场合中,需要进行串口扩展。在u Clinux下进行扩展串口的设备驱动程序开发是系统开发的重要组成部分。介绍了一种高效的开发方法,即u Clinux平台设备驱动与TTY终端设备驱动相结合的方法开发串口驱动。与直接基于字符设备驱动的开发方法相比,具有开发和测试成本更低的特点。实际验证结果证明,使用开发的驱动程序满足功能要求,而且支持动态扩展特性。
BF518 DSP embedded processor does not have sufficient number of its own serial ports so that serial port expansion becomes necessary in serial port applications. An important part of system development is the development of the device drive program for the serial port expansion under u Clinux. An introduction is made of a highly efficient development method for serial port drive,namely,combination of u Clinux platform device drive and TTY terminal device drive. Compared with the development method directly based on character device drive,the proposed method has lower cost of development and test. Actual test results showed that the drive program developed in the proposed method could meet functional requirements and support the characters of dynamic expansion.
作者
董纯
蒋方亮
季启政
杨林鹏
Dong Chun;Jiang Fangliang;Ji Qizheng;Yang Linpeng(Beijing Orient Institute for Measurement & Test,Beijing 100086,China)
出处
《电气自动化》
2018年第4期46-48,共3页
Electrical Automation