
FPGA-only module SDK SMT1026 Emilie Wheatley
Notes: This function obtains an interface to any FPGA-only module plugged in the first TIM site of a Sundance carrier board. SmtFPGAClose Prototype
Smt351Close Prototype: void Smt351Close(IFSmt351 *p); Parameters: p Pointer to the Smt351 interface. Return value: None. Notes: This function clo
Parameters: p Pointer to the Smt384 interface. Return value: None. Notes: This function closes the Smt384 interface. Smt390Open Prototype: IFSmt
Notes: This function closes the Smt391 interface. Smt941Open Prototype: IFSmt941 * Smt941Open(unsigned int nIndex=0); Parameters: nIndex Index
value: Notes: This function returns an index to the board at the base address nBaseAddress. If no board is found, the function returns -1.
,(,( *The general interface can be used with any FPGA-only module plugged in a Sundance carrier board. This section describes: t
Return value: None. Notes: This function configures the FPGA of the FPGA-only module plugged in the first TIM slot of the Sundance carrier board. H
WriteCtrlWord Prototype: void WriteCtrlWord(unsigned int nCtrl); Parameters: nCtrl Control word to send. Return value: None. Notes: This functio
Parameters: pf Callback function. user User specified callback value. Return value: None. Notes: This function gets the function that is to be called
Notes: This function generates a signal. SetTimeout Prototype: void SetTimeout(unsigned int n); Parameters: n Value of the timeout in ms.
#$%& '
unsigned int nNoC Serial number C of the base module. unsigned int nNoD Serial number D of the base module. unsigned int nDaughterNoA Serial number A
enum DATAFORMAT { binary = 0, complement2 = 1 }; Selects the format of the output samples. enum SIGGEN { sine = 0, triangle = 1, square
Return value: None. Notes: This function does a global reset of the SMT350 (ADCs, DACs, Clock…). ConfigureADCReg Prototype: void ConfigureADCReg
The SMT350 sructures struct CLKMODE350 bool bExtRef true = external reference; false = on-board 10 MHz reference. The default value is false. bool b
Enumerated type Description enum SMT350TYPE { ad9510 = 0, cdcm7005 = 1 }; There are two types of SMT350. The default one with the component CDC
Notes: This function prepares the SMT351 for the acquisition. ReadBack Prototype: void ReadBack(void); Parameters: None. Return value: None. Not
ConfigureDACReg Prototype: void ConfigureDACReg(DATAMODE mode, unsigned short *pBuf, unsigned int nBurstSize); Parameters: mode Select the data
and DAC. bDCM DCM reset. 0 = inactive, 1 = active. Return value: None. Notes: This function resets the SMT381. The SMT381 enumerated types Enumera
Prototype: void ResetDevices(void); Parameters: None. Return value: None. Notes: This function does a global reset of the SMT384 (ADCs, Clock…).
The SMT384 structures struct CLKMODE384 bool bExtRef true = external reference; false = on-board 10 MHz reference. The default value is false. bool
' (((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((
• ConfigureADCClock • Acquire • ADCReset • SetADCMode • SetClkMode • GetFirmwareVersion • GetTemp • GetSN the SMT391 structures • SETADC3
ConfigureADCClock Prototype: unsigned int ConfigureADCClock(unsigned int nRf_SamplingFreq, bool bOnBoardClk); Parameters: nRf_SamplingFreq Sam
Notes: This function resets the ADCs. SetADCMode Prototype: void SetADCMode(unsigned int n); Parameters: n ADC mode value. Return value: None. N
GetSN Prototype: void GetSN(SN *pSN); Parameters: pSN Structure that receives the modules’ temperatures. (See struct SN). Return value: N
,(,(/ 6)The SMT941 interface can be used with a SMT941 plugged in a Sundance carrier board. This section describes: the SMT941 fu
Return value: None. Notes: This function configures the ADC registers of the SMT941. AcquireAB Prototype: int AcquireAB(unsigned int nBytes,
GetError Prototype: char * GetError(int err); Parameters: err Error code. Return value: The description of the error code. Notes: This function r
ERR_SUCCESS = 0, ERR_CLK_REG = 1, ERR_CLK_LOCKED = 2, ERR_ADCAB_DCM_LOCKED = 3, ERR_ADCCD_DCM_LOCKED = 4 }; enum CLOCK_DIVIDER { div_by_on
This user interface is a quick and easy way to configure and communicate with an FPGA-only module on the first TIM site of a Sundance carrier board.
Bitstream: Select the FPGA bitstream. (This field is not used when the "Quick Configuration" box is checked.) Quick Configuration: Check thi
This section gives a brief description of the SMT1026 package. The SMT1026 is a SDK for Windows. The SMT1026 is an efficient, rea
setting the "Bytes to avoid" field, the comport buffer gets empty before starting the acquisition. Host link: Select the link used between t
2 - Acquisition: From host comport / From SDB: Select the origin of the input data. If the input data comes from the host comport, the followings p
1 - FPGA Configuration: Bitstream: Select the FPGA bitstream. (This field is not used when the "Quick Configuration" box is checked.) Qui
)(() ,.)This section explains how to use the "Configure FPGA-only module" user interface. For more information on how to set the para
Data format: Select the format of the output data (binary or 2's complement). VCXO type: Select the type of the VCXO fitted on the FPGA TIM (100
1 - FPGA Configuration: Bitstream: Select the FPGA bitstream. (This field is not used when the "Quick Configuration" box is checked.) Quic
Test: Check this check box to use the ADC test data as input data. In the next step, the data will be saved in two separate files. One file should con
Remark: SMT391 can be replaced by the number of the board you are interested in. The bitstream have been compiled with 3L Diamond FPGA and therefor
Source code The source code is similar for all the supported FPGA-only modules: 1- Open the FPGA library. 2- Reset the board and TIM. 3- Configure
This executable is a very simple console application aimed to show the basic use of the SMT1026 libraries. But more complicated and flexible user i
• Accelerate your development time by providing ready-to-use library of functions. • Configure the FPGA from the Host. • Transfer data from the FP
!( $The following abbreviations will be used through the all document: FPGA Field-Programmable Gate Array CPLD Complex PLDs PCI P
You do this as follows: • Open Visual studio. • Select "Tools->Options" from the menu. • Select the “Directories” tab. • Select “Incl
, -This section describes the functionality of the SMT1026 package. ,( The design makes use of a C++ style interfa
// Open the SMT391 library IFSmt391 *pSmt391 = Smt391Open(0); pSmt391->ResetTIMs(); // Configure the FPGA pSmt391->ConfigureFPGA(BITSTREAM, QU
Comentários a estes Manuais