FX3 Programmers Manual, Doc. # 001-64707 Rev. *C
81
FX3 Application Examples
7.3.1
cyfxgpioapp – Simple GPIO
This example demonstrates the use of simple GPIOs to be used as input and output. It also
implements the use of GPIO interrupt on the input line.
7.3.2
cyfxgpiocomplexapp – Complex GPIO
The FX3 device has eight complex GPIO blocks that can be used to implement various functions
such as timer, counter and PWM. The example demonstrates the use of complex GPIO APIs to
implement three features: a counter, PWM and to measure the low time period for an input signal.
7.3.3
cyfxuartlpregmode – UART in Register Mode
This example demonstrates the use of UART in register mode of operation. The data is read from
the UART RX byte by byte and is sent out on UART TX byte by byte using register mode APIs.
Register mode APIs are useful when the data to be transmitted / received is very small.
7.3.4
cyfxuartlpdmamode – UART in DMA Mode
This example demonstrates the use of UART in DMA mode of operation. The data is read from
UART RX and sent to UART TX without any firmware intervention. The data is received and
transmitted only when the buffer is filled up. DMA mode of operation is useful when there is large
amount of data to be transferred.
7.3.5
cyfxusbi2cregmode – I2C in Register Mode
This example demonstrates the use of I2C master in register mode of operation. The example read /
writes data to an I2C EEPROM attached to the FX3 device using register mode APIs.
7.3.6
cyfxusbi2cdmamode – I2C in DMA Mode
This example demonstrates the use of I2C master in DMA mode of operation. The example read /
writes data to an I2C EEPROM attached to the FX3 device using DMA channels.
7.3.7
cyfxusbspiregmode – SPI in Register Mode
This example demonstrates the use of SPI master in register mode of operation. The example read /
writes data to an SPI Flash attached to the FX3 device using register mode APIs.
7.3.8
cyfxusbspidmamode – SPI in DMA Mode
This example demonstrates the use of SPI master in DMA mode of operation. The example read /
writes data to an SPI Flash attached to the FX3 device using DMA channels.
7.3.9
cyfxusbspigpiomode – SPI using GPIO
This example demonstrates the use of GPIO to build an SPI master. The example read / writes data
to an SPI Flash attached to the FX3 device using FX3 GPIOs.
7.3.10
cyfxusbi2sdmamode – I2S in DMA Mode
This example demonstrates the use of I2S APIs. The example sends the data received on EP1 OUT
to the left channel and EP2 OUT to the right channel.
Summary of Contents for EX-USB FX3
Page 8: ...8 FX3 Programmers Manual Doc 001 64707 Rev C Contents...
Page 12: ...12 FX3 Programmers Manual Doc 001 64707 Rev C Introduction...
Page 48: ...48 FX3 Programmers Manual Doc 001 64707 Rev C FX3 Overview...
Page 74: ...74 FX3 Programmers Manual Doc 001 64707 Rev C FX3 Firmware...
Page 76: ...76 FX3 Programmers Manual Doc 001 64707 Rev C FX3 APIs...
Page 84: ...84 FX3 Programmers Manual Doc 001 64707 Rev C FX3 Application Examples...
Page 98: ...98 FX3 Programmers Manual Doc 001 64707 Rev C FX3 Application Structure...
Page 148: ...148 FX3 Programmers Manual Doc 001 64707 Rev C FX3 P Port Register Access...
Page 165: ...FX3 Programmers Manual Doc 001 64707 Rev C 165 FX3 Development Tools Click next...
Page 178: ...178 FX3 Programmers Manual Doc 001 64707 Rev C FX3 Development Tools Click on Apply...
Page 180: ...180 FX3 Programmers Manual Doc 001 64707 Rev C FX3 Development Tools d Start the GDB server...
Page 185: ...FX3 Programmers Manual Doc 001 64707 Rev C 185 FX3 Development Tools...
Page 186: ...186 FX3 Programmers Manual Doc 001 64707 Rev C FX3 Development Tools...
Page 187: ...FX3 Programmers Manual Doc 001 64707 Rev C 187 FX3 Development Tools...
Page 188: ...188 FX3 Programmers Manual Doc 001 64707 Rev C FX3 Development Tools...
Page 192: ...192 FX3 Programmers Manual Doc 001 64707 Rev C GPIF II Designer...