移植 CH376 USB FAT12/16/32文件系统芯片 单片机 MCU51

  • w3_674129
    了解作者
  • C/C++
    开发工具
  • 4.8MB
    文件大小
  • rar
    文件格式
  • 0
    收藏次数
  • VIP专享
    资源类型
  • 0
    下载次数
  • 2022-02-24 16:05
    上传日期
CH376做为一颗国产USB芯片(南京沁恒电子),支持HOST,SLAVE模式,相比前期版本CH375,CH376内部自带了FAT12/16/32文件系统,避免了MCU需要去处理庞大的文件系统库,将系 2 / 14 统开销降到很低,甚至一颗89C51就能顺利的运行起来,内存占用极低。并提供部分向上兼容。价格方面与市面同类产品差不多(如:PB375,SL811等),大概十几元左右,优势在于稳定性稍好一些。
移植 CH376 USB FAT12/16/32文件系统芯片 单片机 MCU51
  • code
  • HAL_BASE.C
    387B
  • HOST.C
    3.1KB
  • CH376INC.H
    38.8KB
  • HAL.H
    1KB
  • SPI_SW.C
    4.5KB
  • FILE_SYS.C
    34.7KB
  • FILE_SYS.H
    6.9KB
  • UART_HW.C
    3.6KB
  • doc
  • datasheet
  • CH376S模块电路图.pdf
    21.7KB
  • CH376DS1.PDF
    278.4KB
  • psd
  • SPI_MODE.psd
    484.3KB
  • buffer1.psd
    35.3KB
  • circuit.jpg
    120.2KB
  • disk_out.psd
    75.8KB
  • head_file.psd
    51.8KB
  • circuit.psd
    296KB
  • main.psd
    396.4KB
  • buffer1.jpg
    19.7KB
  • create_dir.jpg
    43.8KB
  • uart_cfg.psd
    150.4KB
  • read_file.psd
    562.6KB
  • speed_test.jpg
    162.3KB
  • commu.jpg
    167KB
  • debug.jpg
    56.5KB
  • write_file.jpg
    111.3KB
  • uart_datasheet.jpg
    209.9KB
  • filelist.jpg
    76.7KB
  • SPI_MODE.jpg
    70.8KB
  • del_file.psd
    218.6KB
  • del_file.jpg
    38.2KB
  • disk_out.jpg
    30.5KB
  • write_file.psd
    453KB
  • spi_pin.jpg
    63.5KB
  • UART_MODE.jpg
    71.3KB
  • create_dir.psd
    226.5KB
  • code_flow.psd
    522.9KB
  • speed_test.psd
    231.6KB
  • filelist.psd
    397.1KB
  • uart_datasheet.psd
    806.3KB
  • uart_cfg.jpg
    67.6KB
  • disk_in.psd
    559.6KB
  • commu.psd
    621.5KB
  • disk_in.jpg
    133.5KB
  • debug.psd
    257.9KB
  • code_flow.jpg
    57.1KB
  • head_file.jpg
    28.1KB
  • spi_pin.psd
    138.4KB
  • main.jpg
    79.7KB
  • read_file.jpg
    133.6KB
  • porting.pdf
    1.2MB
  • porting.doc
    1.8MB
  • debug
  • HAL_BASE.obj
    28.7KB
  • host
    158.5KB
  • DEBUG.obj
    29.9KB
  • FILE_SYS.obj
    62.8KB
  • CH376.obj
    29.8KB
  • SPI_SW.obj
    33.6KB
  • HOST.obj
    41.6KB
  • HOST.BIN
    4.9KB
  • ExtDll.iex
    19B
  • host.lnp
    149B
  • host.plg
    34.8KB
  • host.hex
    14.6KB
  • FILE_SYS.lst
    57.5KB
  • CH376.lst
    2.8KB
  • host_udisk.Opt
    3KB
  • DEBUG.lst
    2KB
  • HAL_BASE.lst
    1.6KB
  • HOST.lst
    7KB
  • host.m51
    55.1KB
  • SPI_SW.lst
    8.2KB
  • host_udisk.Uv2
    2.3KB
  • host_udisk.m51
    47.2KB
  • host_udisk_Uv2.Bak
    2.2KB
  • host_udisk.plg
    2KB
  • host_udisk_Opt.Bak
    3KB
内容介绍
<html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta charset="utf-8"> <meta name="generator" content="pdf2htmlEX"> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> <link rel="stylesheet" href="https://static.pudn.com/base/css/base.min.css"> <link rel="stylesheet" href="https://static.pudn.com/base/css/fancy.min.css"> <link rel="stylesheet" href="https://static.pudn.com/prod/directory_preview_static/62682d5f4c65f412597ada68/raw.css"> <script src="https://static.pudn.com/base/js/compatibility.min.js"></script> <script src="https://static.pudn.com/base/js/pdf2htmlEX.min.js"></script> <script> try{ pdf2htmlEX.defaultViewer = new pdf2htmlEX.Viewer({}); }catch(e){} </script> <title></title> </head> <body> <div id="sidebar" style="display: none"> <div id="outline"> </div> </div> <div id="pf1" class="pf w0 h0" data-page-no="1"><div class="pc pc1 w0 h0"><img class="bi x0 y0 w1 h1" alt="" src="https://static.pudn.com/prod/directory_preview_static/62682d5f4c65f412597ada68/bg1.jpg"><div class="t m0 x1 h2 y1 ff1 fs0 fc0 sc0 ls0 ws0"> <span class="_ _0"> </span><span class="ff2">1</span> <span class="ls1">/ <span class="ff2 ls2">14</span></span> </div><div class="t m0 x2 h2 y2 ff1 fs0 fc0 sc0 ls0 ws0"> </div><div class="t m0 x3 h3 y3 ff3 fs1 fc0 sc1 ls3 ws0">&#31227;&#26893;<span class="ff2 sc0 ls0"> <span class="_ _1"> </span>CH3<span class="_ _2"></span>7<span class="_ _2"></span>6 USB <span class="_ _1"> </span> </span></div><div class="t m0 x4 h3 y4 ff2 fs1 fc0 sc0 ls0 ws0">F<span class="_ _3"></span>A<span class="_ _4"></span>T12<span class="_ _5"></span>/<span class="_ _6"></span>16<span class="_ _5"></span>/<span class="_ _5"></span>32<span class="_ _7"> </span><span class="ff3 sc1">&#25991;&#20214;&#31995;&#32479;<span class="_ _8"></span>&#33455;&#29255;</span> </div><div class="t m0 x5 h3 y5 ff3 fs1 fc0 sc1 ls3 ws0">&#21333;&#29255;&#26426;<span class="ff2 sc0 ls0"> <span class="_ _1"> </span>MCU5<span class="_ _9"></span>1 </span></div><div class="t m0 x2 h4 y6 ff3 fs2 fc1 sc2 ls0 ws0">&#30446;&#24405;<span class="ff4 sc0"> </span></div><div class="t m0 x2 h5 y7 ff1 fs3 fc0 sc0 ls0 ws0">1 <span class="_ _a"> </span><span class="ff3">&#27010;&#36848;&#65306;</span><span class="ls4">.......................................................................................................................................</span> <span class="_ _4"></span>1 </div><div class="t m0 x2 h5 y8 ff1 fs3 fc0 sc0 ls0 ws0">2 <span class="_ _a"> </span><span class="ff3">&#28304;&#30721;&#25991;&#20214;&#21015;&#34920;&#65306;<span class="_ _9"></span><span class="ff1"> <span class="_ _4"></span><span class="ls4">.......................................................................................................................<span class="ls0"> <span class="_ _4"></span>2 </span></span></span></span></div><div class="t m0 x2 h5 y9 ff1 fs3 fc0 sc0 ls0 ws0">3 <span class="_ _a"> </span><span class="ff3">&#32467;&#26500;&#22270;&#65306;</span> <span class="_ _b"></span><span class="ls4">...................................................................................................................................<span class="ls0"> <span class="_ _c"></span>3 </span></span></div><div class="t m0 x2 h5 ya ff1 fs3 fc0 sc0 ls0 ws0">4 <span class="_ _a"> </span><span class="ff3">&#30005;&#36335;&#21407;&#29702;&#22270;&#21442;&#32771;<span class="_ _9"></span>&#65306;<span class="ff1"> <span class="_ _4"></span><span class="ls4">...................................................................................................................<span class="ls0"> <span class="_ _4"></span>4 </span></span></span></span></div><div class="t m0 x6 h5 yb ff1 fs3 fc0 sc0 ls0 ws0">4.1 <span class="_ _d"> </span><span class="ff3">&#36890;&#35759;&#25509;&#21475;&#30340;&#36873;&#25321;<span class="_ _9"></span>&#65306;<span class="ff1"> <span class="_ _4"></span><span class="ls4">.......................................................................................................<span class="ls0"> <span class="_ _4"></span>5 </span></span></span></span></div><div class="t m0 x2 h5 yc ff1 fs3 fc0 sc0 ls0 ws0">5 <span class="_ _a"> </span>DEMO <span class="_ _e"> </span><span class="ff3">&#31243;&#24207;&#35814;&#35299;&#65306;<span class="_ _9"></span><span class="ff1"> <span class="_ _2"></span><span class="ls4">..................................................................................................................<span class="ls0"> <span class="_ _c"></span>5 </span></span></span></span></div><div class="t m0 x6 h5 yd ff1 fs3 fc0 sc0 ls0 ws0">5.1 <span class="_ _d"> </span><span class="ff3">&#22836;&#25991;&#20214;&#65306;</span> <span class="_ _b"></span><span class="ls4">.......................................................................................................................<span class="ls0"> <span class="_ _c"></span>5 </span></span></div><div class="t m0 x6 h5 ye ff1 fs3 fc0 sc0 ls0 ws0">5.2 <span class="_ _d"> </span><span class="ff3">&#32531;&#23384;<span class="_ _0"> </span></span>BUFFER<span class="ff3">&#65306;</span> <span class="_ _f"></span><span class="ls4">.............................................................................................................<span class="ls0"> <span class="_ _4"></span>6 </span></span></div><div class="t m0 x6 h5 yf ff1 fs3 fc0 sc0 ls0 ws0">5.3 <span class="_ _d"> </span><span class="ff3">&#35843;&#35797;&#20449;&#24687;&#65306;</span> <span class="_ _b"></span><span class="ls4">...................................................................................................................<span class="ls0"> <span class="_ _c"></span>6 </span></span></div><div class="t m0 x6 h5 y10 ff1 fs3 fc0 sc0 ls0 ws0">5.4 <span class="_ _d"> </span>SPI<span class="_"> </span><span class="ff3">&#36890;&#35759;&#27169;&#24335;&#65306;</span> <span class="_ _4"></span><span class="ls4">.............................................................................................................<span class="ls0"> <span class="_ _c"></span>6 </span></span></div><div class="t m0 x7 h5 y11 ff1 fs3 fc0 sc0 ls0 ws0">5.4.1 <span class="_ _10"> </span>SPI <span class="_ _e"> </span><span class="ff3">&#21333;&#29255;&#26426;<span class="_ _0"> </span></span><span class="ls5">IO<span class="_ _e"> </span></span><span class="ff3">&#33050;&#37197;&#32622;&#65306;</span> <span class="_ _2"></span><span class="ls4">..................................................................................<span class="ls0"> <span class="_ _4"></span>7 </span></span></div><div class="t m0 x6 h5 y12 ff1 fs3 fc0 sc0 ls0 ws0">5.5 <span class="_ _d"> </span>U<span class="_ _9"></span>ART<span class="_ _0"> </span><span class="ff3">&#36890;&#35759;&#27169;&#24335;&#65306;</span> <span class="_ _4"></span><span class="ls4">.........................................................................................................<span class="ls0"> <span class="_ _c"></span>7 </span></span></div><div class="t m0 x7 h5 y13 ff1 fs3 fc0 sc0 ls0 ws0">5.5.1 <span class="_ _10"> </span><span class="ff3">&#20018;&#21475;&#21442;&#25968;&#35774;&#32622;&#65306;<span class="_ _9"></span><span class="ff1"> <span class="_ _4"></span><span class="ls4">................................<span class="_ _8"></span>...............................................................<span class="ls0"> <span class="_ _4"></span>7 </span></span></span></span></div><div class="t m0 x7 h5 y14 ff1 fs3 fc0 sc0 ls0 ws0">5.5.2 <span class="_ _10"> </span>CH3<span class="_ _9"></span>76 D<span class="_ _9"></span>A<span class="_ _f"></span>T<span class="_ _2"></span>ASHEET<span class="_"> </span><span class="ff3">&#20018;&#21475;&#35828;<span class="_ _9"></span>&#26126;&#65306;<span class="ff1"> <span class="_ _3"></span><span class="ls4">........................................................................<span class="ls0"> <span class="_ _c"></span>8 </span></span></span></span></div><div class="t m0 x6 h5 y15 ff1 fs3 fc0 sc0 ls0 ws0">5.6 <span class="_ _d"> </span><span class="ff3">&#26816;&#27979;<span class="_ _0"> </span></span>U<span class="_"> </span><span class="ff3">&#30424;&#25554;&#20837;&#65306;</span> <span class="_ _f"></span><span class="ls4">..........................................................................................................<span class="ls0"> <span class="_ _c"></span>8 </span></span></div><div class="t m0 x6 h5 y16 ff1 fs3 fc0 sc0 ls0 ws0">5.7 <span class="_ _d"> </span>U<span class="_"> </span><span class="ff3">&#30424;&#25300;&#20986;&#65306;</span> <span class="_ _f"></span><span class="ls4">...................................................................................................................<span class="ls0"> <span class="_ _c"></span>9 </span></span></div><div class="t m0 x6 h5 y17 ff1 fs3 fc0 sc0 ls0 ws0">5.8 <span class="_ _d"> </span><span class="ff3">&#21019;&#24314;&#30446;&#24405;&#65306;</span> <span class="_ _b"></span><span class="ls4">.................................................................................................................<span class="ls0"> <span class="_ _c"></span><span class="ls6">10<span class="ls0"> </span></span></span></span></div><div class="t m0 x6 h5 y18 ff1 fs3 fc0 sc0 ls0 ws0">5.9 <span class="_ _d"> </span><span class="ff3">&#20889;&#25991;&#20214;&#65306;</span> <span class="_ _b"></span><span class="ls4">.....................................................................................................................<span class="ls0"> <span class="_ _c"></span><span class="ls6">10<span class="ls0"> </span></span></span></span></div><div class="t m0 x6 h5 y19 ff1 fs3 fc0 sc0 ls0 ws0">5.10 <span class="_ _11"> </span><span class="ff3">&#35835;&#25991;&#20214;&#65306;</span> <span class="_ _12"></span><span class="ls4">.................................................................................................................<span class="ls0"> <span class="_ _4"></span><span class="ls6">11<span class="ls0"> </span></span></span></span></div><div class="t m0 x6 h5 y1a ff1 fs3 fc0 sc0 ls0 ws0">5.11 <span class="_ _11"> </span><span class="ff3">&#21024;&#38500;&#25991;&#20214;&#65306;</span> <span class="_ _12"></span><span class="ls4">.............................................................................................................<span class="ls0"> <span class="_ _4"></span><span class="ls6">12<span class="ls0"> </span></span></span></span></div><div class="t m0 x6 h5 y1b ff1 fs3 fc0 sc0 ls0 ws0">5.12 <span class="_ _13"> </span>main()<span class="ff3">&#20989;&#25968;<span class="_ _9"></span>&#65306;<span class="ff1"> <span class="_ _f"></span><span class="ls4">................................................................................................<span class="_ _8"></span>..............<span class="ls0"> <span class="_ _4"></span><span class="ls6">13<span class="ls0"> </span></span></span></span></span></span></div><div class="t m0 x2 h5 y1c ff1 fs3 fc0 sc0 ls0 ws0">6 <span class="_ _a"> </span><span class="ff3">&#24635;&#32467;&#65306;</span><span class="ls4">.....................................................................................................................................</span> <span class="_ _4"></span><span class="ls6">14<span class="ls0"> </span></span></div><div class="t m0 x6 h5 y1d ff1 fs3 fc0 sc0 ls0 ws0">6.1 <span class="_ _d"> </span><span class="ff3">&#20248;&#28857;&#65306;</span> <span class="_ _b"></span><span class="ls4">.........................................................................................................................<span class="ls0"> <span class="_ _c"></span><span class="ls6">14<span class="ls0"> </span></span></span></span></div><div class="t m0 x6 h5 y1e ff1 fs3 fc0 sc0 ls0 ws0">6.2 <span class="_ _d"> </span><span class="ff3">&#19981;&#36275;&#65306;</span> <span class="_ _b"></span><span class="ls4">.........................................................................................................................<span class="ls0"> <span class="_ _c"></span><span class="ls6">14<span class="ls0"> </span></span></span></span></div><div class="t m0 x2 h6 y1f ff1 fs3 fc0 sc0 ls0 ws0"> </div><div class="t m0 x2 h7 y20 ff2 fs4 fc0 sc0 ls0 ws0">1<span class="ff5"> <span class="_ _14"> </span><span class="ff3 sc1 ls3">&#27010;&#36848;&#65306;</span></span> </div><div class="t m0 x2 h5 y21 ff1 fs3 fc0 sc0 ls0 ws0">CH3<span class="_ _9"></span>76<span class="_ _15"> </span><span class="ff3">&#20570;&#20026;&#19968;&#39063;&#22269;&#20135;<span class="_ _15"> </span></span>USB<span class="_ _15"> </span><span class="ff3">&#33455;&#29255;<span class="_ _16"></span>&#65288;<span class="fc2">&#21335;&#20140;&#27777;&#24658;<span class="_ _9"></span>&#30005;&#23376;<span class="fc0">&#65289;<span class="_ _16"></span>&#65292;<span class="_ _16"></span>&#25903;&#25345;<span class="_ _15"> </span><span class="ff1">HOST<span class="_ _3"></span>,SL<span class="_ _8"></span>A<span class="_ _9"></span>VE<span class="_ _15"> </span><span class="ff3">&#27169;&#24335;&#65292;<span class="_ _16"></span>&#30456;&#27604;&#21069;&#26399;&#29256;&#26412;<span class="_ _15"> </span><span class="ff1">CH3<span class="_ _9"></span>75<span class="ff3">&#65292;</span></span></span></span></span></span></span></div><div class="t m0 x2 h5 y22 ff1 fs3 fc0 sc0 ls0 ws0">CH3<span class="_ _9"></span>76<span class="_"> </span><span class="ff3">&#20869;&#37096;&#33258;&#24102;&#20102;<span class="_ _0"> </span></span>F<span class="_ _2"></span>A<span class="_ _f"></span>T12<span class="_ _3"></span>/<span class="_ _f"></span>16<span class="_ _3"></span>/<span class="_ _3"></span>32<span class="_ _0"> </span><span class="ff3">&#25991;&#20214;&#31995;&#32479;&#65292;<span class="_ _2"></span>&#36991;&#20813;&#20102;<span class="_ _0"> </span><span class="ff1">MCU<span class="_"> </span></span>&#38656;&#35201;&#21435;&#22788;&#29702;&#24222;&#22823;&#30340;&#25991;<span class="_ _9"></span>&#20214;&#31995;&#32479;&#24211;&#65292;<span class="_ _2"></span>&#23558;&#31995;</span></div><a class="l" rel='nofollow' onclick='return false;'><div class="d m1"></div></a><a class="l" rel='nofollow' onclick='return false;'><div class="d m1"></div></a><a class="l" rel='nofollow' onclick='return false;'><div class="d m1"></div></a><a class="l" rel='nofollow' onclick='return false;'><div class="d m1"></div></a><a class="l" rel='nofollow' onclick='return false;'><div class="d m1"></div></a><a class="l" rel='nofollow' onclick='return false;'><div class="d m1"></div></a><a class="l" rel='nofollow' onclick='return false;'><div class="d m1"></div></a><a class="l" rel='nofollow' onclick='return false;'><div class="d m1"></div></a><a class="l" rel='nofollow' onclick='return false;'><div class="d m1"></div></a><a class="l" rel='nofollow' onclick='return false;'><div class="d m1"></div></a><a class="l" rel='nofollow' onclick='return false;'><div class="d m1"></div></a><a class="l" rel='nofollow' onclick='return false;'><div class="d m1"></div></a><a class="l" rel='nofollow' onclick='return false;'><div class="d m1"></div></a><a class="l" rel='nofollow' onclick='return false;'><div class="d m1"></div></a><a class="l" rel='nofollow' onclick='return false;'><div class="d m1"></div></a><a class="l" rel='nofollow' onclick='return false;'><div class="d m1"></div></a><a class="l" rel='nofollow' onclick='return false;'><div class="d m1"></div></a><a class="l" rel='nofollow' onclick='return false;'><div class="d m1"></div></a><a class="l" rel='nofollow' onclick='return false;'><div class="d m1"></div></a><a class="l" rel='nofollow' onclick='return false;'><div class="d m1"></div></a><a class="l" rel='nofollow' onclick='return false;'><div class="d m1"></div></a><a class="l" rel='nofollow' onclick='return false;'><div class="d m1"></div></a><a class="l" rel='nofollow' onclick='return false;'><div class="d m1"></div></a><a class="l" rel='nofollow' onclick='return false;'><div class="d m1"></div></a><a class="l" rel='nofollow' onclick='return false;'><div class="d m1"></div></a></div><div class="pi" data-data='{"ctm":[1.611792,0.000000,0.000000,1.611792,0.000000,0.000000]}'></div></div> </body> </html>
评论
    相关推荐
    • 单片机课件
      能够帮助同学们快速的了解单片机并对于单片机的一些设计程序有一定的认知
    • 单片机课件
      单片机的课件及例题, 单片机的课件及例题, 单片机的课件及例题, 单片机的课 件及例题,
    • 爱上单片机
      一本电子爱好者都能看懂,会边看边笑的单片机入门书籍,作者杜洋曾在《无线电》上发表过“趣味单片机制作专题”、“单片机编程魔法学校”等深受读者喜爱、让无数单片机入门者热血沸腾的系列文章。本书通过生动的语言...
    • 单片机资料
      内含30个单片机应用开发的资料,包括配套单片机入门PPT。
    • 单片机课件
      单片机课的课件,对单片机的基础进行了全面的概述,也有非常精细的指导。
    • 单片机工具
      单片机工具 供单片机学习使用 免费资源 日后还会有更多资源 请联系我
    • 单片机课件
      单片机课件 ppt文件格式 介绍了单片机的结构、程序设计、定时器、中断等
    • 单片机教程
      这是一个单片机的教程,可以用于初次学习单片机的人学习。
    • 单片机入门
      很好的单片机学习资源,入门比较好适合对单片机的学习有兴趣的人,而且是名校的精彩讲解,
    • 爱上单片机
      《爱上单片机》本书是一本电子爱好者都能看懂,会边看边笑的单片机入门书籍,作者杜洋曾在《无线电》上发表过“趣味单片机制作专题”、“单片机编程魔法学校”等深受读者喜爱、让无数单片机入门者热血沸腾的系列文章...