纺织学报 ›› 2008, Vol. 29 ›› Issue (9): 125-128.

• 机械与器材 • 上一篇    下一篇

基于LPC2214的织机控制系统中SD主控制器的设计

王炉意;陈宗农   

  1. 浙江大学机械与能源工程学院 浙江杭州310027
  • 收稿日期:2007-09-11 修回日期:2008-03-17 出版日期:2008-09-15 发布日期:2008-09-15

Design of SD host controller in the system of weaving machine based on LPC2214

WANG Luyi;CHEN Zongnong   

  1. College of Mechanical & Energy Engineering;Zhejiang University;Hangzhou;Zhejiang 310027;China
  • Received:2007-09-11 Revised:2008-03-17 Online:2008-09-15 Published:2008-09-15

摘要: 为提高录入花形控制信息的效率,增强花形控制信息的可移植性,提出一种应用于织机花形控制信息读出与写入的SD卡主控制器设计方案。选用菲利普公司的LPC2214为主控芯片,通过SPI接口和SD卡通信,设计和实现SD卡接口电路,并给出了接口电路的部分原理图。深入分析SD卡驱动层次结构,详细介绍各个驱动层的原理和功能,给出了主要功能函数的源代码,并对其做了详细解释。介绍花形文件的读写过程,在μC/OS-Ⅱ实时操作系统下,建立了一个文件管理任务。

Abstract: For improving the efficiency of pattern file importation and enhancing the ability of transplantation,a SD card host controller design program was brought up.The program was applied to the read and written of weaving machine pattern file.LPC2214 is chosen as the main control chip,and communication is executed with SD card through SPI interface.The interface circuit and equipment drivers are designed and achieved,and part of the schematic of interface circuit is presented.An in-depth analysis of the structure of SD card driver is conducted and the principle and function of every driver level are expounded.The code of important function and explanation of their functions are given.The process of writing and reading of pattern file are described,and a file administration task is developed on the basis ofμC/OS-Ⅱreal-time operation system.

No related articles found!
Viewed
Full text


Abstract

Cited

  Shared   
  Discussed   
No Suggested Reading articles found!