检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
出 处:《单片机与嵌入式系统应用》2014年第11期15-17,20,共4页Microcontrollers & Embedded Systems
基 金:总装预研基金(项目编号:9140A09050112JB11112)
摘 要:为满足嵌入式环境中文件系统精准的提供时间功能,使存储在外部介质SD卡中的文件包含创建、修改、访问等详细时间信息,提出采用高精度实时时钟芯片DS3231为文件系统提供连续精准的时间信息的解决方案。介绍了SD卡存储结构,详细探讨了FAT32文件系统在嵌入式环境中的移植方法,设计了DS3231与C8051F500单片机进行通信时的硬件接口连接,通过I2 C总线实现对DS3231时间信息的读写。系统测试表明,DS3231能够连续不断地给嵌入式文件系统提供精准时间信息。In order to provide the accurate time information of file system in embedded environment and make files stored in the external SD card contain detailed time information about creation, modification and access. The paper proposes a solution that high-precision real- time clock chip DS3231 provides continuous accurate time information to the file system. The paper introduces the storage structure of SD card, discusses the transplant method of FAT32 file system in embedded environment, designs hardware connection interface between DS3231 and microcontroller C8051F500, and realizes the read/write operation of time information of DS3231 by I^2C bus. System test shows that DS3231 can continuously provide accurate time information to the embedded file system.
关 键 词:实时时钟 DS3231 SD卡 文件系统 I^2C总线
分 类 号:TP333[自动化与计算机技术—计算机系统结构]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:216.73.216.30