ldo 2.1.0.0
|
LDO Click is a compact add-on board designed to regulate the output voltage of a power supply to a lower level with a very low dropout voltage. This board features the TPS7A83A, a low-noise, low-dropout linear regulator (LDO) from Texas Instruments capable of sourcing 2A with only 200mV of maximum dropout. The TPS7A8300A has a pin-programmable output voltage from 0.8V-3.95V with a 50mV resolution, or it can be adjustable from 0.8V-5.2V using an external resistor divider.
We provide a library for the LDO Click as well as a demo application (example), developed using MikroElektronika compilers. The demo can run on all the main MikroElektronika development boards.
Package can be downloaded/installed directly from NECTO Studio Package Manager(recommended way), downloaded from our LibStock™ or found on Mikroe github account.
This library contains API for LDO Click driver.
ldo_cfg_setup
Config Object Initialization function. ldo_init
Initialization function. ldo_default_cfg
Click Default Configuration function. ldo_enable_device
This function enables the device by setting the EN pin to HIGH logic state. ldo_disable_device
This function disables the device by setting the EN pin to LOW logic state. ldo_set_vout
This function sets the voltage output. This example demonstrates the use of LDO click by changing the output voltage.
The demo application is composed of two sections :
Initializes the driver and performs the device default configuration.
Changes the output voltage every 3 seconds and displays on the USB UART the currently set voltage output value.
In order to have up to 3950mV at VOUT you will need to move the VIN SEL on-board jumper
to the VEXT position and provide at least 3950mV voltage input at the VEXT terminal. Otherwise, the maximum level of VOUT will be limited to 3.3V system voltage.
The full application code, and ready to use projects can be installed directly from NECTO Studio Package Manager(recommended way), downloaded from our LibStock™ or found on Mikroe github account.
Other Mikroe Libraries used in the example:
Additional notes and informations
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. UART terminal is available in all MikroElektronika compilers.