摘要
本文介绍了SPI与I2C总线协议的特点及在MCS-51单片机系列中模拟实现的方法。对构造单片机系统的整体方案的方法进行了研究,讨论了方案的可行性。具体的实现方法是使用Protel99SE绘制原理图,再在试验板上来搭建电路,最后用汇编语言编写驱动程序。通过实际调试,可以成功实现系统最小化。
This paper introduces SPI and the I2C main line agreement and series of methods of the realization in the MCS - 51 one - chip microprocessor. It also discusses the way of the one - chip microprocessor system and the feasibility of this plan. The concrete way is using Protel - 99 SE to draw the schematic diagram and building the electric circuit in the experimental board, finally, the driver program is written with the assembly language.