现代电子技术
現代電子技術
현대전자기술
MODERN ELECTRONICS TECHNIQUE
2014年
18期
107-109
,共3页
刘智勇%陈鹏飞%宿磊%廖广兰
劉智勇%陳鵬飛%宿磊%廖廣蘭
류지용%진붕비%숙뢰%료엄란
STM32%μC/OS-Ⅲ%U盘%SD卡%文件传输
STM32%μC/OS-Ⅲ%U盤%SD卡%文件傳輸
STM32%μC/OS-Ⅲ%U반%SD잡%문건전수
STM32%μC/OS-Ⅲ%U disk%SD card%file transmission
基于STM32F107VCT6微控制器,在μC/OS-Ⅲ系统下针对U盘与SD卡之间的文件传输进行研究。控制器分别通过SPI串行总线和OTG接口与SD卡和U盘实现数据传输,控制系统通过FATFS文件系统将U盘的文件数据存入控制器的缓存之中,再将数据写入SD卡,实现了U盘与SD卡之间的数据传输。实验表明:该文件传输原理简单、功能稳定,可广泛应用于日常生活和工农业的小型嵌入式设备当中。
基于STM32F107VCT6微控製器,在μC/OS-Ⅲ繫統下針對U盤與SD卡之間的文件傳輸進行研究。控製器分彆通過SPI串行總線和OTG接口與SD卡和U盤實現數據傳輸,控製繫統通過FATFS文件繫統將U盤的文件數據存入控製器的緩存之中,再將數據寫入SD卡,實現瞭U盤與SD卡之間的數據傳輸。實驗錶明:該文件傳輸原理簡單、功能穩定,可廣汎應用于日常生活和工農業的小型嵌入式設備噹中。
기우STM32F107VCT6미공제기,재μC/OS-Ⅲ계통하침대U반여SD잡지간적문건전수진행연구。공제기분별통과SPI천행총선화OTG접구여SD잡화U반실현수거전수,공제계통통과FATFS문건계통장U반적문건수거존입공제기적완존지중,재장수거사입SD잡,실현료U반여SD잡지간적수거전수。실험표명:해문건전수원리간단、공능은정,가엄범응용우일상생활화공농업적소형감입식설비당중。
The file transmission between U disk and SD card in the μC/OS-Ⅲsystem based on STM32F107VCT6 chip is studied in this paper. The controller achieves data transmission by SD card and U disk respectively through SPI serial bus and USB OTG interface. The control system saves the file data of U disk into the cache of controller itself by FATFS file system, and then writes the data into the SD card to realize the data transmission between USB and SD card. The file communication mode is simple and stable,and can be widely applied to small embedded devices used in daily life,agriculture and industry.