本文提出了一种基于VxWorks 嵌入式操作系统的工业总线协议转换器—TC700。它能够实现RS232/RS485/CAN 与以太网的协议转换,是一种复合型的多协议转换网关。在对TC700 功能原理简单说明的基础上,笔者着重从TC700 的硬件电路结构设计和软件驱动程序开发两个方面,具体分析介绍了该网关CAN 接口驱动设计的过程。通过移植UNIX 系统下u-boot 中的spi.c 程序,完成了CAN 接口驱动程序的设计内容。关键词:VxWorks; 协议转换器; 网关; CAN; SPIAbstract:This paper presents a design of protocol convertor—TC700 for industry fieldbus on embedded operating system of VxWorks. The protocol conversion for RS232/RS485/CAN to EthernetTC700 can be realized, and it can be looked as a multiplex protocol convertor. Theauthor emphasizes on two sides based on the simplified explain of TC700\' theory, the hardware design and the software drive program development, and gives a detailed driver design progress of the device-driver of CAN bus. The design of device-driver of CAN bus is implemented by transplanting the spi.c program in u-boot of UNIX.Keywords: VxWorks; Protocol Convertor; Gateway; CAN; SPI