摘要
分别用软件和硬件两种方式实现了SPI控制器,软件方案使用可编程IO端口模拟SPI接口的时序;硬件方式采用同步有限状态机设计实现了可挂接到MCU数据总线上的SPI控制器,对两种实现方案的性能做了测试,分析了优缺点。
The SPI controller is implemented using software and hardware in this paper. Under software way, PIOs of MCU is used to simulate timing of SPI. The hardware SPI controller is implemented using FSM, arid chips with SPI connect to MCU through this controller. At last, performance of these two ways is tested and compared.
出处
《电子质量》
2010年第1期4-5,13,共3页
Electronics Quality
关键词
同步串行外设接口
现场可编程门阵列
同步有限状态机
Synchronism Serial Peripheral Interface
Field Programmable Gate Array
Synchronism Finite State Machine