Version 1.0 Page 2 of 44 SMT370v2 User Manual Revision History Date Comments Engineer Version 14/02/03 First release Details added about registers and external 08/03/03 signals – figure references – examples. FPGA Firmware changed – ADC/DAC Triggers 31/03/03 and ADC decimators added – SHBA and B 16...
Version 1.0 Page 4 of 44 SMT370v2 User Manual Power Consumption....................25 Register settings....................... 26 Register 0x0 – DAC Register (report to AD9777 datasheet for more details)..26 Register 0x1 – DAC register (report to AD9777 datasheet for more details)..27 Register 0x2 –...
SMT370v2 User Manual Contacting Sundance. You can contact Sundance for additional information by sending email to support@sundance.com. Notes. SMT370 denotes in this document SMT370v2. SHB stands for Sundance High-speed Bus. CommPort denotes an 8-bit communication port following the TI C4x standards. Precautions...
Page 6
Page 6 of 44 SMT370v2 User Manual Outline description. The SMT370v2 is a dual high-speed ADC/DAC module offering the following features: - Two 14-bit ADCs (AD6645-105) sampling at up to 105MHz, - Dual 16-bit TxDAC (AD9777) sampling at up to 400MHz (interpolation),...
Version 1.0 Page 7 of 44 SMT370v2 User Manual Block Diagram. The following diagram shows the architecture of the SMT370v2. 3 Power J2 Bottom Primary TIM supply Connector LEDs ‘FPGA configured’ Trig On-board Oscillator Trig 50 MHz AC or DC...
Version 1.0 Page 8 of 44 SMT370v2 User Manual Architecture Description. The module consists of a Xilinx Virtex-II FPGA, two Analog Devices (14-bit monolithic sampling Analog-to-Digital converters) AD6645 and one Analog Devices AD9777 (Dual TxDAC+ Digital-to-Analog converter). AD6645 is a 14-bit monolithic sampling analog-to-digital converter. The chip provides CMOS-compatible digital outputs.
Version 1.0 Page 9 of 44 SMT370v2 User Manual Two Communication links (CommPorts) following the Texas Instrument C4x standard are connected to the FPGA and will be used to receive control words or for other purpose. They can achieve transfers at up to 20Mbytes/s.
Version 1.0 Page 10 of 44 SMT370v2 User Manual SMT365 for instance. Please report to the part dealing with CommPorts in this document for more details. SHB. The SMT370 provides 2 full SHB (Sundance High-speed Bus) connectors, labelled SHBA (J3) and SHBB (J4) – see Figure 9 - Connector Location..
Version 1.0 Page 11 of 44 SMT370v2 User Manual reading it back continuously and sending data out to the DAC. This generator is controlled via bits in the control registers. It can be loaded, started and stopped by setting bits. For more details, see further in the documentation, the part dealing with control registers.
Version 1.0 Page 12 of 44 SMT370v2 User Manual LEDs. Seven LEDs (Figure 9 - Connector Location.)are available on the board. Four (denoted 1, 2, 3 and 4 on the PCB – top left) of them, green, are driven by the FPGA.
Version 1.0 Page 13 of 44 SMT370v2 User Manual Figure 2 - CommPort interface data path. Sundance High-speed Bus. Both buses are identical and 60-bit wide. SHBs are parallel communication links for synchronous transmissions. Each SHB can be divided into two independent 8-bit buses. Each 8-bit bus includes a clock and three control signals: write enable, request and acknowledge.
Version 1.0 Page 15 of 44 SMT370v2 User Manual The following graphs gives the average FFT of sixteen 16K-FFTs processed after capturing data from Channel B – The on-board sampling frequency set to 100 MHz – A 20MHz sine signal is fed to the board. The test has been performed without any input filter (which explains the second peak due to harmonics) at all and with a 35dBc harmonic performance signal generator.
Version 1.0 Page 16 of 44 SMT370v2 User Manual DAC Performance. Description Specification Analogue outputs Maximum voltage 1 Volt peak-to-peak Impedance 50 Ω Bandwidth External Clock Minimum voltage 0.2 Volt peak to peak minimum Impedance 50 Ω Frequency range 20-160 MHz – low jitter...
Version 1.0 Page 17 of 44 SMT370v2 User Manual The following capture shows a 5MHz signal generated by the DAC under an on- board sampling clock of 160MHz. Note that no output filter was used during the capture. Figure 7 - FFT DAC Channel.
Version 1.0 Page 19 of 44 SMT370v2 User Manual The default FPGA firmware implements 2 16-bit interfaces. FPGA Pinout. ########################################### NET "FREQ_S_DATA_ADCs" LOC = "B19" NET "FREQ_S_DATA_DAC" LOC = "B17" NET "FREQ_S_LOAD_ADCs" LOC = "A18" Constraint File Virtex SMT370 NET "FREQ_S_LOAD_DAC" LOC = "C17"...
Page 20
Version 1.0 Page 20 of 44 SMT370v2 User Manual NET "ADC_TRIG" LOC = "T21" NET "ZBT_DQa<1>" LOC = "A9" NET "IIOF_0" LOC = "V11" NET "ZBT_DQa<0>" LOC = "B9" NET "ADCA_RDY_GCLK" LOC = "W11" NET "ZBT_CS2" LOC = "B13" NET "ZBT_nOE" LOC = "D14"...
Page 21
Version 1.0 Page 21 of 44 SMT370v2 User Manual NET "CONF_INIT" LOC = "AA19" NET "DAC_P1B<14>" LOC = "Y21" NET "CONF_DIN" LOC = "V18" NET "DAC_P1B<15>" LOC = "Y22" NET "CLOCK" LOC = "D11" NET "DAC_P2B<0>" LOC = "W13" NET "CP3_ACK" LOC = "V21"...
Page 22
Version 1.0 Page 22 of 44 SMT370v2 User Manual NET "SHBB<39>" LOC = "M19" NET "SHBA<55>" LOC = "V2" NET "SHBB<38>" LOC = "M20" NET "SHBA<54>" LOC = "V1" NET "SHBB<37>" LOC = "M21" NET "SHBA<53>" LOC = "U2" NET "SHBB<36>" LOC = "L22"...
Version 1.0 Page 23 of 44 SMT370v2 User Manual NET "SHBA<11>" LOC = "J1" NET "SHBA<5>" LOC = "H3" NET "SHBA<10>" LOC = "J2" NET "SHBA<4>" LOC = "H4" NET "SHBA<9>" LOC = "J3" NET "SHBA<3>" LOC = "J6" NET "SHBA<8>" LOC = "J4"...
Version 1.0 Page 24 of 44 SMT370v2 User Manual Connector position. Figure 9 - Connector Location. The diagram below gives the position and the meaning of the connectors that the customer is likely to use.
Version 1.0 Page 25 of 44 SMT370v2 User Manual Operating conditions. Safety The module presents no hazard to the user. The module is designed to operate within an enclosed host system that provides adequate EMC shielding. Operation within the EU EMC guidelines is only guaranteed when the module is installed within an appropriate host system.
Version 1.0 Page 26 of 44 SMT370v2 User Manual Register settings. Register 0x0 – DAC Register (report to AD9777 datasheet for more details). Description number Bit 31 Bit 30 Bit 29 Bit 28 Bit 27-24 Not Used. SDIO bidirectional. ‘0’=Input or ‘1’=I/O - To be set to ‘0’ when using default Bit 23 firmware.
Version 1.0 Page 27 of 44 SMT370v2 User Manual Register 0x1 – DAC register (report to AD9777 datasheet for more details). Bit number Description Bit 31 Bit 30 Bit 29 Bit 28 Bit 27-18 Not Used. Bit 17 PLL Divide (Prescaler) Ratio.
Version 1.0 Page 28 of 44 SMT370v2 User Manual Register 0x2 – DAC register (report to AD9777 datasheet for more details). Bit number Description Bit 31 Bit 30 Bit 29 Bit 28 Bit 27-20 Not Used. Bit 19 IDAC Coarse Gain Adjustment...
Version 1.0 Page 29 of 44 SMT370v2 User Manual Register 0x3 – DAC register (report to AD9777 datasheet for more details). Bit number Description Bit 31 Bit 30 Bit 29 Bit 28 Bit 27-24 Not Used. Bit 23 QDAC Fine Gain Adjustment...
Version 1.0 Page 30 of 44 SMT370v2 User Manual Register 0x4 – DAC register (report to AD9777 datasheet for more details). Bit number Description Bit 31 Bit 30 Bit 29 Bit 28 Bit 27-24 Not Used. Bit 23 QDAC I Direction.
Version 1.0 Page 31 of 44 SMT370v2 User Manual Register 0x5 – Clock management. Bit number Description Bit 31 Bit 30 Bit 29 Bit 28 Bit 27 Clock Selection ADCA (ADCA - ‘0’=Internal; ‘1’=External) Bit 26 Clock Selection ADCB (ADCB - ‘0’=Internal; ‘1’=External) Bit 25 Clock Selection DAC (‘0’=Internal;...
Version 1.0 Page 32 of 44 SMT370v2 User Manual With 500 < M < 250 (binary encoding) and N can take one of = (M/N) MHz - Synthesized the following values: 1, 1.5, 2, 3, 4, 6, 8 or 12 (for respectively “000”… ”111”...
Version 1.0 Page 33 of 44 SMT370v2 User Manual Register 0x6 – Channel selection – Triggers – Decimator for ADCs. Bit number Description Bit 31 Bit 30 Bit 29 Bit 28 Bit 27 Not Used. Bit 26 Bit 25 Bit 24 Decimation Factor Channel B –...
Version 1.0 Page 34 of 44 SMT370v2 User Manual Register 0x7 – DAC control – Pattern generator. Bit number Description Bit 31 Bit 30 Bit 29 Bit 28 Bit 27 External Trigger Level (‘0’=Active low; ‘1’=Active high) Bit 26 External Trigger Enable (‘0’=External Trigger Disabled; ‘1’=Enabled) Bit 25 Channel A Enable (‘0’=Disabled;...
Page 35
Version 1.0 Page 35 of 44 SMT370v2 User Manual Direct Transfer: When Direct To DAC mode selected, data are written into a FIFO (that can contain up to 512 words of 16 bits) under the SHB clock and sent out to the DAC directly under the DAC sampling clock.
Version 1.0 Page 36 of 44 SMT370v2 User Manual Register 0xE – DAC Register Read back. Description number Bit 31 Bit 30 Bit 29 Bit 28 Bit 27-0 Not Used. By sending this control word, the FPGA reads back the DAC register from the AD9777. Once this control word has been sent on CP3 of the 370, expect to receive 15 CommPort word in return on the same link.
Version 1.0 Page 37 of 44 SMT370v2 User Manual Register 0xF – Serial Interfaces load. Description number Bit 31 Bit 30 Bit 29 Bit 28 Bit 27-0 Not Used. The DAC and the clock synthesizers have all a S erial P ort I nterface. By sending this control word, the FPGA serialises Register 0 to 5 and send them to the DAC and both clock synthesizers.
Version 1.0 Page 38 of 44 SMT370v2 User Manual Example code for 3L Diamond – Configuring registers/Data capture/Direct2DAC. //************************************************* // SMT 370 - Configuring DAC and clock synthesizers //************************************************* // This example code is to compile with 3L Diamond V2.1.6...
Page 39
Version 1.0 Page 39 of 44 SMT370v2 User Manual #define SINE_RATIO 8 // Main // main() int index; int ReadBackWord; int i; static volatile unsigned int *SMT365CP0_STAT=(volatile unsigned int*)0x90004000; // SMT 365 CommPort0 Status register // SDB (=half SHB = 16-bit interface) and memory allocation int *BufferA = memalign(128, 4*DATA_SIZE);...
Page 40
Version 1.0 Page 40 of 44 SMT370v2 User Manual link_out_word(REGISTER_5, COMM_PORT0); link_out_word(REGISTER_6, COMM_PORT0); link_out_word(REGISTER_7, COMM_PORT0); printf("Passing Register values to DAC and clock synthesizers \n"); link_out_word(REGISTER_F, COMM_PORT0); par_printf("Reading Back DAC SPI Registers \n"); link_out_word(REGISTER_E, COMM_PORT0); index=0; printf("Waiting for words \n"); printf("CP0 status : %08x\n ", (*SMT365CP0_STAT));...
Version 1.0 Page 41 of 44 SMT370v2 User Manual Example code for 3L Diamond – Configuring registers/Data capture/Pattern Generator. This code can be used with system where the DAC outputs are connected directly to the ADC inputs. The DAC is set to work continuously in Pattern Generator mode.
Page 42
Version 1.0 Page 42 of 44 SMT370v2 User Manual #define REGISTER_F 0xf0000000 // Reg F : Load SPI DAC and clock synthesizers #define CP0_STAT_IFE (unsigned int)0x000F0000 // SMT 365 CommPort 0 Input fifo status register - Fifo empty #define COMM_PORT0...
Page 43
Version 1.0 Page 43 of 44 SMT370v2 User Manual printf("Address BufferC : %08x\n ", BufferC); printf("Address BufferD : %08x\n ", BufferD); printf("Make sure buffers are in Internal Memory - allow better performance\n"); printf("\n SMT365 + SMT370 \n"); printf(" ================\n"); printf("Loading Registers \n");...
Page 44
Version 1.0 Page 44 of 44 SMT370v2 User Manual link_out_word(REGISTER_7, COMM_PORT0); printf("Capturing data from ADCs\n"); SMT_SDB_Control(Sdb0, SDB_CLRIF); // Clear input fifo prior to read operation SMT_SDB_Read (Sdb0, 4*PATTERN_SIZE, BufferC); // size in byte SMT_SDB_Control(Sdb1, SDB_CLRIF); // Clear input fifo prior to read operation SMT_SDB_Read (Sdb1, 4*PATTERN_SIZE, BufferD);...
Need help?
Do you have a question about the SMT370v2 and is the answer not in the manual?
Questions and answers