论文部分内容阅读
针对嵌入式系统中串口短缺及缺少Linux平台串口扩展驱动支持的问题,对SC16IS752的读写时序、硬件系统结构、I2C设备驱动等进行介绍,以飞思卡尔i.MX53控制器为硬件平台,Linux2.6.35为软件平台,采用I2C驱动体系,实现了串口驱动程序的初始化、注销、读写、参数配置函数等功能。测试结果表明:该驱动利用I2C总线扩展微处理器串口,数据传输稳定;模块化设计方法方便移植和修改。利用SC16IS752芯片扩展多串口,在嵌入式设备中有广泛的应用前景。
Aiming at the shortage of serial port in embedded system and the lack of support for serial port expansion of Linux platform, this paper introduces the read and write sequence, hardware system structure and I2C device driver of SC16IS752. With Freescale i.MX53 controller as hardware platform, Linux2 .6.35 for the software platform, using I2C driver system, serial port driver initialization, logout, read and write, parameter configuration functions and other functions. The test results show that: The driver uses the I2C bus to extend the microprocessor serial port, the data transmission is stable; the modular design method is convenient to transplant and modify. The use of SC16IS752 chip expansion of multi-serial port, embedded devices in a wide range of applications.