Many
Manuals
search
Kategorien
Marken
Startseite
Cypress Semiconductor
Vernetzung
FX2LP
Technical Information
Cypress Semiconductor FX2LP Technical Information Seite 172
Herunterladen
Teilen
Teilen
Zu meinen Handbüchern hinzufügen
Drucken
Seite
/
460
Inhaltsverzeichnis
LESEZEICHEN
Bewertet
.
/ 5. Basierend auf
Kundenbewertungen
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
EZ-USB FX2
Techni
cal Re
ference
Manual
Page 9-16
EZ-USB FX2 Tech
nical Reference Ma
nual
v2.1
Figure
9-21. Timing Exam
ple: Asynchr
onous FIF
O Writes
IF
C
L
K
FADDR0
FADDR1
FLAGB
-
FU
LL
FL
AGC
-
EMPTY
SLW
R
FD
[
15:0]
PKTEND
Z
N
N+1
1
2
...
167
168
169
170
171
172
173
174
175
176
177
...
459
460
EZ-USB FX2
1
Technical Reference
1
Cypress Disclaimer Agreement
2
List of Trademarks
2
Table of Contents
3
Chapter 4. Interrupts
4
Chapter 5. Memory
5
Chapter 6. Power Management
5
Chapter 7. Resets
5
Chapter 9. Slave FIFOs
6
Chapter 11. CPU Introduction
8
Chapter 12. Instruction Set
9
Chapter 13. Input/Output
9
(Table of Contents)
10
Chapter 15. Registers
10
Appendix A
12
Appendix B
12
Appendix C
12
List of Figures
13
(List of Figures)
14
List of Tables
21
(List of Tables)
22
1.1 Introduction
27
1.2 An Introduction to USB
27
1.3 The USB Specification
28
1.4 Host Is Master
29
1.5 USB Direction
29
1.6 Tokens and PIDs
29
1.7 USB Frames
31
1.8 USB Transfer Types
32
1.8.3 Isochronous Transfers
33
1.8.4 Control Transfers
33
1.9 Enumeration
34
Interface
35
1.11 ReNumeration™
36
1.13 FX2 Feature Summary
39
1.15 FX2 Block Diagram
41
1.16 Packages
42
1.16.2 100-Pin Package
43
1.16.3 128-Pin Package
43
GPIF Master
45
Slave FIFO
45
CY7C68013
46
128-pin TQFP
46
100-pin TQFP
47
56-pin SSOP
48
1.18 FX2 Endpoint Buffers
49
Characteristic Choices
50
Direction IN, OUT
50
1.19 External FIFO Interface
51
FD[15:0]
53
Chapter 2 Endpoint Zero
55
2.2 Control Endpoint EP0
56
SETUP Stage
57
SETUPDAT
57
Initialization
58
Data transfer
58
Interrupt Control
58
DAT. The Field column
59
2.3.2 Set Feature
64
2.3.3 Clear Feature
65
2.3.4 Get Descriptor
66
DATA Stage
67
STATUS Stage
67
2.3.5 Set Descriptor
71
2.3.5.1 Set Configuration
74
2.3.6 Get Configuration
74
2.3.7 Set Interface
75
2.3.8 Get Interface
76
2.3.9 Set Address
76
2.3.10 Sync Frame
77
2.3.11 Firmware Load
78
3.1 Introduction
79
3.2 FX2 Startup Modes
79
3.3 The Default USB Device
81
USB Disconnect
86
I²C-compatible bus speed
86
3.6 The RENUM Bit
87
3.10 Multiple ReNumerations™
90
Chapter 4 Interrupts
91
4.2 SFRs
92
4.3 Interrupt Processing
96
4.3.1.1 Interrupt Priorities
97
4.4 USB-Specific Interrupts
98
4.4.2 USB Interrupts
99
USB Interrupt
100
Interrupt
102
4.4.2.5 HISPEED Interrupt
103
4.4.2.6 EP0ACK Interrupt
103
4.4.2.2 SOF Interrupt
103
4.4.2.3 Suspend Interrupt
103
4.4.2.4 USB RESET Interrupt
103
4.4.2.7 Endpoint Interrupts
104
4.4.2.9 EPxPING Interrupt
104
4.4.2.10 ERRLIMIT Interrupt
105
4.4.2.11 EPxISOERR Interrupt
105
Instruction
106
D7 D6 D5 D4 D3 D2 D1 D0
108
Address Op-Code Hex Value
110
0x0053 LJMP 0x02
110
0x0054 AddrH 0xHH
110
0x0055 AddrL 0xLL
110
Chapter 5 Memory
113
5.2.1 The Lower 128
114
5.2.2 The Upper 128
114
Standard 8051
115
5.3.1 56- and 100-pin FX2
116
5.3.2 128-pin FX2
116
5.4 FX2 Memory Maps
117
Inside FX2 Outside FX2
119
Chapter 5. Memory Page 5-9
121
Chapter 6 Power Management
123
USB RESUME
124
WAKEUP pin
124
6.2 USB Suspend
125
6.3 Wakeup/Resume
126
6.3.1 Wakeup Interrupt
127
6.4.1 WU2 Pin
128
Chapter 7 Resets
131
7.2 Power-On Reset (POR)
132
7.3 Releasing the CPU Reset
133
7.4 CPU Reset Effects
134
7.5 USB Bus Reset
134
7.6 FX2 Disconnect
135
7.7 Reset Summary
135
8.1 Introduction
137
8.6.1.1 EP0CS
141
8.6.1.2 EP0BCH and EP0BCL
143
8.6.1.3 USBIE, USBIRQ
143
8.6.1.4 EP01STAT
144
8.6.1.5 EP1OUTCS
144
8.6.1.6 EP1OUTBC
145
8.6.1.7 EP1INCS
145
8.6.1.8 EP1INBC
145
8.6.2.1 EP2468STAT
146
0 0 Invalid
147
8.6.3.2 EPIE, EPIRQ
151
8.6.3.4 TOGCTL
152
8.7 The Setup Data Pointer
153
0xE6B3 SUDPTRH High address
154
0xE6B4 SUDPTRL Low address
154
0xE6B5 SUDPTRCTL SDPAUTO bit
154
8.8 Autopointers
155
Chapter 9 Slave FIFOs
157
9.2 Hardware
158
Read — SLOE and SLRD:
164
Write — SLWR:
164
FIFOADR[1:0]:
164
PKTEND:
165
9.3 Firmware
175
9.3.2 EPx Memories
176
AUTOOUT=1
178
10.1 Introduction
191
10.2 Hardware
195
10.2.4 Six Ready IN signals
197
10.3.1 The GPIF Registers
202
10.3.2.1 The GPIF IDLE State
202
10.3.2.2 Defining States
204
10.3.4 State Instructions
211
10.4 Firmware
216
10.4.3.1 Transaction Counter
231
10.4.4 GPIF Flag Selection
232
10.4.5 GPIF Flag Stop
232
10.5 UDMA Interface
253
Chapter 11 CPU Introduction
255
11.2 8051 Enhancements
256
11.3 Performance Overview
257
11.4 Software Compatibility
258
11.6 FX2/DS80C320 Differences
259
11.6.6 Port I/O
260
11.6.7 Interrupts
260
11.6.4 Watchdog Timer
260
11.6.5 Power Fail Detection
260
11.8 EZ-USB FX2 Internal RAM
261
11.9 I/O Ports
262
11.10Interrupts
263
11.11 Power Control
263
11.14Reset
265
Chapter 12 Instruction Set
267
12.1.1 Instruction Timing
271
12.1.3 Dual Data Pointers
273
Table 12-2
274
Chapter 13 Input/Output
275
IOE Port E SFR 0xB1
278
PORTCCFG
283
(0xE671)
283
Bits")
286
13.4.2 Registers
287
0 0 0 0 0 0 STOPE 400KHZ
288
13.4.2.2 Status Bits
289
ID1, ID0
290
13.4.3 Sending Data
290
13.4.4 Receiving Data
290
13.5 EEPROM Boot Loader
291
0 0 No EEPROM detected
292
1 1 Not used
292
14.1 Introduction
293
14.2 Timers/Counters
293
14.2.2 Timers 0 and 1
294
14.2.3 Timer Rate Control
299
14.2.4 Timer 2
300
14.3 Serial Interface
304
14.3.3 Mode 0
307
D0 D1 D2 D3 D4 D5 D6 D7
310
D1 D2 D3 D4 D5 D6 D7
310
14.3.4 Mode 1
312
14.3.4.1 Mode 1 Baud Rate
312
14.3.4.2 Mode 1 Transmit
314
14.3.5 Mode 1 Receive
314
14.3.6 Mode 2
316
14.3.6.1 Mode 2 Transmit
316
14.3.6.2 Mode 2 Receive
317
14.3.7 Mode 3
318
Chapter 15 Registers
321
15.1.2 Other Conventions
322
15.3 About SFRS
324
R R R R R R R R
327
0 1 0 1 1 0 1 0
327
SFR 0xBF
332
and WR strobes
333
Bit 1 CLKOE Drive CLKOUT Pin
334
0 30 MHz
335
1 48 MHz(default)
335
Bit 3-0 EP3:0 Endpoint
340
Bit 3 Break Enable Breakpoint
340
Bit 1 BPEN Breakpoint Enable
341
Bit 5 PKTEND
342
Bit 3 SLRD FIFO Read Polarity
343
Bit 1 EF Empty Flag Polarity
343
Bit 0 FF Full Flag Polarity
343
15.5.9 Chip Revision Control
344
Chip Revision Control E60B
344
15.5.10 GPIF Hold Time
345
GPIFHOLDTIME E60C
345
15.6 Endpoint Configuration
346
VALID DIR TYPE1 TYPE0 0 0 0 0
347
Bit 6 INFM1 IN Full Minus One
349
Bit 5 OEP1 OUT Empty Plus One
349
0 0 0 0 0 0 0 0
352
Bit 1-0 PFC9:8 PF Threshold
355
Bit 7 DECIS PF Polarity
357
Bit 6 PKSTAT Packet Status
357
Bit 0 PFC8 PF Threshold
357
Bit 7-0 PFC7:0 PF Threshold
358
15.6.5.1 IN Endpoints
359
15.6.5.2 OUT Endpoints
360
Bit 7 SKIP Skip Packet
362
Bit 3-0 EP3:0 Endpoint Number
362
Bit 2 PF Programmable Flag
363
Bit 1 EF Empty Flag
364
Bit 0 FF Full Flag
364
EP8 EP6 EP4 EP2 EP1 EP0 0 IBN
366
0 0 0 0 0 0 GPIFWF GPIFDONE
370
Bit 0 ERRLIMIT Error Limit
371
Bit 7-4 EC3:0 USB Error Count
372
1 0 I4V3 I4V2 I4V1 I4V0 0 0
373
Bit 1 INT4SRC INT 4 Source
374
Bit 6 SLCS SLCS
375
Alternate Configuration
375
Bit 6 T2EX Timer 2 Counter
376
I2CS I²C-Compatible Bus
377
Control and Status
377
Bit 5 LASTRD Last Data Read
378
Bit 4-3 ID1:0 Boot EEPROM ID
378
Bit 2 BERR Bus Error
378
Bit 1 ACK Acknowledge Bit
378
Bit 0 DONE Transfer DONE
378
Bit 7-0 Data Data Bits
379
Bit 7-0 Data AUTODATAx
380
15.9 UDMA CRC Registers
381
Bit 7 QENABLE
382
Bit 3 QSTATE
382
Bits 2-0 QSIGNAL[2:0]
382
Bit 7 HSM High Speed Mode
383
Bit 1 RENUM Renumerate
383
Regardless of Bus State
384
15.10.4 Data Toggle Control
385
Bit 3-0 EP3:0 Select Endpoint
386
15.10.6 USB Frame Count Low
387
15.10.7 USB Microframe Count
387
15.11 Endpoints
388
0 BC6 BC5 BC4 BC3 BC2 BC1 BC0
389
Bit 7-0 BC7:0 Byte Count
391
Bit 7 HSNAK Hand Shake w/ NAK
391
Bit 1 BUSY EP0 Buffer Busy
392
Bit 0 STALL EP0 Stalled
392
Bit 3 FULL Endpoint FIFO Full
394
Bit 0 STALL ENDPOINT STALL
394
R R R R R R R R/W
395
0 0 0 0 0 1 0 0
395
Bit 7-0 BC7:0 Byte Count High
399
Bit 15-0 A15:0
400
0 0 0 0 0 0 0 SDPAUTO
401
DONE 0 0 0 0 0 0 IDLEDRV
403
15.12.3 CTL Outputs
404
0 1 Open-Drain Open-Drain
405
15.12.4 GPIF Address High
406
GPIFADRH
406
GPIF Address High E6C4
406
15.12.5 GPIF Address Low
407
GPIFADRL
407
GPIF Address Low E6C5
407
FLOWSTATE E6C6
407
FLOWLOGIC E6C7
408
Bits 2-0 TERMB[2:0]
409
Bit 7 SLAVE
411
Bit 6 RDYASYNC
412
Bit 5 CTLTOGL
412
Bit 4 SUSTAIN
412
Bit 2-0 MSTB[2:0]
412
Bits 7-4 HOPERIOD[3:0]
413
Bit 3 HOSTATE
413
Bits 2-0 HOCTL[2:0]
413
Bit 1 FALLING
413
Bit 0 RISING
413
FLOWSTBHPERIOD E6CD
414
GPIFTCB3
415
GPIFTCB2
415
GPIFTCB1
416
GPIFTCB0
416
FS1 FS0 Flag
417
Bit 7-0 D15:8 GPIF Data High
419
INTRDY SAS TCXRDY5 0 0 0 0 0
420
15.12.15 GPIF RDY Pin Status
421
15.12.16 Abort GPIF Cycles
421
GPIFABORT Abort GPIF E6F5
421
Bit 7-0 D7:0 EP0 Data
422
Bit 7-0 D7:0 EP1-Out Data
422
Bit 7-0 D7:0 EP1-IN Buffer
423
Bit 7-0 D7:0 EP2 Data
423
Bit 7-0 D7:0 EP4 Data
424
Bit 7-0 D7:0 EP6 Data
424
Bit 7-0 D7:0 EP8 Data
425
n means “round n upward”
426
Table A-2 Device Qualifier
428
Field Description Value
428
Register Summary
449
Kommentare zu diesen Handbüchern
Keine Kommentare
Publish
Verwandte Produkte und Handbücher für Vernetzung Cypress Semiconductor FX2LP
Vernetzung Cypress Semiconductor AN6077 Betriebsanweisung
(107 Seiten)
Vernetzung Cypress Semiconductor enCoRe CY7C601xx Betriebsanweisung
(62 Seiten)
Vernetzung Cypress Semiconductor FX2LP Installationsanleitung
(28 Seiten)
Vernetzung Cypress Semiconductor FX2LP Datenblatt
(13 Seiten)
Vernetzung Cypress Semiconductor FX2LP Spezifikationen
(10 Seiten)
Vernetzung Cypress Semiconductor FX2LP Datenblatt
(66 Seiten)
Vernetzung Cypress Semiconductor enCoRe CY7C63310 Betriebsanweisung
(16 Seiten)
Vernetzung Cypress Semiconductor AN6077 Bedienungsanleitung
(88 Seiten)
Vernetzung Cypress Semiconductor enCoRe CY7C64215 Bedienungsanleitung
(16 Seiten)
Vernetzung Cypress Semiconductor enCoRe CY7C64215 Bedienungsanleitung
(30 Seiten)
Vernetzung Cypress Semiconductor enCoRe CY7C64215 Technical Information
(11 Seiten)
Vernetzung Cypress Semiconductor enCoRe CY7C601xx Bedienungsanleitung
(12 Seiten)
Vernetzung Cypress Semiconductor enCoRe CY7C64215 Bedienungsanleitung
(33 Seiten)
Dokument drucken
Seite drucken 172
Kommentare zu diesen Handbüchern