Page 1
Reconfigurable FPGA with 16x 16bit Analog Input and 16x 16bit Analog Output Version 1.0 User Manual Issue 1.0.2 January 2019 TEWS TECHNOLOGIES GmbH Am Bahnhof 7 25469 Halstenbek, Germany Phone: +49 (0) 4101 4058 0 Fax: +49 (0) 4101 4058 19 e-mail: info@tews.com...
Page 2
TPCE636-11R in this document at any time without notice. 16x Analog In, 16x Analog Out and 64 direct TEWS TECHNOLOGIES GmbH is not liable for any FPGA Back I/O Lines, damage arising out of the application or use of the XC7K325T-2 FBG676 Kintex-7 FPGA, 1GB device described herein.
Page 3
Chapter On-Board Indicators added to the manual. 1.0.1 August 2018 Correction and extension of the JTAG chain description. Correction of the Electrical Interface specification in the 1.0.2 January 2019 Technical Specification table. TPCE636 User Manual Issue 1.0.2 Page 3 of 104...
The TPCE636 ADC input channels are based on the Linear Dual 16bit 5Msps Differential LTC2323-16 ADC. The TPCE636 provides 16 ADC channels. Each of the 16 channels has a resolution of 16bit and can work with up to 5Msps. The analog input circuit is designed to allow input voltages of up to ±10V on each input-pin (results in ±20V differential voltage range)
Back I/O Connector male SMC-B 68 (ERNI 154766 64) High Speed Back I/O Connector (Samtec FireFly™) Physical Data Power Requirements Depends on FPGA design With TPCE636 Board Reference Design / without external load typical @ +12V PCIe typical @ +3.3V PCIe TPCE636-xxR 1.3 A not used by TPCE636 TPCE636 User Manual Issue 1.0.2...
If FIT rates are not available, MIL-HDBK-217F and MIL-HDBK-217F Notice 2 formulas are used for FIT rate calculation. Humidity 5 – 95 % non-condensing Weight TPCE636-xxR: 208g Table 2-1 : Technical Specification TPCE636 User Manual Issue 1.0.2 Page 11 of 104...
3 Handling and Operation Instruction ESD Protection The TPCE636 is sensitive to static electricity. Packing, unpacking and all other handling of the TPCE636 has to be done in an ESD/EOS protected Area. Thermal Considerations Forced air cooling is recommended during operation. Without forced air cooling, damage to the device can occur.
4 PCI Device Topology The TPCE636 consists of two FPGAs. Both FPGAs are designed as PCIe / PCI endpoint devices. One FPGA is the User FPGA (Kintex-7) which can be programmed with user defined FPGA code. The second FPGA takes control of on-board hardware functions of TPCE636 and also the configuration control of the User FPGA.
Table 4-2 : PCI Configuration Registers 4.2.2 PCI BAR Overview Port Size Endian Space Prefetch Width Description (Byte) Mode (Bit) Little Local Configuration Register Space Little In-System Programming Data Space Table 4-3 : PCI BAR Overview TPCE636 User Manual Issue 1.0.2 Page 14 of 104...
Control and status register for ISP are located in the Local Configuration Register Space. The data register for direct FPGA ISP is also located in the Local Configuration Register Space. TPCE636 User Manual Issue 1.0.2 Page 16 of 104...
5 Register Description User FPGA (Kintex-7) The FPGA register description depends on the user application and is not part of this specification. TPCE636 User Manual Issue 1.0.2 Page 17 of 104...
5.2.1 DAC Control / Status Register – 0x00 The output voltage ranges of the TPCE636 DAC outputs are set via DAC Control / Status Register and DAC Output Voltage Range Register. For the three predefined ranges (±10V, ±5V and ±2.5V), the DAC Output Voltage Range Register is set first and then the values are transferred via the DAC Control / Status Register.
10 : ±2.5V range 11 : individual range selection Table 5-2 : DAC Output Voltage Range Register For individual voltage range selection also see the chapter 5.2.3Reference DAC Voltage Control Register. TPCE636 User Manual Issue 1.0.2 Page 19 of 104...
5.2.3 Reference DAC Voltage Control Register – 0x10 to 0x4C The 16 TPCE636 DAC outputs consist of eight dual DAC devices (AD5547). Each of these DACs could be used independently. For the generation of the reference voltage of these 16 TPCE636 DACs, two additional serial DAC devices are placed on the TPCE636.
Thus, any desired output voltages can be generated. But in any case it is important to ensure that the voltages Vout1 and Vout2 are never set above +10V or below -10V. Voltages above these limits cannot be generated and lead to incorrect outputs. TPCE636 User Manual Issue 1.0.2 Page 21 of 104...
Connector to Kintex-7 is active. USB to JTAG Interface via FTDI2232 is 0b010 connected to Kintex-7. BCC internal JTAG Controller is connected 0b100 to Kintex-7. Table 5-5 : User FPGA JTAG Control and Status Register TPCE636 User Manual Issue 1.0.2 Page 22 of 104...
Reserved JTAG Vector-I/O Enable Controls the state of the BCC JTAG Vector-I/O Interface. JTAG_VIO_EN- 0b0 = Vector-I/O disabled 0b1 = Vector-I/O enabled Functionality is held in reset until enabled is set TPCE636 User Manual Issue 1.0.2 Page 23 of 104...
Sets the JTAG TDI bit data that is shifted-out JTAG_VIO_TDI 31:0 during TMS/TDI shift operations. _DATA Note: Bit 0 is shifted-out first (right-alignment) Table 5-8 : User FPGA JTAG TDI Data Register TPCE636 User Manual Issue 1.0.2 Page 24 of 104...
0: Interrupt Disabled 1: Interrupt Enabled ISP_DAT_IE While disabled, the corresponding bit in the Interrupt Status Register is ‘0’. Disabling interrupts does not affect the interrupt source. Table 5-11 : Interrupt Enable Register TPCE636 User Manual Issue 1.0.2 Page 25 of 104...
1: Slave SelectMap (Parallel) FP_CFG_MD After power-up the User FPGA automatically configures from the on-board SPI Flash in ‘Master Serial / SPI’ mode. Table 5-13 : User FPGA Configuration Control/Status Register TPCE636 User Manual Issue 1.0.2 Page 26 of 104...
‘Master Serial / SPI’ mode. Note, that for ISP Direct FPGA Programming, the FPGA must first be set to Slave Select Map configuration mode. Table 5-15 : ISP Control Register TPCE636 User Manual Issue 1.0.2 Page 27 of 104...
ISP Status Register and starts the configured SPI instruction. ISP_SPI_INS_CMD Ignored (lost) while the Instruction Busy Bit is set in the ISP Status Register. Always read as ‘0’. Table 5-17 : ISP Command Register TPCE636 User Manual Issue 1.0.2 Page 28 of 104...
(in read mode). Capable of generating an event based interrupt. 0: No ISP SPI Data Transfer in Progress 1: ISP SPI Data Transfer in Progress Table 5-18 : ISP Status Register TPCE636 User Manual Issue 1.0.2 Page 29 of 104...
5.2.15 TPCE636 Temperature Sensor Register - 0xF4 Reset Symbol Description Access Value 31:21 Reserved TMP441 Automatic Temperature Read Enable Controls the periodic board temperature read feature. Refresh time = 1s TMP441_AUTO _TRD_EN ‘0’ = disabled ‘1’ = enabled Automatic mode must be disabled before...
The interrupt handling depends on the user application and is not part of this specification. 6.2.2 BCC (Board Configuration Controller) FPGA Both Interrupts of the BCC FPGA must be cleared via writing access to the corresponding Interrupt Status Flag in the Interrupt Status Register. TPCE636 User Manual Issue 1.0.2 Page 32 of 104...
User FPGA Gigabit Transceiver (MGT) The TPCE636 provides four MGT as Kintex-7 PCI Express Endpoint Block and four MGT for high speed FireFly Back I/O interface. PCIe X4 Interface PCIe X4 Interface Ref. Clock PCIe Clock 100 MHz 156.25 MHz...
At Power-up, the TPCE636 User FPGA (Kintex-7) always configures via x4 SPI Interface by “Master Serial / SPI” mode. At factory default the SPI Flash contains the TEWS example application for the TPCE636 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.
If the PCIe interface of the User FPGA PCIe Endpoint does not change. Device ID, Vendor ID, Class Code and PCI Bars do not change, the PCI header could be saved before the FPGA Reconfiguration and written back to configuration space after the Reconfiguration. TPCE636 User Manual Issue 1.0.2 Page 38 of 104...
After reconfiguration was successful the User FPGA Configuration Mode and Set ISP_ENA = 0 the ISP Mode could be disabled. Also the link between the PCIe Switch and Set K7_LINK_ENA = 1 the Kintex-7 must be enabled. TPCE636 User Manual Issue 1.0.2 Page 39 of 104...
Page 40
This is also a binary configuration data file but without header information. For configuration of the Kintex-7 FPGA on the TPCE636 both files could be used. Both binary configuration data files have additional data to the actual configuration data.
7.4.4 Configuration via JTAG The TPCE636 provides two JTAG chains which are accessible by the following connector options: 7.4.4.1 User JTAG Chain For direct FPGA configuration, FPGA read back or in-system diagnostics with Vivado Logic Analyzer, the Molex Debug Connector can be used to access the JTAG-chain. Also an indirect SPI – PROM programming is possible via the User JTAG Chain.
The Programming Instruction always starts at address 0x00 to write data from the ISP Programming Data Space to the SPI flash. If not all configuration data bytes are written, the User FPGA is not configured correctly. TPCE636 User Manual Issue 1.0.2 Page 42 of 104...
After completion of the erasing process, the ISP Mode bit should be Set FP_CFG_MD = 0 cleared to set configuration path to User FPGA or a User FPGA SPI Set ISP_ENA = 0 Configuration Flash programming process could be done. TPCE636 User Manual Issue 1.0.2 Page 43 of 104...
After completion of the erasing process, the ISP Mode bit should be Set FP_CFG_MD = 0 cleared to set configuration path to User FPGA or a User FPGA SPI Set ISP_ENA = 0 Configuration Flash programming process could be done. TPCE636 User Manual Issue 1.0.2 Page 44 of 104...
Next Page ? After completion of the reading process, the ISP Mode bit must be cleared Set FP_CFG_MD = 0 to set configuration path back to User FPGA. Set ISP_ENA = 0 TPCE636 User Manual Issue 1.0.2 Page 45 of 104...
TPCE636 FPGA configuration. 7.5.1 I2C Interface to BCC Register The TPCE636 BCC provides an I2C Interface to the User FPGA (Kintex-7). Via this I2C Interface the TPCE636 Serial Number Register from the BCC Local Configuration Register Space could be read.
Clocking 7.6.1 FPGA Clock Sources As a central clock generator of the TPCE636 the Si5338 clock generator is used. This provides all necessary clocks for the User FPGA and the Configuration FPGA. The following figure depicts an abstract User FPGA clock flow.
The following table lists the available clock sources on the TPCE636: FPGA Clock Signal Name FPGA Pin Source Description Number CLK_MGT± H6 / H5 SI5338 low-jitter clock 156.25 MHz differential generator MGT Reference clock REFCLKO2± D6 / D5 PCIe Switch...
MHz with programming resolution of 0.026 parts per billion. The Si514 on TPCE636 is factory configured to 156 MHz default frequency. The Si514 is connected via I2C interface to User FPGA (Kintex-7). As usual for the I2C interface, the two pins must be realized as open drain buffer.
Back I/O Interface The Back I/O Pins of the TPCE636 are directly routed to the User FPGA (Kintex-7). The I/O functions of these FPGA pins are directly dependent on the configuration of the FPGA. The Kintex-7 VCCO voltage is set to 2.5V, so only the 2.5V I/O standards LVCMOS25, LVTTL25 and LVDS_25 are possible when using the TPCE636 back I/O interface.
Memory The TPCE636 is equipped with a 1GB, 32bit wide DDR3 SDRAM and a 128Mbit non-volatile SPI-Flash. The SPI-Flash can also be used as the User FPGA configuration memory. 7.8.1 DDR3 SDRAM The TPCE636 provides two MT41… (96-ball) DDR3 memory devices. The memory is accessible through a Memory Interface Controller Block IP in bank 32, 33 and 34 of the User FPGA.
7.8.2 SPI-Flash The TPCE636 provides a Cypress S25FL127S 128-Mbit serial Flash memory. This Flash is used as FPGA configuration source (default configuration source). After configuration, it is always accessible from the FPGA, so it also can be used for code or user data storage.
DAC Range ±2.5 Channel 16 Gain 0x0FE High Byte corr DAC Range ±2.5 Channel 16 Gain 0x0FF Low Byte corr 0x100 … not used 0x1FF Table 7-13: DAC Calibration Data Values TPCE636 User Manual Issue 1.0.2 Page 57 of 104...
7.8.3.4 ADC Data Correction Formula Please use the total 16 bit data register value for the ADC correction formula. The basic formula for correcting any ADC reading for the TPCE636 (bipolar input voltage range) is: Gain Offset ...
Serial ADC Interface 7.9.1 Overview The 16 analog inputs of the TPCE636 are realized with 8 LTC2323-16 ADC devices. Each of these SAR- ADCs has two ADC channels. Thus, a total of 16 ADC channels are available on the TPCE636.
VIN- and VIN+. An Example: The TPCE636 voltage range is ±10V, so the allowed (single-ended, ground related) voltage on each ADC input pin is ±10V. When we examine the two largest differential voltages, we get following results:...
AA24 ADC_SDO1_02+ 2.5V Differential Data from ADC Channel 4 ADC_SDO1_02- 2.5V ADC_SDO2_02+ 2.5V Differential Data from ADC Channel 5 ADC_SDO2_02- 2.5V Convert Signal for ADC ADC_CNV_N_02 2.5V Channel 4 and 5 TPCE636 User Manual Issue 1.0.2 Page 61 of 104...
Page 62
2.5V ADC_SDO1_05+ 2.5V Differential Data from ADC Channel 10 ADC_SDO1_05- 2.5V ADC_SDO2_05+ 2.5V Differential Data from ADC Channel 11 ADC_SDO2_05- 2.5V Convert Signal for ADC ADC_CNV_N_05 2.5V Channel 10 and 11 TPCE636 User Manual Issue 1.0.2 Page 62 of 104...
Table 7-16: ADC Interface Connections To use the clocked serial interface between the User FPGA (Kintex-7) and one of the eight LTC2323-16 ADC devices please use the LTC2323-16 data sheet which describes the communication process. TPCE636 User Manual Issue 1.0.2 Page 63 of 104...
For a detailed description of the LTC2323-16 interface and the LTC2323-16 function please use the data sheet which describes the whole communication process and all special characteristics of the ADC. TPCE636 User Manual Issue 1.0.2 Page 64 of 104...
Each of these DACs has two DAC channels. Thus, a total of 16 DAC channels are available on the TPCE636. Because of current output DACs it is necessary to use operational amplifier for each DAC output channel to generate an output voltage range up to ±10V.
DAC_LDAC00_01 3.3V Load the DAC output register with contents of the input register. DAC_LDAC02_03 3.3V One write signal for each DAC DAC_LDAC04_05 3.3V device respectively for two DAC DAC_LDAC06_07 3.3V channel. TPCE636 User Manual Issue 1.0.2 Page 66 of 104...
DAC. 7.10.4 Output Voltage Range The output voltage ranges of the TPCE636 DAC outputs are set via DAC Control / Status Register and DAC Output Voltage Range Register. There are three predefined output voltage ranges ±10V, ±5V, ±2,5V and a fourth mode in which the high and low voltage range can be set individually.
Digital Interface to FireFly Connector The digital I/O Pins of the TPCE636 Firefly Back I/O connector are directly routed to the User FPGA (Kintex- 7). The I/O functions of these FPGA pins are directly dependent on the configuration of the FPGA.
TMS/TDI operation. Read-in updates appear immediately on the JTAG Vector-I/O TDO data vector (JTAG_VIO_TDO_DATA). Note that bit #0 is the last one that has been read-in from the JTAG interface. TPCE636 User Manual Issue 1.0.2 Page 71 of 104...
Channel 4 must be 3.3V SSTL on A and B Do not change Si5338 Core VDD or I2C Bus Voltage Core VDD = 3.3V I2C Bus Voltage = 2.5V or 3.3V TPCE636 User Manual Issue 1.0.2 Page 72 of 104...
7.14 On-Board Indicators The TPCE636 provides a couple of board-status LEDs as shown below. These include Power-Good and FPGA configuration status indications as well as two general purpose LEDs. Color State Description On-Board Power Supplies are not ok Power Good...
Signal Bank VCCO Description USER_LED0 3.3V 2x green on-board LEDs USER_LED1 Table 7-20: TPCE636 User On-Board Indicators 7.15 User FPGA Reset Inputs General purpose Reset input connected to the User FPGA Kintex-7. Signal Bank VCCO Description Reset from PCIe Switch...
8 Design Help Board Reference Design User applications for the TPCE636 may be developed by using the TPCE636 FPGA Board Reference Design. TEWS offers this Board Reference Design as a well-documented basic example. It includes an .xdc constrain file with all necessary pin assignments and basic timing constraints. The example design covers the main functionalities of the TPCE636.
Maximum VIN = ±20.0V Maximum VIN = ±20.0V The TPCE636 has differential analog inputs. When talking about the input voltage range of a differential input, one has to differentiate between the differential input voltage between the two pins, and the input voltage relative to ground for each pin.
9.1.3 Back I/O Interface All 64 single-ended / 32 differential digital back I/O Pins of the TPCE636 are directly routed from the User FPGA (Kintex-7) to the 68 pin ERNI flat cable connector. The I/O functions of these FPGA pins are directly dependent on the configuration of the FPGA.
TPCE636 TRST# not connected on the TPCE636 PGND Used on TXMC635 for XILINX Header present detection HALT_INIT_WP signal. Optional. Not connected on the TPCE636 Table 10-4: Pin Assignment JTAG Header TPCE636 User Manual Issue 1.0.2 Page 85 of 104...
FPGA USB Connector (X2) 10.6.1 Connector Type Pin-Count Connector Type Würth: USB Typ C, USB 3,1, 24pol. SMT/THT 90° or compatible Source & Order Info 632 723 300 011 Figure 10-7 FPGA USB Connector TPCE636 10.6.2 Pin Assignment Description Description n.c. n.c. n.c.
Need help?
Do you have a question about the TPCE636 and is the answer not in the manual?
Questions and answers