Jared Boone d103c31187 CPLD: Rework timing between ADC, CPLD, SGPIO
Capture ADC and codec clock state with sufficient timing margin.
Increase drive strength on codec clock and invert CPLD capture clock to provide margin for capturing codec clock (I vs. Q channel).
2019-01-18 16:09:14 -08:00
..
2017-05-16 11:39:44 +02:00

CPLD interface between LPC43xx microcontroller SGPIO peripheral and MAX5864 RF codec.

CPLD-based triggered capture

To build this VHDL project and produce an SVF file for flashing the CPLD:

  • Xilinx WebPACK 13.4 for Windows or Linux.

Generate an XSVF

After generating a programming file:

  • In the ISE Project Navigator, "Processes: top - Behavioral" pane, double-click "Configure Target Device".
  • Click "OK" to open iMPACT.
  • Ctrl-N to create a "New Project".
  • "Yes" to automatically create and save a project file.
  • Select "Prepare a Boundary-Scan File", choose "XSVF".
  • Select file name "default.xsvf".
  • Click "OK" to start adding devices.
  • Assign new configuration file: "top.jed".
  • Right-click the "xc2c64a top.jed" icon and select "Erase". Accept defaults.
  • Right-click the "xc2c64a top.jed" icon and select "Program".
  • Right-click the "xc2c64a top.jed" icon and select "Verify".
  • Choose menu "Output" -> "XSVF File" -> "Stop Writing to XSVF File".
  • Close iMPACT.

To Program

$ hackrf_cpldjtag -x default.xsvf