文档介绍:Ξ
2
研究与开发
电讯技术年第期
2004 5 RESEARCH & DEVELOPMENT
文章编号:1001 - 893X(2004) 05 - 0171 - 04
一种基于 PCI 总线与 PIC 单片机通信的实现方法
谭湘宇 1 , 刘晓东 2
(1. 电子科技大学电子工程学院,四川成都 610054 ;2. 中国西南电子技术研究所,四川成都 610036)
摘要:基于 PCI 总线实现各种数据通信、数据采集以及状态控制已得到广泛的应用。本设计在遵
循 PCI 总线原理下,利用 CPLD 中 I/ O 资源丰富、用户可自定制逻辑的优势,应用 Verilog HDL 语言完
成对 PCI 总线接口芯片的设计与实现,并通过接口芯片实现 PIC 单片机与上层应用程序的通信任
务,完成各项控制命令。
Ξ关键词:计算机控制系统;计算机通信;PIC 单片机;PCI 总线;芯片;设计
中图分类号:TN919 文献标识码:A
A Method munication with PIC Microcontrollers
Based on PCI Local Bus
TAN Xiang - yu1 , LIU Xiao - dong2
(1. College of Electronic Engineering ,University of Electronic Science and Technology of China ,
Chengdu 610054 ,China ;2. Southwest China Institute of Electronic Technology ,Chengdu 610036 ,China)
Abstract :munication ,data collection and state control based on PCI local bus have been applied in
many fields. This design abides by PCI local bus principle. With the advantage of many I/ O in CPLD and the
function of defining logic by users , the chip design of PCI interface by Verilog HDL is - plished. Com
munication and control between puter and PIC Microcontrollers is realized by the chip.
Key words :Computer control system; munication ; PIC microcontroller ; PCI bus ; Chip ; Design
重要的信号线。让单片机有限的 I/ O 端口来直接控
一、概述制如此众多的信号线是不可能的。如何实现两者之
间的通信,只能利用 PCI 的接口芯片作为沟通 PIC
PIC 单片机作为一种简单实用型的单片机,广
单片机与 PC 机之间的桥梁,来帮助单片机完成与