![]() |
Linduino
1.3.0
Linear Technology Arduino-Compatible Demonstration Board
|
Copyright 2018(c) Analog Devices, Inc. More...
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
All rights reserved.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
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 |
void LTC5556_decode_output | ( | uint8_t | output | ) |
Decode the register value read from the LTC5556.
output | Raw output from the LTC5556 to decode |
Definition at line 293 of file LTC5556.cpp.
uint16_t LTC5556_diff_settings | ( | ) |
Function to apply unique settings for each LTC5556 channel.
Definition at line 136 of file LTC5556.cpp.
uint8_t LTC5556_dupl_settings | ( | ) |
Function to duplicate settings for both LTC5556 channels.
Definition at line 97 of file LTC5556.cpp.
uint8_t LTC5556_get_att | ( | char * | prompt | ) |
Get attenuation value from user.
prompt | Prompt to ask for the desired attenuation |
Definition at line 240 of file LTC5556.cpp.
uint8_t LTC5556_get_power_mode | ( | char * | prompt | ) |
Function to get data from user for power mode.
prompt | Prompt to ask for the desired power mode |
Definition at line 196 of file LTC5556.cpp.
uint8_t LTC5556_settings | ( | ) |
Take inputs and apply the settings to the mixer.
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.
tx | Chip Select pin |
rx | Word to be transmitted Output pointer |
Definition at line 90 of file LTC5556.cpp.
#define LTC5556_CS QUIKEVAL_CS |