資料介紹
TABLE OF CONTENTS
Table 1. Current Types of USB? . . . 1
Table 2. μPSD USB Family (February 2004). 1
IAP USB Demonstration Program? . . . 5
Table 3. USB Demonstration Program Revision History? 5
Hardware Design?? . . . 6
Figure 1. USB Input/Output Design inside the μPSD32xxA? 6
Figure 2. Typical USB Connection Circuit for 5V (μPSD32xx) Systems. . . . 6
Possible Frequencies for μPSD with Low-speed USB 7
Table 4. μPSD32xx USB SFR Register Map. 7
Software Design 8
Table 5. List of Header Files? . . . . . 8
Table 6. List of C Source Files . . . . 8
USB Communication Flow?? 8
Figure 3. USB Host/Device Detailed Communication Flow View? 9
Endpoints Supported by μPSD32xx? 9
Table 7. Supported Endpoints? . . . 10
Data Structures and Data-flow? . . 10
Table 8. USB Demonstration Program Data Structures? . 10
USB Bus Level Interface?? . 10
Bus Enumeration?? . 11
Endpoint0? . 12
Endpoint1 (LCD display mirror)? . 12
Table 9. Endpoint Packet Byte Function Assignment? . 12
USB Setup Packet Handling – Standard Device Requests? . 12
USB Requests in the USB Demonstration Program . . . . 13
Table 10. Descriptor Type (the high byte of wValue in the Get_Descriptor request)? 13
Table 11. Valid Types of Class Descriptor. . . 13
Get_Descriptor Request?? . 13
Table 12. Components of a Get_Descriptor Request? . . 14
Get_Report Request?? . . . . 14
Table 13. Components of a Get_Report Request? . . . . . 14
SET_Report Request?? . . . . 14
Table 14. Components of a SET_Report Request? . . . . 15
USB Descriptors??? . 15
Figure 4. USB and HID Descriptor Structure 15
GET_Descriptor Request Servicing Routine?? 16
Descriptors 16
Example of USB Descriptors for HID Class Devices? 17
Table 15. Device Descriptor? . . . . . 18
Table 16. Configuration Descriptor? 19
Table 17. Interface Descriptor? . . . . 19
Table 18. HID Descriptor?? . . 20
Table 19. Endpoint Descriptor? . . . . 20
Table 20. Report Descriptor? 21
High Level Interface?? . . . . 22
HID Level Interface?? . . . . . 22
SUSPEND Mode and RESUME Mode Handling Mechanism? 23
USB Disconnect on Demand Feature . . . . 24
Important Rules when Starting to Design USB Applications with μPSD32xxA . 25
Differences between USB 1.1 Hosts and Some USB 2.0 High-speed Hosts? 25
Figure 5. Traffic on USB (μPSD32xxA connected to USB1.1 Host, or to an Intel 82801DBx Type USB
2.0 Host) 25
Figure 6. Traffic on USB (μPSD32xxA connected to an NEC 720100A Type USB 2.0 Host) . . . . 26
USB Interrupt must have the Highest Priority Interrupt Level? . 26
Table 21. Description of the IP Bits? 27
Table 22. Description of the IPA Bits? . 27
Length of USB Interrupt Service Routine . 28
Table 23. Oscillator Frequencies Suitable for Applications with USB . . . . . 28
Figure 7. USB Demonstration Program USB Drivers Immunity versus Length of USB ISR (with respect
to Oscillator Frequency)28
Difference between Relative and Absolute Register Usage? 28
Table 24. Suggested Assignment of Register Banks? . . 30
USB may Generate Spurious Interrupts when the Device is Plugged in? . . . 30
μPSD USB IP sometimes Triggers an Interrupt but no Bit of UISTA is Set? . 30
μPSD USB IP Generates Interrupts with an Undocumented Flag. . . . . 30
USB State Machine does not Clear the STALL0 Bit when a SETUP Packet is Received . . . . 30
The Number of Data Bytes Received in a Data Packet can be Greater than Eight? . . . 31
C Source and Assembler Output can have Different Functionality . . . 31
Question: So How Must I Write My Drivers?? . 32
Question: Must I Enable and Service End-of-Packet Interrupt Requests?? . 32
Question: Is the Length of USB ISR Limited?? . . . . . 32
Limits Set by the Specification:? . . . 32
Table 25. Examples of Limits set by USB Standards? . . 32
Known limits:?? . . . 33
Conclusion:? 33
Question: My Device with μPSD is not Properly Detected by Windows? . . . 33
Figure 8. USB ISR Response Time? . 33
Figure 9. USB ISR Response Time - Detail . 34
Problems with Windows98 and Multiple-function USB Devices 34
Symptoms? . 34
Cause? . . . . 34
Conclusion . 34
Status? . . . . 34
More Information?? 35
Conclusion? . . . 36
References? . . . 36
APPENDIX A.USBISR??? 37
APPENDIX B.OnTransmitEP1?? 39
APPENDIX C.OnSetupPacket?? 40
APPENDIX D.OnGetDescriptor? . . . . . 41
APPENDIX E.ReportDesc?? . . . 42
APPENDIX F.DeviceDesc?? . . . 43
APPENDIX G.Language, Manufacture and Product Strings? . . . 45
APPENDIX H.High Level Interface? . . 47
APPENDIX I. OnReportReceived? . . . 48
APPENDIX J.OnUSBSuspend? 49
APPENDIX K.ReConnectUSB?? 50
APPENDIX L.Glossary??? 51
Table 26. Terms and Abbreviations 51
Revision History? . . . 53
Table 1. Current Types of USB? . . . 1
Table 2. μPSD USB Family (February 2004). 1
IAP USB Demonstration Program? . . . 5
Table 3. USB Demonstration Program Revision History? 5
Hardware Design?? . . . 6
Figure 1. USB Input/Output Design inside the μPSD32xxA? 6
Figure 2. Typical USB Connection Circuit for 5V (μPSD32xx) Systems. . . . 6
Possible Frequencies for μPSD with Low-speed USB 7
Table 4. μPSD32xx USB SFR Register Map. 7
Software Design 8
Table 5. List of Header Files? . . . . . 8
Table 6. List of C Source Files . . . . 8
USB Communication Flow?? 8
Figure 3. USB Host/Device Detailed Communication Flow View? 9
Endpoints Supported by μPSD32xx? 9
Table 7. Supported Endpoints? . . . 10
Data Structures and Data-flow? . . 10
Table 8. USB Demonstration Program Data Structures? . 10
USB Bus Level Interface?? . 10
Bus Enumeration?? . 11
Endpoint0? . 12
Endpoint1 (LCD display mirror)? . 12
Table 9. Endpoint Packet Byte Function Assignment? . 12
USB Setup Packet Handling – Standard Device Requests? . 12
USB Requests in the USB Demonstration Program . . . . 13
Table 10. Descriptor Type (the high byte of wValue in the Get_Descriptor request)? 13
Table 11. Valid Types of Class Descriptor. . . 13
Get_Descriptor Request?? . 13
Table 12. Components of a Get_Descriptor Request? . . 14
Get_Report Request?? . . . . 14
Table 13. Components of a Get_Report Request? . . . . . 14
SET_Report Request?? . . . . 14
Table 14. Components of a SET_Report Request? . . . . 15
USB Descriptors??? . 15
Figure 4. USB and HID Descriptor Structure 15
GET_Descriptor Request Servicing Routine?? 16
Descriptors 16
Example of USB Descriptors for HID Class Devices? 17
Table 15. Device Descriptor? . . . . . 18
Table 16. Configuration Descriptor? 19
Table 17. Interface Descriptor? . . . . 19
Table 18. HID Descriptor?? . . 20
Table 19. Endpoint Descriptor? . . . . 20
Table 20. Report Descriptor? 21
High Level Interface?? . . . . 22
HID Level Interface?? . . . . . 22
SUSPEND Mode and RESUME Mode Handling Mechanism? 23
USB Disconnect on Demand Feature . . . . 24
Important Rules when Starting to Design USB Applications with μPSD32xxA . 25
Differences between USB 1.1 Hosts and Some USB 2.0 High-speed Hosts? 25
Figure 5. Traffic on USB (μPSD32xxA connected to USB1.1 Host, or to an Intel 82801DBx Type USB
2.0 Host) 25
Figure 6. Traffic on USB (μPSD32xxA connected to an NEC 720100A Type USB 2.0 Host) . . . . 26
USB Interrupt must have the Highest Priority Interrupt Level? . 26
Table 21. Description of the IP Bits? 27
Table 22. Description of the IPA Bits? . 27
Length of USB Interrupt Service Routine . 28
Table 23. Oscillator Frequencies Suitable for Applications with USB . . . . . 28
Figure 7. USB Demonstration Program USB Drivers Immunity versus Length of USB ISR (with respect
to Oscillator Frequency)28
Difference between Relative and Absolute Register Usage? 28
Table 24. Suggested Assignment of Register Banks? . . 30
USB may Generate Spurious Interrupts when the Device is Plugged in? . . . 30
μPSD USB IP sometimes Triggers an Interrupt but no Bit of UISTA is Set? . 30
μPSD USB IP Generates Interrupts with an Undocumented Flag. . . . . 30
USB State Machine does not Clear the STALL0 Bit when a SETUP Packet is Received . . . . 30
The Number of Data Bytes Received in a Data Packet can be Greater than Eight? . . . 31
C Source and Assembler Output can have Different Functionality . . . 31
Question: So How Must I Write My Drivers?? . 32
Question: Must I Enable and Service End-of-Packet Interrupt Requests?? . 32
Question: Is the Length of USB ISR Limited?? . . . . . 32
Limits Set by the Specification:? . . . 32
Table 25. Examples of Limits set by USB Standards? . . 32
Known limits:?? . . . 33
Conclusion:? 33
Question: My Device with μPSD is not Properly Detected by Windows? . . . 33
Figure 8. USB ISR Response Time? . 33
Figure 9. USB ISR Response Time - Detail . 34
Problems with Windows98 and Multiple-function USB Devices 34
Symptoms? . 34
Cause? . . . . 34
Conclusion . 34
Status? . . . . 34
More Information?? 35
Conclusion? . . . 36
References? . . . 36
APPENDIX A.USBISR??? 37
APPENDIX B.OnTransmitEP1?? 39
APPENDIX C.OnSetupPacket?? 40
APPENDIX D.OnGetDescriptor? . . . . . 41
APPENDIX E.ReportDesc?? . . . 42
APPENDIX F.DeviceDesc?? . . . 43
APPENDIX G.Language, Manufacture and Product Strings? . . . 45
APPENDIX H.High Level Interface? . . 47
APPENDIX I. OnReportReceived? . . . 48
APPENDIX J.OnUSBSuspend? 49
APPENDIX K.ReConnectUSB?? 50
APPENDIX L.Glossary??? 51
Table 26. Terms and Abbreviations 51
Revision History? . . . 53
下載該資料的人也在下載
下載該資料的人還在閱讀
更多 >
- AN2401_uPSD3400USB固件的應用程序
- 計量用低速風洞結(jié)構(gòu)參數(shù)仿真實驗分析 12次下載
- ADuM3160:全速/低速2.5 kV USB數(shù)字隔離器數(shù)據(jù)手冊
- ADuM4160:全速/低速USB數(shù)字隔離器 數(shù)據(jù)手冊
- USB5807低功耗、OEM可配置的USB 3.1 Gen集線器控制器的資料概述
- 基于PIC24FJ256GB210帶有 USB OTG 的 16 位 64/100 引腳閃存單片機
- 基于PIC24FJ64GB004帶有USB On-The-Go(OTG)功能的單片機
- ADuM4160全速/低速USB數(shù)字隔離器
- 基于uPSD3200 的人機對話設計
- uPSD3200系列使用指南
- 一經(jīng)請求即與uPSD32xx聯(lián)接的USB器件
- 使用uPSD33xx和uPSD32xx實現(xiàn)音頻發(fā)生器的功能
- 用PC/104進行設計
- USB Device Disconnect-On-Deman
- 一經(jīng)請求即與uPSD32xx聯(lián)接的USB器件
- ADUM4160全速/低速USB數(shù)字隔離器技術(shù)手冊 1.1k次閱讀
- ADUM3160全速/低速USB數(shù)字隔離器技術(shù)手冊 1.4k次閱讀
- 簡單歸納USB設備開發(fā)必備的基礎(chǔ)知識 2.8k次閱讀
- USB3.0鏈路如何實現(xiàn)最優(yōu)系統(tǒng)級靜電防護性能 1.9k次閱讀
- 基于FTDI芯片進行USB到UART的轉(zhuǎn)換設計方案實現(xiàn) 7.2k次閱讀
- USB23年發(fā)展史,多了什么變化? 8.4w次閱讀
- 基于uPSD32XX系列單片機實現(xiàn)稅控器系統(tǒng)的軟硬件設計 1k次閱讀
- 淺談USB總線的Host主機接口芯片——CH370 1.2w次閱讀
- 4端口的USB3.0的HUB用的最多的是GL3520方案 3.6w次閱讀
- 如何用USB接口連接pstool以及用BTCLI工具進行pskey的讀寫操作 7.9k次閱讀
- USB低速與全速的總線狀態(tài)詳解 7.3k次閱讀
- 用usb自制簡易電烙鐵詳細步驟介紹 6.8w次閱讀
- 對低壓短途電動汽車用異步電動機低速重載運行的轉(zhuǎn)矩特性進行了研究 9k次閱讀
- USB接口是如何進行通信的? 1.4w次閱讀
- 基于uPSD3234的反射式紅外心率檢測儀的設計方案 4k次閱讀
下載排行
本周
- 1MDD品牌三極管MMBT3906數(shù)據(jù)手冊
- 2.33 MB | 次下載 | 免費
- 2MDD品牌三極管S9012數(shù)據(jù)手冊
- 2.62 MB | 次下載 | 免費
- 3聯(lián)想flex2-14D/15D說明書
- 4.92 MB | 次下載 | 免費
- 4收音環(huán)繞擴音機 AVR-1507手冊
- 2.50 MB | 次下載 | 免費
- 524Pin Type-C連接器設計報告
- 1.06 MB | 次下載 | 免費
- 6新一代網(wǎng)絡可視化(NPB 2.0)
- 3.40 MB | 次下載 | 免費
- 7MS1000TA 超聲波測量模擬前端芯片技術(shù)手冊
- 0.60 MB | 次下載 | 免費
- 8MS1022高精度時間測量(TDC)電路數(shù)據(jù)手冊
- 1.81 MB | 次下載 | 免費
本月
- 1愛華AIWA HS-J202維修手冊
- 3.34 MB | 37次下載 | 免費
- 2PC5502負載均流控制電路數(shù)據(jù)手冊
- 1.63 MB | 23次下載 | 免費
- 3NB-IoT芯片廠商的資料說明
- 0.31 MB | 22次下載 | 1 積分
- 4H110主板CPU PWM芯片ISL95858HRZ-T核心供電電路圖資料
- 0.63 MB | 6次下載 | 1 積分
- 5UWB653Pro USB口測距通信定位模塊規(guī)格書
- 838.47 KB | 5次下載 | 免費
- 6技嘉H110主板IT8628E_BX IO電路圖資料
- 2.61 MB | 4次下載 | 1 積分
- 7蘇泊爾DCL6907(即CHK-S007)單芯片電磁爐原理圖資料
- 0.04 MB | 4次下載 | 1 積分
- 8100W準諧振反激式恒流電源電路圖資料
- 0.09 MB | 2次下載 | 1 積分
總榜
- 1matlab軟件下載入口
- 未知 | 935137次下載 | 10 積分
- 2開源硬件-PMP21529.1-4 開關(guān)降壓/升壓雙向直流/直流轉(zhuǎn)換器 PCB layout 設計
- 1.48MB | 420064次下載 | 10 積分
- 3Altium DXP2002下載入口
- 未知 | 233089次下載 | 10 積分
- 4電路仿真軟件multisim 10.0免費下載
- 340992 | 191439次下載 | 10 積分
- 5十天學會AVR單片機與C語言視頻教程 下載
- 158M | 183353次下載 | 10 積分
- 6labview8.5下載
- 未知 | 81602次下載 | 10 積分
- 7Keil工具MDK-Arm免費下載
- 0.02 MB | 73822次下載 | 10 積分
- 8LabVIEW 8.6下載
- 未知 | 65991次下載 | 10 積分
電子發(fā)燒友App





創(chuàng)作
發(fā)文章
發(fā)帖
提問
發(fā)資料
發(fā)視頻
上傳資料賺積分
評論