集成电路设计越来越向系统级的方向发展,并且越来越强调模块化的设计。SPI总线是Motorola公司提出的一个同步串行外设接口.容许CPU与各种外围接口器件以串行方式进行通信、交换信息。在此简述了SPI总线的特点,介绍了它的四条信号线及SPI串行总线接口的典型应用。重点描述SPI串行总线接口在DA芯片中的应用,并给出用C语言描述实现该接口通信的部分程序。该程序已经在AT89C2051中进行验证。
The integrated circuit design has been more and more systematic and the engineers have paid more attention on module design. SPI is a synchronous serial peripheral interfaee bus, which is presented by Motorola Company,allowed the CPU communicate and exchange information with peripheral interface devices by this serial approach. The characteristic of SPI is firstly described. The signals and the representative applieation of SPI interfaee are also presented. Application in the DA chip of SPI serial bus interface are described. Parts of the program realizing interface communication programming by C language are presented. The program has been verified by writing to AT89C2051.