User's Manual

Table Of Contents
32.3.3.15 EOFERR Interrupt ...........................................................................................................940
32.3.3.16 Portable Device Detection Interrupt ................................................................................940
32.3.4 Pipe Control ..............................................................................................................................941
32.3.4.1 Pipe Control Register Switching Procedures ..................................................................942
32.3.4.2 Transfer Types .................................................................................................................942
32.3.4.3 Endpoint Number ............................................................................................................942
32.3.4.4 Maximum Packet Size Setting .........................................................................................943
32.3.4.5 Transaction Counter (For Pipes 1 to 5 in Reading Direction) .........................................943
32.3.4.6 Response PID ..................................................................................................................944
32.3.4.7 Data PID Sequence Bit ....................................................................................................945
32.3.4.8 Response PID = NAK Function ......................................................................................945
32.3.4.9 Auto Response Mode ......................................................................................................945
32.3.4.10 OUT-NAK Mode .............................................................................................................945
32.3.4.11 Null Auto Response Mode ..............................................................................................946
32.3.5 FIFO Buffer Memory ...............................................................................................................946
32.3.5.1 FIFO Buffer Memory ......................................................................................................946
32.3.5.2 FIFO Buffer Clearing ......................................................................................................947
32.3.5.3 FIFO Port Functions ........................................................................................................948
32.3.5.4 DMA Transfers (D0FIFO and D1FIFO Ports) ................................................................949
32.3.6 Control Transfers Using DCP ...................................................................................................950
32.3.6.1 Control Transfers When the Host Controller is Selected ................................................950
32.3.6.2 Control Transfers When the Function Controller is Selected .........................................951
32.3.7 Bulk Transfers (Pipes 1 to 5) ....................................................................................................952
32.3.8 Interrupt Transfers (Pipes 6 to 9) ..............................................................................................952
32.3.8.1 Interval Counter during Interrupt Transfers When the Host Controller is Selected ........952
32.3.9 Isochronous Transfers (Pipes 1 and 2) .....................................................................................953
32.3.9.1 Error Detection in Isochronous Transfers .......................................................................953
32.3.9.2 Data PID ..........................................................................................................................954
32.3.9.3 Interval Counter ...............................................................................................................954
32.3.10 SOF Interpolation Function ......................................................................................................961
32.3.11 Pipe Schedule ...........................................................................................................................962
32.3.11.1 Conditions for Generating a Transaction ........................................................................962
32.3.11.2 Transfer Schedule ............................................................................................................ 962
32.3.11.3 Enabling USB Communication .......................................................................................962
32.4 Usage Notes .......................................................................................................................................963
32.4.1 Setting the Module-Stop Function ............................................................................................963
32.5 Battery Charging Detection Processing .............................................................................................964
32.5.1 Processing When Function Controller is Selected ...................................................................964
32.5.2 Processing When Host Controller is Selected ..........................................................................966
33. Serial Communications Interface (SCIg, SCIh) ............................................................................ 969
33.1 Overview .....................................................................................................................
......................969