We strongly encourage users to use Package manager for sharing their code on Libstock website, because it boosts your efficiency and leaves the end user with no room for error. [more info]
Rating:
Author: MIKROE
Last Updated: 2018-03-13
Package Version: 1.0.0.0
mikroSDK Library: 1.0.0.0
Category: Amplifier
Downloaded: 5966 times
Not followed.
License: MIT license
GainAMP 2 click is a 6-channel programmable gain amplifier, used to amplify signals on any of the 6 non-inverting input channels up to 32x, in eight discrete steps.Â
Library Description
The library carries a single function which allows complete control over GainAMP 2 click.
Key functions
gainamp2_writeCommand- Writes desired command data
Examples Description
The demo application shows the simplicity of usage.
The application is composed of two sections :
applicationInit()
{
gainamp2_spiDriverInit( (T_GAINAMP2_P)&_MIKROBUS1_GPIO, (T_GAINAMP2_P)&_MIKROBUS1_SPI );
// SETUP GAIN +4 on CHANNEL
gainamp2_writeCommand( _GAINAMP2_WRITE_INS | _GAINAMP2_CH, _GAINAMP2_CH4 );
gainamp2_writeCommand( _GAINAMP2_WRITE_INS | _GAINAMP2_GAIN, _GAINAMP2_GAIN_4X );
mikrobus_logWrite( "Channel 4 - aplified 4x", _LOG_LINE );
}
Additional notes and information
Depending on the development board you are using, you may need USB UART click, USB UART 2 click or RS232 click to connect to your PC, for development systems with no UART to USB interface available on the board. The terminal available in all MikroElektronika compilers, or any other terminal application of your choice, can be used to read the message.
SRAM 2 Click is based on ANV32A62A SRAM memory from Anvo-Systems Dresden. It's a 64Kb serial SRAM with a non-volatile SONOS storage element included with each memory cell, organized as 8k words of 8 bits each.
[Learn More]LED driver click carries the MCP1662 high-voltage step-up voltage driver from Microchip. The click is designed to run on either 3.3V or 5V power supply. It communicates with the target microcontroller over PWM pin on the mikroBUSâ„¢ line.
[Learn More]AM/FM 2 Click is a compact add-on board that can be used to listen to music from the AM and FM radio bands. This board features the Si4732, a broadcast AM/FM/SE/LW/RDS radio receiver from Skyworks. This radio receiver integrates the complete broadcast tuner and receiver function from antenna input to digital audio output. In addition to the radio receiver, this Click board™ is equipped with the LM4910, a Boomer output capacitor-less stereo 35mW headphone amplifier from Texas Instruments. This amplifier can deliver 35mW of continuous average power to a 32Ω load with less than 1% distortion.
[Learn More]You have unsaved changes. If you choose to leave all changes will be discarded.
Do you want to subscribe in order to receive notifications regarding "GainAMP 2 click" changes.
Do you want to unsubscribe in order to stop receiving notifications regarding "GainAMP 2 click" changes.
Do you want to report abuse regarding "GainAMP 2 click".