基于单片机SPI器件的串口控制  被引量:9

Serial Port Control of SPI Devices Based on Single Chip Microcomputer

在线阅读下载全文

作  者:祝红彬[1] 李伟[1] 刘子骥[1] 蒋亚东[1] 

机构地区:[1]电子科技大学光电信息学院电子薄膜与集成器件国家重点实验室,四川成都610054

出  处:《现代电子技术》2009年第24期20-22,共3页Modern Electronics Technique

基  金:国家杰出青年基金项目(60425101);教育部新世纪优秀人才计划项目(NECT-04-0596)

摘  要:集成电路设计越来越向系统级的方向发展,并且越来越强调模块化的设计。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.

关 键 词:SPI 串口控制 AD7390 单片机 

分 类 号:TN216[电子电信—物理电子学]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象