DS3231在嵌入式环境文件系统中的应用  被引量:3

Application of DS3231 in File System of Embedded Environment

在线阅读下载全文

作  者:徐健[1] 陈永冰[1] 刘勇[1] 贾玉柱[1] 

机构地区:[1]海军工程大学导航工程系,武汉430033

出  处:《单片机与嵌入式系统应用》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[自动化与计算机技术—计算机系统结构]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象