This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TSW4100 with AGC

Hi, I'am working with the TSW4100 Digital Repeater Evaluation Kit. Now the GC5016 Chips on this Board have an AGC (Automatic Gain Control) integrated. But with the delivered TSW4100 Software it is not possible to configure the AGCs. Is there a way to configure the AGCs on the Board?

Best regards
Bjoern

  • Hello Bjoern,

    The TSW4100 software develops an input file for the cmd5016 program.  The DDC device, when operated in 4 channel mode can have AGC and manual gain.  The DDC

    in split IQ (2channel) mode, and the DUC only have manual gain.   The DDC in 4 channel mode, can have narrowband AGC, it requires that you manually edit the .cmd5016 programming files, and that

    you manually access the usbtui.exe program with a batch file.  Normally AGC is not used.  Please see the description below.

    The TSW4100 GUI software is normally installed in C:\ProgramFiles\Texas Instruments\TSW4100GUI.  If you specify a basefilename at the bottom of the GUI, the folder name is

    cmd5016files_(basefilename) under this folder.   In the standard folder name (cmd5016files_TSW4100temp) there is a file RX(basefilename).cmd5016.  The example RXTSW4100temp.cmd5016.

    this file is created after pushing the configure button.   This file can be modified after the GUI creation, to change the agc parameters.  The file would be saved, and then the user needs to copy the file

    to the main folder, and add a batch filter that would call "usbtui.exe "newcmd5016 file just edited".  This would call the program that sends the Rx portion and or Tx portion of the GC5016 programming.

    rem batchfile that needs to be created

    usbtui RX(basefilename).cmd5016

    usbtui TX(basefilename).cmd5016

    There are other references on the TI GC5016 webpage for setting the Rx AGC parameters:

    GC5016 AGC Circuit Functional Description and Application Note (Rev. A)  (HTM, 8 KB) 1229 views
    03 Jun 2004 Read Abstract

    GC5016 Configuration Guide.(ZIP 823 KB ) 227 views
    27 Apr 2009

    the general settings would be:

       agc_freeze 1 -> 0

       gain_sync 7 -> 2

       overall_gain (value) -> 1.0

    example Rx channel parameters

    ####################

    # channel A

    ####################

    channel 0

    rin_rate 1

    rinf_zpad_sync 4

    rinf_zpad 0

    rin_cmplx 0

    routf_tdm 0

    sck_sync 2

    pins 16

    sck_div 3

    bits 16

    overall_gain 1.9

    rinf_sel_A 4

    gain_rnd 2

    agc_tc 1000

    gain_sync 7

    agc_cf 11

    agc_hold 0

    agc_freeze 1

    agc_mode 2

    pwr_mtr_on 0

    fir_diff 0

    fir_coef cmd5016files_TSW4100temp\RXfirA.taps

    fir_nchan 1

    fir_cmplx 1

    fir_sync 2

    bypass_fir 0

    fir_dec 2

    cic_dec 8

    cic_sync 2

    flush_sync 2

    freq_sync 7

    phase_sync 7

    dith_sync 7

    mix_rcv_sel 0

    nco_sync 2

    phase 0

    freq -75

    bypass_mix 0

    Tx -

    One of the concerns with the repeater, as multiple channels are added together, that we do not overflow the DUC channel. 

    in the Tx file, the overall_gain (value) -> 0.5 [ initial estimate]

    a) TSW4100 GUI -> calculates PFIR filter -> writes text file (customer has USB Interface checked, but Program TSW4100 unchecked)

    b) Customer then edits the Rx and Tx files

    c) customer has custom batch file to call the usbtui program to load the configuration registers.

    Regards,

    Radio Joe