摘要
为了解决信号采集系统的同步串行通讯问题,在理解AVR单片机SPI接口的通讯原理和方法的基础上,分析了AVR单片机SPI接口的工作过程,设计了AVR单片机和串行A/D转换器的同步串行通讯接口,并用程序描述了SPI接口通讯的过程,实现了AVR单片机通过SPI接口与串行A/D转换器之间的数据通讯。最后,用实验和数据分析验证了设计方案的可行性。
The synchronous serial communication plays an essential part in the design of data acquisition system.In this thesis,AVR microcontroller is chosen to construct the system.Based on the analysis of the AVR s SPI,the synchronous serial communication subsystem is designed and implemented successfully between the AVR s SPI and serial A/D converter.The main programme is presented to describe the working process of AVR s SPI interface.In the end,the data transmission is correct and effective,which proves the corre...
出处
《电测与仪表》
北大核心
2008年第9期46-48,共3页
Electrical Measurement & Instrumentation
基金
国家自然科学基金资助项目(50535030)