Linduino  1.3.0
Linear Technology Arduino-Compatible Demonstration Board

Copyright 2018(c) Analog Devices, Inc. More...

Detailed Description

Copyright 2018(c) Analog Devices, Inc.

LTC5556: Dual Programmable Downconverting Mixer with IF DVGA

The LTC5556 dual programmable gain downconverting mixer
is ideal for diversity and MIMO receivers that require
precise gain setting. Each channel incorporates an active
mixer and a digital IF VGA with 15.5dB gain control range.
The IF gain of each channel is programmed in 0.5dB steps
through the SPI. A reduced power mode is also available
for each channel.

SPI DATA FORMAT (MSB First):

Data In  :   RP2[0] X  X  IF2[4] IF2[3] IF2[2] IF2[1] IF2[0]  RP1[0] X  X  IF1[4] IF1[3] IF1[2] IF1[1] IF1[0]
            |-------- CONTROL BITS FOR LTC5556 CH2 --------|  |-------- CONTROL BITS FOR LTC5556 CH1 --------|

RP : Reduced Power Mode Control Bit
IF : IF Attenuation Control Bits

http://www.analog.com/en/products/rf-microwave/mixers/single-double-triple-balanced-mixers/ltc5556.html

All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

  • Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
  • Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
  • Neither the name of Analog Devices, Inc. nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
  • The use of this software may or may not infringe the patent rights of one or more patent holders. This license does not release you from the requirement that you obtain separate licenses from these patent holders to use this software.
  • Use of the software either in source or binary form, must be run on or directly connected to an Analog Devices Inc. component.

THIS SOFTWARE IS PROVIDED BY ANALOG DEVICES "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, NON-INFRINGEMENT, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL ANALOG DEVICES BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, INTELLECTUAL PROPERTY RIGHTS, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

Header File for LTC5556: Dual Programmable Downconverting Mixer with IF DVGAs

Definition in file LTC5556.h.

Go to the source code of this file.

Functions

void LTC5556_write (uint8_t cs, uint16_t tx, uint16_t *rx)
 Writes to the LTC5556 twice and reads back the last byte to make sure the LTC5556 was loaded properly. More...
 
uint8_t LTC5556_dupl_settings ()
 Function to duplicate settings for both LTC5556 channels. More...
 
uint16_t LTC5556_diff_settings ()
 Function to apply unique settings for each LTC5556 channel. More...
 
uint8_t LTC5556_settings ()
 Take inputs and apply the settings to the mixer. More...
 
uint8_t LTC5556_get_power_mode (char *prompt)
 Function to get data from user for power mode. More...
 
uint8_t LTC5556_get_att (char *prompt)
 Get attenuation value from user. More...
 
void LTC5556_decode_output (uint8_t output)
 Decode the register value read from the LTC5556. More...
 

Macros

#define LTC5556_CS   QUIKEVAL_CS
 Define the SPI CS pin. More...
 
LTC5556 Reduced power mode configuration bits.
#define LTC5556_FULL_POWER   0x00
 
#define LTC5556_REDUCED_POWER   0x80
 

Function Documentation

◆ LTC5556_decode_output()

void LTC5556_decode_output ( uint8_t  output)

Decode the register value read from the LTC5556.

Returns
void
Parameters
outputRaw output from the LTC5556 to decode

Definition at line 293 of file LTC5556.cpp.

◆ LTC5556_diff_settings()

uint16_t LTC5556_diff_settings ( )

Function to apply unique settings for each LTC5556 channel.

Returns
Readback after writing different settings for each channel

Definition at line 136 of file LTC5556.cpp.

◆ LTC5556_dupl_settings()

uint8_t LTC5556_dupl_settings ( )

Function to duplicate settings for both LTC5556 channels.

Returns
Readback after writing duplicate settings to both channels

Definition at line 97 of file LTC5556.cpp.

◆ LTC5556_get_att()

uint8_t LTC5556_get_att ( char *  prompt)

Get attenuation value from user.

Returns
uint8_t
Parameters
promptPrompt to ask for the desired attenuation

Definition at line 240 of file LTC5556.cpp.

◆ LTC5556_get_power_mode()

uint8_t LTC5556_get_power_mode ( char *  prompt)

Function to get data from user for power mode.

Returns
uint8_t
Parameters
promptPrompt to ask for the desired power mode

Definition at line 196 of file LTC5556.cpp.

◆ LTC5556_settings()

uint8_t LTC5556_settings ( )

Take inputs and apply the settings to the mixer.

Returns
uint8_t

◆ LTC5556_write()

void LTC5556_write ( uint8_t  cs,
uint16_t  tx,
uint16_t *  rx 
)

Writes to the LTC5556 twice and reads back the last byte to make sure the LTC5556 was loaded properly.

Returns
void
Parameters
txChip Select pin
rxWord to be transmitted Output pointer

Definition at line 90 of file LTC5556.cpp.

Macro Definition Documentation

◆ LTC5556_CS

#define LTC5556_CS   QUIKEVAL_CS

Define the SPI CS pin.

Definition at line 72 of file LTC5556.h.

◆ LTC5556_FULL_POWER

#define LTC5556_FULL_POWER   0x00

Definition at line 77 of file LTC5556.h.

◆ LTC5556_REDUCED_POWER

#define LTC5556_REDUCED_POWER   0x80

Definition at line 78 of file LTC5556.h.