摘要
借助于内置开关功能的 RS- 2 32接口 L T1180 A,巧妙利用 UART方式 0扩展 SPI是一种较好的方法 .首先阐述了利用 UART扩展 SPI的必要性和可行性 ,给出了硬件连接图 .接着经过时序分析得出 ,进行适当的数据排序变换 ,可用 U ART方式 0有效地模拟 SPI操作 .最后以串行 E2 PROM X2 5 F12 8为例 ,着重介绍了扩展 SPI的硬软件设计方法 .实际应用表明 ,该方法经济、可靠。
It is the better method to extend SPI interface by making full use of UART's mode 0 skillfully and LT1180A which is a RS 232 interface with on/off function. Firstly, this paper explains the necessary and possibility of extending SPI interface using UART and gives hardware connecting chart. Secondly, it is concluded through analyzing time order that simulating SPI operation using UART mode 0 is effective after proper data transformation. Lastly, using the serial E 2PROM X25F128 as an example, the paper mostly introduces the design method of hardware and software for extending the serial peripheral interface. Practical application shows that the method has remarkable characteristics in economy, reliability and practicality.
出处
《小型微型计算机系统》
CSCD
北大核心
2003年第3期592-595,共4页
Journal of Chinese Computer Systems