Sundance SMT1026 Manual do Utilizador

Consulte online ou descarregue Manual do Utilizador para Equipamento Sundance SMT1026. Sundance SMT1026 User Manual Manual do Utilizador

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 49
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 0

FPGA-only module SDK

SMT1026



Emilie Wheatley


 !"
Sundance Multiprocessor Technology Ltd, Chiltern House,
Waterside, Chesham, Bucks. HP5 1PS.
This document is the property of Sundance and may not be copied
nor communicated to a third party without prior written
permission.
© Sundance Multiprocessor Technology Limited 2009
Vista de página 0
1 2 3 4 5 6 ... 48 49

Resumo do Conteúdo

Página 1 -  !"

FPGA-only module SDK SMT1026   Emilie Wheatley

Página 2 - #$%&

Notes: This function obtains an interface to any FPGA-only module plugged in the first TIM site of a Sundance carrier board. SmtFPGAClose Prototype

Página 3 - '

Smt351Close Prototype: void Smt351Close(IFSmt351 *p); Parameters: p Pointer to the Smt351 interface. Return value: None. Notes: This function clo

Página 4 -  

Parameters: p Pointer to the Smt384 interface. Return value: None. Notes: This function closes the Smt384 interface. Smt390Open Prototype: IFSmt

Página 5 - ! *

Notes: This function closes the Smt391 interface. Smt941Open Prototype: IFSmt941 * Smt941Open(unsigned int nIndex=0); Parameters: nIndex Index

Página 6

value: Notes: This function returns an index to the board at the base address nBaseAddress. If no board is found, the function returns -1.

Página 7

,(,( *The general interface can be used with any FPGA-only module plugged in a Sundance carrier board. This section describes:  t

Página 8 - , -

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

Página 9

WriteCtrlWord Prototype: void WriteCtrlWord(unsigned int nCtrl); Parameters: nCtrl Control word to send. Return value: None. Notes: This functio

Página 10

Parameters: pf Callback function. user User specified callback value. Return value: None. Notes: This function gets the function that is to be called

Página 11

Notes: This function generates a signal. SetTimeout Prototype: void SetTimeout(unsigned int n); Parameters: n Value of the timeout in ms.

Página 12

#$%&  '  

Página 13

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

Página 14

enum DATAFORMAT { binary = 0, complement2 = 1 }; Selects the format of the output samples. enum SIGGEN { sine = 0, triangle = 1, square

Página 15

Return value: None. Notes: This function does a global reset of the SMT350 (ADCs, DACs, Clock…). ConfigureADCReg Prototype: void ConfigureADCReg

Página 16

The SMT350 sructures struct CLKMODE350 bool bExtRef true = external reference; false = on-board 10 MHz reference. The default value is false. bool b

Página 17

Enumerated type Description enum SMT350TYPE { ad9510 = 0, cdcm7005 = 1 }; There are two types of SMT350. The default one with the component CDC

Página 18

Notes: This function prepares the SMT351 for the acquisition. ReadBack Prototype: void ReadBack(void); Parameters: None. Return value: None. Not

Página 19

ConfigureDACReg Prototype: void ConfigureDACReg(DATAMODE mode, unsigned short *pBuf, unsigned int nBurstSize); Parameters: mode Select the data

Página 20 - The general enumerated types

and DAC. bDCM DCM reset. 0 = inactive, 1 = active. Return value: None. Notes: This function resets the SMT381. The SMT381 enumerated types Enumera

Página 21

Prototype: void ResetDevices(void); Parameters: None. Return value: None. Notes: This function does a global reset of the SMT384 (ADCs, Clock…).

Página 22

The SMT384 structures struct CLKMODE384 bool bExtRef true = external reference; false = on-board 10 MHz reference. The default value is false. bool

Página 23

' (((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((

Página 24

• ConfigureADCClock • Acquire • ADCReset • SetADCMode • SetClkMode • GetFirmwareVersion • GetTemp • GetSN  the SMT391 structures • SETADC3

Página 25

ConfigureADCClock Prototype: unsigned int ConfigureADCClock(unsigned int nRf_SamplingFreq, bool bOnBoardClk); Parameters: nRf_SamplingFreq Sam

Página 26

Notes: This function resets the ADCs. SetADCMode Prototype: void SetADCMode(unsigned int n); Parameters: n ADC mode value. Return value: None. N

Página 27

GetSN Prototype: void GetSN(SN *pSN); Parameters: pSN Structure that receives the modules’ temperatures. (See struct SN). Return value: N

Página 28

,(,(/ 6)The SMT941 interface can be used with a SMT941 plugged in a Sundance carrier board. This section describes:  the SMT941 fu

Página 29

Return value: None. Notes: This function configures the ADC registers of the SMT941. AcquireAB Prototype: int AcquireAB(unsigned int nBytes,

Página 30

GetError Prototype: char * GetError(int err); Parameters: err Error code. Return value: The description of the error code. Notes: This function r

Página 31

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

Página 32

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.

Página 33

Bitstream: Select the FPGA bitstream. (This field is not used when the "Quick Configuration" box is checked.) Quick Configuration: Check thi

Página 34

 This section gives a brief description of the SMT1026 package. The SMT1026 is a SDK for Windows. The SMT1026 is an efficient, rea

Página 35

setting the "Bytes to avoid" field, the comport buffer gets empty before starting the acquisition. Host link: Select the link used between t

Página 36

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

Página 37 - ) 

1 - FPGA Configuration: Bitstream: Select the FPGA bitstream. (This field is not used when the "Quick Configuration" box is checked.) Qui

Página 38

)(() ,.)This section explains how to use the "Configure FPGA-only module" user interface. For more information on how to set the para

Página 39

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

Página 40 - )((! ,+

1 - FPGA Configuration: Bitstream: Select the FPGA bitstream. (This field is not used when the "Quick Configuration" box is checked.) Quic

Página 41 - )((, ,.

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

Página 42

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

Página 43 - )(() ,.)

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

Página 44 - )((+ ,6

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

Página 45

• Accelerate your development time by providing ready-to-use library of functions. • Configure the FPGA from the Host. • Transfer data from the FP

Página 46 - + 01

!( $The following abbreviations will be used through the all document: FPGA Field-Programmable Gate Array CPLD Complex PLDs PCI P

Página 47

You do this as follows: • Open Visual studio. • Select "Tools->Options" from the menu. • Select the “Directories” tab. • Select “Incl

Página 48

, -This section describes the functionality of the SMT1026 package. ,( The design makes use of a C++ style interfa

Página 49

// Open the SMT391 library IFSmt391 *pSmt391 = Smt391Open(0); pSmt391->ResetTIMs(); // Configure the FPGA pSmt391->ConfigureFPGA(BITSTREAM, QU

Comentários a estes Manuais

Sem comentários