![NXP Semiconductors LPC43Sxx Скачать руководство пользователя страница 1429](http://html1.mh-extra.com/html/nxp-semiconductors/lpc43sxx/lpc43sxx_user-manual_17218271429.webp)
UM10503
All information provided in this document is subject to legal disclaimers.
© NXP B.V. 2015. All rights reserved.
User manual
Rev. 2.1 — 10 December 2015
1429 of 1441
NXP Semiconductors
UM10503
Chapter 54: Supplementary information
25.6.14.2 Host mode . . . . . . . . . . . . . . . . . . . . . . . . . . 667
25.6.15
Port Status and Control register (PORTSC1) 667
25.6.15.1 Device mode. . . . . . . . . . . . . . . . . . . . . . . . . 667
25.6.15.2 Host mode . . . . . . . . . . . . . . . . . . . . . . . . . . 670
25.6.16
OTG Status and Control register (OTGSC) . 674
USB Mode register (USBMODE) . . . . . . . . . 677
25.6.17.1 Device mode. . . . . . . . . . . . . . . . . . . . . . . . . 677
25.6.17.2 Host mode . . . . . . . . . . . . . . . . . . . . . . . . . . 678
25.6.18
USB Endpoint Setup Status register
(ENDPSETUPSTAT). . . . . . . . . . . . . . . . . . . 679
USB Endpoint Prime register
(ENDPTPRIME) . . . . . . . . . . . . . . . . . . . . . . 679
USB Endpoint Flush register
(ENDPTFLUSH) . . . . . . . . . . . . . . . . . . . . . . 680
USB Endpoint Status register (ENDPTSTAT) 681
USB Endpoint Complete register
(ENDPTCOMPLETE) . . . . . . . . . . . . . . . . . . 681
USB Endpoint 0 Control register
(ENDPTCTRL0) . . . . . . . . . . . . . . . . . . . . . . 682
Endpoint 1 to 5 control registers . . . . . . . . . 683
Functional description . . . . . . . . . . . . . . . . . 685
OTG core . . . . . . . . . . . . . . . . . . . . . . . . . . . 685
Host data structures . . . . . . . . . . . . . . . . . . . 685
Host operational model. . . . . . . . . . . . . . . . . 685
ATX_RGEN module . . . . . . . . . . . . . . . . . . . 685
ATX transceiver . . . . . . . . . . . . . . . . . . . . . . 686
Modes of operation . . . . . . . . . . . . . . . . . . . . 686
SOF/VF indicator . . . . . . . . . . . . . . . . . . . . . 686
25.7.7.1 SOF frame length adjust. . . . . . . . . . . . . . . . 686
25.7.8
Hardware assist . . . . . . . . . . . . . . . . . . . . . . 687
A-peripheral state) . . . . . . . . . . . . . . . . . . . . 687
Deviations from EHCI standard . . . . . . . . . . 688
Embedded Transaction Translator function . 688
25.8.1.1 Capability registers . . . . . . . . . . . . . . . . . . . . 689
25.8.1.2 Operational registers . . . . . . . . . . . . . . . . . . 689
25.8.1.3 Discovery . . . . . . . . . . . . . . . . . . . . . . . . . . . 689
25.8.1.4 Data structures . . . . . . . . . . . . . . . . . . . . . . . 690
25.8.1.5 Operational model . . . . . . . . . . . . . . . . . . . . 690
25.8.1.5.1 Micro-frame pipeline . . . . . . . . . . . . . . . . . . . 690
25.8.1.6 Split state machines . . . . . . . . . . . . . . . . . . . 691
25.8.1.7 Asynchronous Transaction scheduling and buffer
management. . . . . . . . . . . . . . . . . . . . . . . . . 691
25.8.1.8 Periodic Transaction scheduling and buffer
management. . . . . . . . . . . . . . . . . . . . . . . . . 691
25.8.1.9 Multiple Transaction Translators. . . . . . . . . . 692
25.8.2
Device operation. . . . . . . . . . . . . . . . . . . . . . 692
Deviations from EHCI . . . . . . . . . . . . . . . . . . 692
25.8.3.1 Discovery . . . . . . . . . . . . . . . . . . . . . . . . . . . 692
25.8.3.1.1 Port reset . . . . . . . . . . . . . . . . . . . . . . . . . . . 692
25.8.3.1.2 Port speed detection . . . . . . . . . . . . . . . . . . 693
Device data structures . . . . . . . . . . . . . . . . . 693
Endpoint queue head (dQH). . . . . . . . . . . . . 694
25.9.1.1 Endpoint capabilities and characteristics
descriptor fields . . . . . . . . . . . . . . . . . . . . . . 695
25.9.1.2 Current dTD pointer descriptor fields . . . . . . 696
25.9.1.3 Transfer overlay descriptor fields . . . . . . . . . 696
25.9.1.4 Set-up buffer descriptor fields . . . . . . . . . . . 697
25.9.2
Endpoint transfer descriptor (dTD). . . . . . . . 697
25.9.2.1 Determining the number of packets for
Isochronous IN endpoints . . . . . . . . . . . . . . 699
Example 1 . . . . . . . . . . . . . . . . . . . . . . . . . . . 699
Example 2 . . . . . . . . . . . . . . . . . . . . . . . . . . . 700
Device operational model. . . . . . . . . . . . . . . 700
initialization. . . . . . . . . . . . 700
Port state and control . . . . . . . . . . . . . . . . . . 701
Bus reset . . . . . . . . . . . . . . . . . . . . . . . . . . . 702
Suspend/resume . . . . . . . . . . . . . . . . . . . . . 703
25.10.4.1 Suspend. . . . . . . . . . . . . . . . . . . . . . . . . . . . 703
25.10.4.1.1 Operational model . . . . . . . . . . . . . . . . . . . 703
25.10.4.2 Resume . . . . . . . . . . . . . . . . . . . . . . . . . . . . 703
25.10.5
Managing endpoints. . . . . . . . . . . . . . . . . . . 704
25.10.5.1 Endpoint initialization . . . . . . . . . . . . . . . . . . 704
25.10.5.2 Stalling . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 705
25.10.5.3 Data toggle. . . . . . . . . . . . . . . . . . . . . . . . . . 705
25.10.5.3.1 Data toggle reset . . . . . . . . . . . . . . . . . . . . 706
25.10.5.3.2 Data toggle inhibit . . . . . . . . . . . . . . . . . . . 706
25.10.6
Operational model for packet transfers . . . . 706
25.10.6.1 Priming transmit endpoints. . . . . . . . . . . . . . 706
25.10.6.2 Priming receive endpoints . . . . . . . . . . . . . . 707
25.10.7 Interrupt/bulk
endpoint operational model . . 707
25.10.7.1 Interrupt/bulk endpoint bus response matrix 708
25.10.8
Control endpoint operational model . . . . . . . 709
mechanism. . . . . . . . . . . . . . . . . . . . . . . . . . 709
25.10.8.1.2 Setup packet handling using the trip wire
mechanism. . . . . . . . . . . . . . . . . . . . . . . . . . 709
25.10.8.2 Data phase. . . . . . . . . . . . . . . . . . . . . . . . . . 710
25.10.8.3 Status phase . . . . . . . . . . . . . . . . . . . . . . . . . 711
25.10.8.4 Control endpoint bus response matrix . . . . . . 711
25.10.9 Isochronous
25.10.9.1 Isochronous pipe synchronization . . . . . . . . 713
25.10.9.2 Isochronous endpoint bus response matrix . 713
25.10.10 Managing queue heads . . . . . . . . . . . . . . . . 714
25.10.10.1 Queue head initialization . . . . . . . . . . . . . . 714
25.10.10.2 Operational model for setup transfers . . . . 715
25.10.11 Managing transfers with transfer descriptors 715
25.10.11.1 Software link pointers . . . . . . . . . . . . . . . . . 715
25.10.11.2 Building a transfer descriptor . . . . . . . . . . . 716
25.10.11.3 Executing a transfer descriptor . . . . . . . . . . 716
Linked list is empty. . . . . . . . . . . . . . . . . . . . . 716
Linked list is not empty. . . . . . . . . . . . . . . . . . 717
25.10.11.4 Transfer completion . . . . . . . . . . . . . . . . . . 717
25.10.11.5 Flushing an endpoint. . . . . . . . . . . . . . . . . . 718
25.10.11.6 Device error matrix . . . . . . . . . . . . . . . . . . . 718
25.10.12 Servicing interrupts . . . . . . . . . . . . . . . . . . . 719
25.10.12.1 High-frequency interrupts . . . . . . . . . . . . . . 719
25.10.12.2 Low-frequency interrupts . . . . . . . . . . . . . . 719