【ST25RU3993通讯协议】USB Protocol Documentation for PC Applications

2018-08-13 13:24:49 150
版本 :
立即下载

【ST25RU3993通讯协议】USB Protocol Documentation for PC Applications

Table of Contents

1 Introduction .......................................................................................................................... 4

1.1 Purpose ............................................................................................................................... 4

1.2 Terms and Abbreviations ..................................................................................................... 4

2 Protocol Architecture ............................................................................................................ 5

2.1 Protocol from Host to Device ............................................................................................... 5

2.1.1 Protocol Summary ................................................................................................................ 5

2.1.2 Byte Stream Assembly ......................................................................................................... 6

2.2 Protocol from Device to Host ............................................................................................... 7

2.2.1 Protocol Summary ................................................................................................................ 7

2.2.2 Byte Stream Assembly ......................................................................................................... 8

2.3 Predefined Protocol IDs ....................................................................................................... 9

3 Implementation for PC Host ............................................................................................... 11

3.1 The ams Communication Project ....................................................................................... 11

3.2 Communication Classes .................................................................................................... 11

3.3 Set up a Communication .................................................................................................... 13

4 Implementation for Microchip Device Firmware ................................................................. 15

4.1 USB and Stream Modules ................................................................................................. 15

4.2 Streaming Implementation ................................................................................................. 15

4.3 Implementation of Application Commands in firmware...................................................... 16

5 Example ............................................................................................................................. 18

5.1 Byte Stream ....................................................................................................................... 18

5.2 GUI Implementation ........................................................................................................... 19

5.3 Firmware Implementation .................................................................................................. 22

6 Additional Information ........................................................................................................ 23

6.1 Recording USB Stream Data ............................................................................................. 23

6.2 XML Stream Player ............................................................................................................ 24

6.3 Compatibility to old Format ................................................................................................ 24

ST25RU3993 USB Protocol Documentation for PC Applications www.silicontrol.com




矽控物联

矽控电子®分别获“科技型中小企业”、“江苏省民营科技企业”、“创新型中小企业”认定,核心团队拥有十余年的硬件正向研发,生产制程,测试手法,品质控制经验。尤其擅长嵌入式ARM平台的人工智能与工控物联网产品,以及瑞芯微(Rockchip)、海思、NXP、新唐等平台的机器视觉类AIoT模组开发,为您的产品从创意到落地、批量市场化助力。

公司可提供从硬件设计(原理开发及PCB Layout),Linux驱动开发,PCB制板,SMT及接插件焊接,产品测试,产品老化全流程外包服务,收费合理,品质可靠。

定制开发找矽控,品质可靠省费用

垂询电话:0510-83488567-1     业务邮箱:wxdianzi#foxmail.com (#更换为@)