摘要
本文通过对MCS-51系列单片机硬件结构的研究,提出并实现了一种简单可行的多I/O口扩展原理。在充分考虑了单片机的总线结构的前提下,利用总线设计技术,采用线选法,最大可扩展八位并行I/O口42个;同时,使ROM的空间任意浮动,便于软件开发与调试。利用这一原理设计的多I/O口系统,芯片少,硬件简单,成本低廉,运行可靠,可广泛应用于多组数据采集及多目标控制等场合。
After investigating into the hardware structure of the MCS-51 single-chip micro- computer, a simple and practicable extending principle of multi-I/O ports is proposed in this paper. Considering the bus structure in detail and employing bus designing techniques and wire selecting methods, the maximum number of eight bits parallel I/O ports can be extended to be 42. Meanwhile, the space of ROM can be re-located at will. This makes the software programming and debugging easy. The system has less chips, simple hardware, low cost, and realiable running. It can be widely used for multi-data callecting, multi-object controlling and so on.
出处
《甘肃工业大学学报》
1992年第1期97-102,共6页
Journal of Gansu University of Technology
关键词
输入-输出
地址
单片机
I/O口
input-output,address,decode, extension,time sequence,single-chip microcomputer