![Tews Technologies TXMC638 User Manual Download Page 27](http://html1.mh-extra.com/html/tews-technologies/txmc638/txmc638_user-manual_1093619027.webp)
TXMC638 User Manual Issue 1.0.2
Page 27 of 86
User FPGA Configuration
7.4
The Kintex-7 could be configured by the following interfaces:
x
Master Serial SPI Flash Configuration Interface
x
JTAG Interface via FPGA JTAG Connector
x
PCIe Interface via BCC FPGA Slave Select Map Interface Configuration
The change of the configuration mode is done with a configuration register of the BCC FPGA.
At Power-up, the TXMC638 User FPGA (Kintex-7) always configures via x4 SPI Interface by “Master
Serial / SPI” mode.
On delivery the SPI Flash contains the TEWS example application for the TXMC638 User FPGA
device.
7.4.1 Master Serial SPI Flash Configuration
It is important for User FPGA Configuration via SPI Master Mode that the ISP Mode Enable (ISP_EN) bit is
clear to disable the ISP Mode. This is also the default value after Power Up.
See also Register Description of TXMC638 Configuration Device.
To comply with the PCI-Express specification it is necessary to perform the configuration as quick as
possible. The PCIe specification dictates that a PCI device must be accessible after 100ms (120ms). To
speed up the SPI Configuration the following points must be taken into account for SPI Bitstream generation.
x
External Clock Master (53.2MHz) should be used.
x
If external Clock Master is used, also the SPI Falling Edge Option must be used.
x
SPI Configuration Bus Width should be set to X4.
x
Xilinx Tandem Configuration Feature could be used for full PCI-Express specification compliance.
Already during PCI-Express IP Core generation this configuration feature must be included. (For
more information see: XAPP1179).
x
If the Tandem Configuration feature is used, the Persist Option is mandatory.
x
For smaller FPGA content, it is sometimes also possible to comply with the PCI-Express
specification, when only Bitstream Compression is used.
To avoid damage on the BCC or User FPGA (Kintex-7) if Tandem configuration or the Persist
Option is used, the User FPGA must be set into reconfigure Mode by using the “FP_RE_CFG” Bit
of the User FPGA Configuration Control/Status Register before Programming or Clearing the SPI
Flash.