Sign In
Upload
Manuals
Brands
Cypress Manuals
USB Interfaces
EX-USB FX3
Cypress EX-USB FX3 Peripheral Controller Manuals
Manuals and User Guides for Cypress EX-USB FX3 Peripheral Controller. We have
1
Cypress EX-USB FX3 Peripheral Controller manual available for free PDF download: Programmer's Manual
Cypress EX-USB FX3 Programmer's Manual (192 pages)
Brand:
Cypress
| Category:
USB Interfaces
| Size: 6 MB
Table of Contents
Table of Contents
3
1 Introduction
9
Chapter Overview
10
Document Revision History
10
Documentation Conventions
11
2 Introduction to USB
13
USB 2.0 System Basics
13
Host, Devices, and Hubs
13
Signaling Rates
13
Layers of Communication Flow
13
Device Detection and Enumeration
17
Power Distribution and Management
18
Device Classes
18
USB 3.0: Differences and Enhancements over USB 2.0
18
USB 3.0 Motivation
18
Protocol Layer
19
Link Layer
21
Physical Layer
21
Power Management
22
Reference Documents
22
3 FX3 Overview
23
Cpu
23
Interconnect Fabric
24
Memory
25
Interrupts
26
JTAG Debugger Interface
27
Peripherals
28
I2S
28
I2C
30
Uart
31
Spi
32
Gpio/Pins
33
Gpif
38
DMA Mechanism
39
Memory Map and Registers
42
Reset, Booting, and Renum
43
Clocking
44
Power
46
Power Domains
46
Power Management
46
4 FX3 Software
49
System Overview
49
FX3 Software Development Kit (SDK)
50
FX3 Firmware Stack
50
Firmware Framework
50
Firmware API Library
50
FX3 Firmware Examples
51
FX3 Host Software
51
Cypress Generic USB 3.0 Driver
51
Convenience Apis
51
USB Control Center
51
Bulkloop
51
Streamer
51
FX3 Development Tools
52
Firmware Development Environment
52
GPIF II Designer
52
5 FX3 Firmware
53
Initialization
53
Device Boot
55
FX3 Memory Organization
55
FX3 Memory Map
55
API Library
59
USB Block
59
GPIF II Block
62
Serial Interfaces
64
DMA Engine
66
RTOS and os Primitives
71
Debug Support
72
Power Management
73
Low Level DMA
73
6 FX3 Apis
75
7 FX3 Application Examples
77
DMA Examples
77
Cyfxbulklpauto - AUTO Channel
77
Cyfxbulklpautosig - AUTO_SIGNAL Channel
77
Cyfxbulklpmanual - MANUAL Channel
77
Cyfxbulklpmaninout - MANUAL_IN and MANUAL_OUT Channels
78
Cyfxbulklpautomanytoone - AUTO_MANY_TO_ONE Channel
78
Cyfxbulklpmanmanytoone - MANUAL_MANY_TO_ONE Channel
78
Cyfxbulklpautoonetomany - AUTO_ONE_TO_MANY Channel
78
Cyfxbulklpmanonetomany - MANUAL_ONE_TO_MANY Channel
78
Cyfxbulklpmulticast - MULTICAST Channel
78
Cyfxbulklpman_Addition - MANUAL Channel with Header / Footer Addition
78
Cyfxbulklpman_Removal - MANUAL Channel with Header / Footer Deletion
78
Cyfxbulklplowlevel - Descriptor and Socket Apis
79
Cyfxbulklpmandcache - MANUAL Channel with D-Cache Enabled
79
Cyfxbulklpmanual_Rvds - Real View Tool Chain Project Configuration
79
Basic Examples
79
Cyfxbulklpautoenum - USB Enumeration
79
Cyfxbulksrcsink - Bulk Source and Sink
79
Cyfxbulkstreams - Bulk Streams
79
Cyfxisolpauto - ISO Loopback Using Autochannel
79
Cyfxisolpmaninout - ISO Loopback Using MANUAL_IN and MANUAL_OUT
80
Channels80
80
Cyfxisosrcsink - ISO Source Sink
80
Cyfxflashprog - Boot Flash Programmer
80
Cyfxusbdebug - USB Debug Logging
80
Cyfxbulklpauto_Cpp - Bulkloop Back Example Using C
80
Cyfxusbhost - Mouse and MSC Driver for FX3 USB Host
80
Cyfxusbotg - FX3 as an OTG Device
80
Cyfxbulklpotg - FX3 Connected to FX3 as OTG Device
80
Serial Interface Examples
80
Cyfxgpioapp - Simple GPIO
81
Cyfxgpiocomplexapp - Complex GPIO
81
Cyfxuartlpregmode - UART in Register Mode
81
Cyfxuartlpdmamode - UART in DMA Mode
81
Cyfxusbi2Cregmode - I2C in Register Mode
81
Cyfxusbi2Cdmamode - I2C in DMA Mode
81
Cyfxusbspiregmode - SPI in Register Mode
81
Cyfxusbspidmamode - SPI in DMA Mode
81
Cyfxusbspigpiomode - SPI Using GPIO
81
Cyfxusbi2Sdmamode - I2S in DMA Mode
81
UVC Examples
82
Cyfxuvcinmem - UVC from System Memory
82
Cyfxuvcinmem_Bulk - Bulk Endpoint Based UVC from System Memory
82
Slave FIFO Examples
82
Slfifoasync - Asynchronous Slave FIFO
82
Slfifosync - Synchronous Slave FIFO
82
Slfifoasync5Bit: Async Slave Fifo 5 Bit Example
82
Slfifosync5Bit: Sync Slave Fifo 5 Bit Example
82
Mass Storage Example
82
USB Audio Class Example
83
Two Stage Booter Example (Boot_Fw)
83
8 FX3 Application Structure
85
Application Code Structure
85
Initialization Code
85
Application Code
89
9 FX3 Serial Peripheral Register Access
99
Serial Peripheral (LPP) Registers
99
I2S Registers
99
I2C Registers
105
UART Registers
113
SPI Registers
119
FX3 GPIO Register Interface
125
Simple GPIO Registers
125
GPIO_SIMPLE Register
126
GPIO_INVALUE0 Register
126
Gpio_Invalue1 Register
127
GPIO_INTR0 Register
127
GPIO_INTR1 Register
127
Complex GPIO (PIN) Registers
127
PIN_STATUS Register
128
PIN_TIMER Register
130
PIN_PERIOD Register
130
PIN_THRESHOLD Register
130
Gpio_Pin_Intr
130
10 FX3 P-Port Register Access
131
Glossary
131
Externally Visible PP Registers
132
PP_ID Register
132
PP_INIT Register
133
PP_CONFIG Register
134
PP_INTR_MASK Register
135
Pp_Drqr5_Mask
135
Pp_Sock_Mask
135
Pp_Error
136
Pp_Dma_Xfer
136
Pp_Dma_Size
137
10Pp_Wr_Mailbox
137
11Pp_Event
137
12Pp_Rd_Mailbox
138
13Pp_Sock_Stat
138
INTR and DRQ Signaling
138
Transferring Data into and out of Sockets
139
Bursting and DMA_WMARK
139
Short Transfer - Partial Buffer
141
Short Transfer - Zero Length Buffers
142
Long Transfer - Integral Number of Buffers
143
Long Transfer - Aborted by AP
144
Long Transfer - Partial Last Buffer on Ingress
145
Long Transfer - Partial Last Buffer on Egress
145
Odd Sized Transfers
146
10DMA Transfer Signaling on ADMUX Interface
146
11 FX3 Boot Image Format
149
Firmware Image Storage Format
149
12 FX3 Development Tools
151
GNU Toolchain
151
Eclipse IDE
151
JTAG Probe
151
Eclipse Projects
151
Attaching Debugger to a Running Process
179
Using Makefiles
184
Eclipse IDE Settings
184
13 FX3 Host Software
189
Cypress Generic Driver
189
CYAPI Programmer's Reference
189
Cy Control Center
190
Advertisement
Advertisement
Related Products
Cypress FX2LP
Cypress EZ-USB FX3 HD 720p Camera Kit
Cypress EZ-USB FX3 CYUSB3KIT-001
Cypress EZ-USB FX3 SDK
Cypress FM4-U120-9B560
Cypress FR Series
Cypress FM3 S6E1A1 Series
Cypress FR81S Series
Cypress FM33256B
Cypress FM4-216-ETHERNET
Cypress Categories
Microcontrollers
Motherboard
Media Converter
Computer Hardware
Switch
More Cypress Manuals
Login
Sign In
OR
Sign in with Facebook
Sign in with Google
Upload manual
Upload from disk
Upload from URL