FX2

This is just a collecting place for information and interesting projects using the Cypress FX2 and FX3 devices.

Architecture

It’s essentially an 8051 with a USB2 or USB3 peripheral bolted on. You can use SDCC to build code for it. I’ve already grabbed most of the information from the FX2 parts of Wolfgang Weiser’s site.

Projects

FX2 Programmer

Wolfgang Weiser’s FX2 Oscilloscope

Notes regarding the design:

  • The mainboard uses IC1A/B to detect FIFO overflows. This is currently unused.
  • It also uses IC1C/D to create 180o shifted clocks for the ADC sample/latch clocks.
  • The clock generator is actually an ATTiny13. To do 10MS/sec the part needs to be clocked at 20MHz, which means 5V supply.
  • 10MHz is always on clock0. It drives the ADC, latches and USB_IFCLK. MUST BE GLITCH FREE.
  • clock1 is constant low for 10MS/sec, every other clock0 for 5MS/sec, every 10th for 1MS/sec. It drives USB_RDY1 which is the FX2 SLWR signal in FIFO slave mode
  • The ADC has a bit of a pipeline; the digital output is from a sample 3 clocks prior so if you’re using analog and digital inputs you will see the analog lag the digital by 3 clocks
  • The latch is used to ensure the data is stable for the FX2.
  • ADCTL pin 4/5 are used to select sensitivity (1V/2V) and int/ext reference, although there is no circuitry for external reference support.
  • The analog input is assumed to be DC coupled with 2.5V bias (assuming a 5V system). An external amp/level shifter is required if you expect it to be a real scope.
  • Digital inputs use input buffers to protect the system. You can also switch from CMOS to TTL (or whatever else) by replacing the HC driver with HCT or whatever.
  • The latch on the digital input board is used to ensure all inputs are sampled and held for the FX2.

David Carr’s FX2 SDR

fx2_programmer-2.0.2.tgz (7.06 KB) Andrew Kohlsmith, 04/29/2013 03:23 PM

volodya-project-8051.tar.gz - fx2_programmer 8051 source examples (14.6 KB) Andrew Kohlsmith, 04/29/2013 03:24 PM

design-files-Rev1C.zip - David Carr's ADC board (68.6 KB) Andrew Kohlsmith, 04/29/2013 03:30 PM

MAX5190_Rev0.pdf - David Carr's DAC board (11.9 KB) Andrew Kohlsmith, 04/29/2013 03:30 PM

gr-ssrp-0.2.1.tar.gz - GNURadio integration for dcarr's design, stable version (365 KB) Andrew Kohlsmith, 04/29/2013 03:32 PM

gr-ssrp-0.3.1.tar.gz - GNURadio integration for dcarr's design, testing version (377 KB) Andrew Kohlsmith, 04/29/2013 03:32 PM

ssrp-0.3.3.tar.gz - standalone firmware for dcarr's design, stable version (362 KB) Andrew Kohlsmith, 04/29/2013 03:32 PM

ssrp-0.4.1.tar.gz - standalone firmware for dcarr's design, testing version (370 KB) Andrew Kohlsmith, 04/29/2013 03:32 PM

adcvboard.pdf - Wolfgang's USB scope ADC board schematic (94.6 KB) Andrew Kohlsmith, 04/29/2013 03:36 PM

clockgen.pdf - Wolfgang's USB scope clock generator board schematic (72.6 KB) Andrew Kohlsmith, 04/29/2013 03:36 PM

mainboard.pdf - Wolfgang's USB scope main board schematic (217 KB) Andrew Kohlsmith, 04/29/2013 03:36 PM

digiboard.pdf - Wolfgang's USB scope digital input board schematic (148 KB) Andrew Kohlsmith, 04/29/2013 03:37 PM

Add picture from clipboard (Maximum size: 1 GB)