摘要
随着电子技术的进步,发展出了很多总线接口,如USB,I2C,CAN,SPI等。它们的特点都采用了串行接口,只需一根或几根线就可以实现数据的传输。在嵌入式设备的开发中,这些接口的应用,使得处理器和其他外设很容易实现串行通信,大大的简化电路,提高了传输的可靠性。详细介绍了以ARM7TDMI为核心的芯片AT91SAM7S64的串行外设接口SPI,同时给出了带SPI接口的LED驱动芯片MAX7219的工作原理,并从硬件和软件上实现两芯片的SPI数据通信,最终驱动LED,得到一种稳定、可靠、高速的显示技术方案。
With the development of electronic technology, there are a number of Bus interfaces such as USB,I2C,CAN,SPI etc. They all have a serial interface and just by a few lines they can realize the data transmission. By application of these interfaces in the embedded devices, it makes serial communication with other peripherals very easy, and simplifies circuit greatly and improves transmission seliability. This paper describes the theory of AT91SAMTS64 serial peripheral interface and LED driver chip MAX7219,and how to realize the SPI communication between AT91SAMTS64, and MAX7219. A stable,reliable and high speed display technology scheme is gained.
出处
《现代电子技术》
2008年第13期96-99,共4页
Modern Electronics Technique
基金
863资助项目(2006AA12A104)