www.ti.com
18.1 Description ................................................................................................................ 174
18.2 Calibration ................................................................................................................. 174
18.3 Clock Source ............................................................................................................. 174
18.4 Registers .................................................................................................................. 174
19 Analog Comparator .......................................................................................................... 175
19.1 Description ................................................................................................................ 176
19.2 Register ................................................................................................................... 176
20 I
2
C .................................................................................................................................. 177
20.1 Operation .................................................................................................................. 178
20.1.1 I
2
C Initialization and Reset .................................................................................... 179
20.1.2 I
2
C Serial Data .................................................................................................. 179
20.1.3 I
2
C Addressing Modes ......................................................................................... 180
20.1.4 I
2
C Module Operating Modes ................................................................................. 180
20.1.5 I
2
C Clock Generation and Synchronization ................................................................. 186
20.1.6 Bus Error ........................................................................................................ 187
20.1.7 I
2
C Interrupt ..................................................................................................... 187
20.1.8 I
2
C Pins .......................................................................................................... 187
20.2 I
2
C Registers .............................................................................................................. 188
21 USB Controller ................................................................................................................ 191
21.1 USB Introduction ......................................................................................................... 192
21.2 USB Enable ............................................................................................................... 192
21.3 48-MHz USB PLL ........................................................................................................ 192
21.4 USB Interrupts ............................................................................................................ 193
21.5 Endpoint 0 ................................................................................................................ 193
21.6 Endpoint-0 Interrupts .................................................................................................... 193
21.6.1 Error Conditions ................................................................................................ 194
21.6.2 SETUP Transactions (IDLE State) .......................................................................... 194
21.6.3 IN Transactions (TX State) ................................................................................... 194
21.6.4 OUT Transactions (RX State) ................................................................................ 195
21.7 Endpoints 1–5 ............................................................................................................ 195
21.7.1 FIFO Management ............................................................................................. 195
21.7.2 Double Buffering ............................................................................................... 196
21.7.3 FIFO Access .................................................................................................... 197
21.7.4 Endpoint 1–5 Interupts ........................................................................................ 197
21.7.5 Bulk/Interrupt IN Endpoint .................................................................................... 198
21.7.6 Isochronous IN Endpoint ...................................................................................... 198
21.7.7 Bulk/Interrupt OUT Endpoint ................................................................................. 198
21.7.8 Isochronous OUT Endpoint ................................................................................... 198
21.8 DMA ....................................................................................................................... 199
21.9 USB Reset ................................................................................................................ 199
21.10 Suspend and Resume .................................................................................................. 199
21.11 Remote Wake-Up ........................................................................................................ 199
21.12 USB Registers ........................................................................................................... 200
22 Timer 2 (MAC Timer) ........................................................................................................ 207
22.1 Timer Operation .......................................................................................................... 208
22.1.1 General .......................................................................................................... 208
22.1.2 Up Counter ...................................................................................................... 208
22.1.3 Timer Overflow ................................................................................................. 208
22.1.4 Timer Delta Increment ......................................................................................... 208
22.1.5 Timer Compare ................................................................................................. 208
22.1.6 Overflow Count ................................................................................................. 208
22.1.7 Overflow-Count Update ....................................................................................... 209
7
SWRU191C–April 2009–Revised January 2012 Contents
Submit Documentation Feedback
Copyright © 2009–2012, Texas Instruments Incorporated