Cypress EZ-USB® FX3™ SDK Quick Start Guide, Version 1.3.1 3
Contents
1 FX3 SDK ....................................................................................................................................... 5
1.1 Device Overview .................................................................................................................. 5
1.2 FX3 SDK Overview .............................................................................................................. 6
1.3 FX3 DVK Board Overview ................................................................................................... 7
2 SDK Installation ........................................................................................................................... 9
2.1 Components of the FX3 SDK .............................................................................................. 9
2.2 Installed Directory Structure .............................................................................................. 10
3 Working with the SDK ............................................................................................................... 12
3.1 Programming the FX3 device ............................................................................................ 12
3.2 Building the firmware ......................................................................................................... 12
3.3 Setting up the FX3 DVK Board .......................................................................................... 13
3.4 Host driver binding ............................................................................................................. 13
3.5 Firmware Download ........................................................................................................... 14
3.6 Testing the application ....................................................................................................... 14
4 Firmware Example Overview ................................................................................................... 15
4.1 USB Bulk data loopback examples ................................................................................... 15
4.2 USB Isochronous data loopback examples ....................................................................... 16
4.3 USB debug example .......................................................................................................... 16
4.4 FX3S Storage Examples ................................................................................................... 16
4.5 USB Video Class example................................................................................................. 17
4.6 Slave FIFO Application examples ...................................................................................... 17
4.7 Serial Interface examples .................................................................................................. 18
4.8 USB Bulk/Isochronous data source sink examples ........................................................... 19
4.9 USB Bulk Streams example .............................................................................................. 19
4.10 USB enumeration example .............................................................................................. 20
4.11 Flash Programmer example............................................................................................. 20
4.12 Mass Storage Class example .......................................................................................... 20
4.13 USB Audio Class Example .............................................................................................. 20
4.14 Two Stage Booter Example ............................................................................................. 20
4.15 USB host and OTG examples ......................................................................................... 21
4.16 CX3 Examples ................................................................................................................. 21
5 FX3 Programming Guidelines .................................................................................................. 22
5.1 Device Initialization ............................................................................................................ 22
5.2 Embedded Operating System ........................................................................................... 24
5.3 Memory Usage .................................................................................................................. 26
5.4 USB Device Handling ........................................................................................................ 27
5.5 Support for different FX3 parts .......................................................................................... 30
5.6 Porting Applications from SDK 1.2 to SDK 1.2.1 ............................................................... 31