首页 | 本学科首页   官方微博 | 高级检索  
     

基于UART的SPI扩展方法
引用本文:马维华.基于UART的SPI扩展方法[J].小型微型计算机系统,2003,24(3):592-595.
作者姓名:马维华
作者单位:南京航空航天大学,信息科学与技术学院,江苏,南京,210016
摘    要:借助于内置开关功能的RS-232接口LT1180A,巧妙利用UART方式0扩展SPI是一种较好的方法,首先阐述利用USAR扩展SPI的必要性和可行性,给出了硬件连接图,接着经过时序分析得出,进行适当的数据排序变换,可用UART方式0有效地模拟SPI操作,最后以串行F2PROM X25F128为例,着重介绍了扩展SPI的硬软件设计方法,实际应用表明,该方法经济,可靠,实用。

关 键 词:UART  SPI扩展方法  接口扩展  单片机
文章编号:1000-1220(2003)03-0592-04

Method of Extending SPI Interface Based on UART
MA,Wei,hua.Method of Extending SPI Interface Based on UART[J].Mini-micro Systems,2003,24(3):592-595.
Authors:MA  Wei  hua
Abstract: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.
Keywords:interface extend  microcontroller  method  time order  UART  SPI
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号