.begin
# Siae Microelettronica spa - copyright (C) 2010
# Executable Downlodable File
#
# unit_slot=      unit slot
# unit_type=      unit board type es.: 2 -->'eq_controller'
# element_id=     SW id es.:1 FW_boot, 2 FW_appl, 3 FPGA ...
# version=        software version
# software_type=  software type es.: S = Motorola format
#                                    I = FPGA format
#                                    B = binary format
#                                    V = Immediate download
#                                    E = Executable ELF file
#                                    C = Custom file (file di configurazione)
# format=         formato codice es.: plain = in chiaro
#                                     zip   = zippato
# chunk=          numero progressivo utilizzato nei file 'splittati'
#
# name_orig=      file da cui e' stato derivato questo
# date_orig=      data del file <name_orig>
#
 equip_type=       
 name=             lxt6155-v1.0.0.cfg
 date=             30/09/2010 15:11:24

 element_id=       8
 unit_slot=        2
 unit_type=        201
 code=             
 version=          01.00.00
 type=             I
 format=           Plain
 chunk=            0

 name_orig=        lxt6155-v1.0.0
 date_orig=        29/10/2009 12:23:20

 checksum=         585206

.echo Siae Microelettronica spa - copyright (C) 2010
.echo
.echo File:        lxt6155-v1.0.0.cfg ver: 01.00.00 - 30/09/2010 15:11:24
.echo Type:        I - Plain
.echo Description: Peripheric apply
.echo              Element 8 for the unit type 201 in the slot 2

.end

section lxt6155
begin

 #  Primary Control Register Settings, Register #0
 #
 #  Bit Default Mnemonic        Description
 #  7   0       llpbk_cntl      Local loopback:
 #                              0 = No loopback
 #                              1 = Activate local loopback
 #  6   0       rlpbk_cntl      Remote loopback:
 #                              0 = No loopback
 #                              1 = Activate remote loopback
 #  5   0       pll_ref         PLL/Equalizer reference clock control:
 #                              0 = Use TPICLK clock
 #                              1 = Use external crystal (XTALIN)
 #  4   0       -               Not used
 #  3   1       txclk_inv       TPICLK polarity at system interface:
 #                              0 = TPID <7:0> sampled on the rising edge of 
 #                                  TPICLK
 #                              1 = TPID <7:0> sampled on the falling edge of
 #                                  TPICLK
 #  2   1       rxclk_inv       RPOCLK polarity at system interface:
 #                              0 = RPOD <7:0> transitions on the rising edge
 #                                  of RPOCLK
 #                              1 = RPOD <7:0> transitions on the falling edge
 #                                  of RPOCLK
 #  1   0       sys_int         Systems interface mode selection:
 #                              0 = Serial mode
 #                              1 = Parallel 8-bit mode
 #  0   0       media_sel       Media and line code selection:
 #                              0 = Fiber (NRZ)
 #                              1 = Coax (CMI)
 #

#register 0 is 0x0c with mask 0x3c;
register 0 is 0x2e with mask 0x3f;

 #  Tx Control, Register #1
 #
 #  Bit Default Mnemonic        Description
 #  7   1       tx_ena          Tx output enable:
 #                              0 = outputs disabled
 #                              1 = outputs active
 #  6   1       tx_dig_reset    Tx digital circuitry reset. This can be used to
 #                              minimize power comsumption when the device is
 #                              disabled but not powered down. It must be ena-
 #                              bled when the device is active.
 #                              0 = reset
 #                              1 = active
 #  5   0                       Not for customer use.
 #  4:1 0.1.1.1 tx_amp_trim     Transmit amplitude trim:
 #                              0000 = -21%
 #                              1111 = +24%
 #  0   1       tx_clk_sw_ena   Tx clock detection enable. This must be
 #                              disabled in SW mode when pll_ref=0 (reg#0<5>=0)
 #                              0 = disable
 #                              1 = enable
 #
 # 

#register 1 is 0xce with mask 0xdf;
register 1 is 0xcf with mask 0xdf;

 #  Transmit PLL1,  Register #2 - default 0.1.1.0.0.1.0.1 => 0x65
 #  Transmit PLL2,  Register #3 - default 1.1.1.0.0.0.1.0 => 0xe2
 #  Equalizer Load, Register #4 - default 0.0.0.0.0.0.0.1 => 0x01
 #
 #  Not for customer use.                           
 #

#register 2 is 0x65;
#register 3 is 0xe2;
#register 4 is 0x01;

 #  Equalizer & AGC, Register #5
 #
 #  Bit Default Mnemonic        Description
 #  7   1       eq_adapt_enab   Equalizer adaption enable:
 #                              0 = freeze adaption
 #                              1 = activate adaption
 #  6:5 0.0     eq_adapt_gain   Equalizer adaption step size:
 #                              00 = 1
 #                              01 = 2
 #                              10 = 4
 #                              11 = 8
 #  4   1       agc_adapt_ena   AGC adaption enable:
 #                              0 = freeze adaption
 #                              1 = activate adaption
 #  3:2 0.0     agc_adapt_gain  AGC adaption step size:
 #                              00 = 1
 #                              01 = 2
 #                              10 = 4
 #                              11 = 8
 #  1   1       afe_ena         Analog front end enable (also enables matching
 #                              filter oscillator core):
 #                              0 = disabled (no bias)
 #                              1 = enabled
 #  0   0                       Not for customer use.
 #

#register 5 is 0x92 with mask 0xfe;

 #  Matching Filter 2, Register #6 - default 0.1.0.1.0.0.0.1 => 0x51
 #  Slicer,            Register #7 - default 0.0.0.0.1.0.0.0 => 0x08
 #  RxPLL 1,           Register #8 - default 0.1.1.0.0.0.0.1 => 0x61
 #
 #  Not for customer use.                           
 #

#register 6 is 0x51;
#register 7 is 0x08;
#register 8 is 0x61;

 #  Rx PLL 2, Register #9
 #
 #  Bit Default Mnemonic        Description
 #  7   1                       Not for customer use.
 #  6   1                       Not for customer use.
 #  5:3 0.1.1 freq_det_pw       Frequency detector output pulse width
 #                              ({1 to 8} * 6.43 ns)
 #  2   1                       Not for customer use.
 #  1   1                       Not for customer use.
 #  0   1                       Not for customer use.
 #

#register 9 is 0xdf with mask 0x38;

 #  Test, Register #10
 #
 #  Bit Default Mnemonic        Description
 #  7   1       los_clk_ena     Enables Rx clock switching under LOS/LOCK
 #                              condition:
 #                              0 = disable
 #                              1 = enable
 #  6   0                       Not for customer use.
 #  5:2 0.0.0.0                 Not for customer use.
 #  1   1                       Not for customer use.
 #  0   0                       Not for customer use.
 #

#register 10 is 0x82 with mask 0x80;

 #  Bias and Fuse Controls, Register #11
 #
 #  Bit Default Mnemonic        Description
 #  7   0       bias_pwrdn      Power down all bias generators. This bit can be
 #                              used to power down all the active analog
 #                              circuitry on the device.
 #                              0 = active
 #                              1 = power down
 #  6   1       reg_reset       Register array reset, ignores remainder of
 #                              transaction (active low).
 #                              This register is write only.
 #  5:2 1.0.0.0                 Not for customer use.
 #  1:0 0.0                     Not for customer use.
 #

#register 11 is 0x60 with mask 0xc0;

 #  Rx Digital 1, Register #12
 #
 #  Bit Default Mnemonic        Description
 #  7   0       los_format      Combine (logical OR) LOS/LOCK function onto LOS
 #                              pin:
 #                              0 = disable
 #                              1 = enable
 #  6   1       los_amp_trim    Amplitude LOS threshold trim:
 #                              0 = Reduced ALOS deassert threshold (-3db)
 #                              1 = Nominal ALOS thresholds
 #  5:4 1.1     los_ena         LOS disable controls (amplitude LOS & digital
 #                              LOS):
 #                              0 = disable
 #                              1 = enable
 #  3   0       frame_ena       Byte align enable: If used, this feature must
 #                              be enabled during system configuration prior
 #                              to applying data to the receiver. If this is
 #                              not possible see the Intel® LXT6155 155 Mbps
 #                              SDH/SONET/ATM Transceiver Application Note
 #                              (Intel order number 249280) for further details.
 #                              0 = byte align disabled
 #                              1 = byte align enabled
 #  2   0                       Not for customer use.
 #  1   0                       Not for customer use.
 #  0   1                       Not for customer use.
 #

#register 12 is 0xf1 with mask 0xf8;

 #  Rx Digital 2, Register #13
 #
 #  Bit Default Mnemonic        Description
 #  7   1       rx_dig_reset    Rx digital circuitry reset. This can be used to
 #                              minimize power comsumption when the device is
 #                              disabled but not powered down. It must be
 #                              enabled when the device is active
 #                              0 = reset
 #                              1 = normal operation
 #  6:3 0.0.0.0 cnffp           Frame pulse position. 
 #  2:1 1.0     los_tran_assert D-LOS transition density count for assertion:
 #                              00 = 128
 #                              01 = 512
 #                              10 = 3112
 #                              11 = 4096
 #                              A-LOS assertion integration period:
 #                              00 = 2048 bits
 #                              01 = 512 bits
 #                              10 = 128 bits
 #                              11 = 32 bits
 #  0   1       los_tran_deassert D-LOS transition density count for de-assertion:
 #                                0 = 4/32
 #                                1 = SONET compliant1
 #                                A-LOS de-assertion integration period:
 #                                0 = 0 bits
 #                                1 = 128 bits
 #

#register 13 is 0x85;

 #  Status Control, Register #14 
 #
 #  Bit Default Mnemonic        Description
 #  7:4 0.0.0.0 -               Unused
 #  3:0 0.0.0.0 stat_cont       Status register (register #15) mux control
 #                              (indirect addressing to increase read space)
 #

#register 14 is 0x00 0x0f;

end.
