DAC 11 Click-Platine
DAC 11 Click-Platine
Key Features
- Niedriger Stromverbrauch, hohe Präzision, garantierte Monotonie, Rail-to-Rail-Spannungsausgang, gleichzeitige Aktualisierung des Ausgangs, Möglichkeit zur Abschaltung einzelner Kanäle und mehr
- Basierend auf dem DAC128S085 - universeller 12-Bit-8-Kanal-Digital-Analog-Wandler (DAC) von Texas Instruments
- Kann für Anwendungen zur digitalen Verstärkungs- und Offseteinstellung, programmierbare Spannungs- und Stromquellen, programmierbare Referenzen und vieles mehr verwendet werden.
- mikroBUS: SPI-Schnittstelle
Overview
Der DAC 11 Click Board™ ist eine kompakte Zusatzplatine, die einen hochpräzisen Digital-Analog-Wandler enthält. Diese Platine verfügt über den DAC128S085, einen universellen OCTAL 12-Bit-Analog-Spannungsausgangs-DAC von Texas Instruments. Er verwendet beide Logikspannungspegel von der mikroBUS™-Buchse mit einer maximalen Leistungsaufnahme von 4,85 mW bei 5 V. Die integrierten Ausgangsverstärker ermöglichen eine Rail-to-Rail-Ausgangsschwingung und unterstützen die serielle SPI-Schnittstelle (kompatibel mit Standard-QSPI-, MICROWIRE- und DSP-Schnittstellen), die mit Taktraten von bis zu 40 MHz arbeitet. Dieses Click Board™ ist eine ausgezeichnete Wahl für Anwendungen zur digitalen Verstärkungs- und Offseteinstellung, programmierbare Spannungs- und Stromquellen, programmierbare Referenzen und vieles mehr.
Das DAC 11 Click Board™ wird durch eine mikroSDK-kompatible Bibliothek unterstützt, die Funktionen enthält, die die Softwareentwicklung vereinfachen. Dieses Click Board™ wird als vollständig getestetes Produkt geliefert und ist bereit für den Einsatz auf einem System, das mit der mikroBUS™-Buchse ausgestattet ist.
How Does The DAC 11 Click Board™ Work?
The DAC 11 Click Board™ as its foundation uses the DAC128S085, a general-purpose 12-bit 8-channel digital-to-analogue converter (DAC) from Texas Instruments. The DAC128S085 is fabricated on a CMOS process with an architecture that consists of switches and resistor strings followed by an output buffer. It ensures monotonicity, low power consumption of 4.85mW at 5V, individual channel power-down capability, and has high precision output amplifier that allows rail-to-rail output swing over a wide supply voltage range.
DAC architecture consists of 4096 equal valued resistors with a switch at each junction of two resistors, plus a switch to ground. The code loaded into the DAC register determines which switch is closed, connecting the right node to the amplifier. Because all eight channels of the DAC128S085 can be controlled independently, each consists of a DAC register and a 12-bit DAC. Depending on the mode of operation, data written into a DAC register causes the 12-bit DAC output to be updated, or an additional command is required to update the DAC output. Also, a Power-On reset circuit ensures that the DAC outputs power up to zero volts and remains there until there is a valid write to the device.
The DAC 11 Click Board™ communicates with MCU using the SPI serial interface compatible with standard QSPI, MICROWIRE, and DSP interfaces, with a maximum frequency of 50 MHz. Also, this Click board™ is designed to utilize the entire dynamic range of DAC128S085 by having all power supply pins (and reference voltage pins) connected together, sharing the same supply voltage. In addition, the user is given the option of further use of the RC filter at the output to roll off output noise.
The DAC 11 Click Board™ can operate with both 3.3V and 5V logic voltage levels selected via the VCC SEL jumper. This way, it is allowed for both 3.3V and 5V capable MCUs to use the SPI communication lines properly. However, the Click board™ comes equipped with a library containing easy-to-use functions and an example code that can be used, as a reference, for further development.
Specifications
Type | DAC |
Applications | Can be used for digital gain and offset adjustment applications, programmable voltage and current sources, programmable reference, and many more |
On-board modules | DAC128S085 - general-purpose 12-bit 8-channel digital-to-analog converter (DAC) from Texas Instruments |
Key Features | Low power consumption, high precission, ensured monotonicity, rail-to-rail voltage output, simultaneous output updating, individual channel power-down capability, and more |
Interface | SPI |
Compatibility | mikroBUS |
Click board size | L (57.15 x 25.4 mm) |
Input Voltage | 3.3V or 5V |
Pinout diagram
This table shows how the pinout on the DAC 11 Click Board™ corresponds to the pinout on the mikroBUS™ socket (the latter shown in the two middle columns).
Notes | Pin | Pin | Notes | ||||
---|---|---|---|---|---|---|---|
NC | 1 | AN | PWM | 16 | NC | ||
NC | 2 | RST | INT | 15 | NC | ||
SPI Chip Select | CS | 3 | CS | RX | 14 | NC | |
SPI Clock | SCK | 4 | SCK | TX | 13 | NC | |
SPI Data OUT | SDO | 5 | MISO | SCL | 12 | NC | |
SPI Data IN | SDI | 6 | MOSI | SDA | 11 | NC | |
Power Supply | 3.3V | 7 | 3.3V | 5V | 10 | 5V | Power Supply |
Ground | GND | 8 | GND | GND | 9 | GND | Ground |
Onboard settings and indicators
Label | Name | Default | Description |
---|---|---|---|
LD1 | PWR | - | Power LED Indicator |
JP1 | VCC SEL | Left | Logic Level Voltage Selection 3V3/5V: Left position 3V3, Right position 5V |
DAC 11 Click electrical specifications
Description | Min | Typ | Max | Unit |
---|---|---|---|---|
Supply Voltage | 3.3 | - | 5 | V |
Output Voltage Range | 0 | - | 5 | V |
Resolution | 12 | - | - | bits |
Operating Temperature Range | -40 | +25 | +125 | °C |
Software Support
We provide a library for the DAC 11 Click Board™ as well as a demo application (example), developed using MikroElektronika compilers. The demo can run on all the main MikroElektronika development boards.
The package can be downloaded/installed directly from NECTO Studio Package Manager(recommended way), downloaded from our LibStock™ or found on Mikroe GitHub account.
Library Description
This library contains API for DAC 11 Click driver.
Key Functions
dac11_cfg_setup
- Config Object Initialization function.dac11_init
- Initialization function.dac11_default_cfg
- Click the Default Configuration function.
Example Description
This example demonstrates the use of the DAC 11 Click Board™.
void application_task ( void ) { float step = REFERENCE_VOLTAGE / NUMBER_OF_STEPS; float output_voltage = step; uint8_t cnt = 0; while ( cnt < NUMBER_OF_STEPS ) { dac11_set_all_ch_voltage ( &dac11, REFERENCE_VOLTAGE, output_voltage ); log_printf( &logger, " All channels output voltage set to %.2f Vrn", output_voltage ); output_voltage += step; cnt++; Delay_ms( 2000 ); } }
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:
- MikroSDK.Board
- MikroSDK.Log
- Click.DAC11
Additional Notes and Information
Depending on the development board you are using, you may need a 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.
mikroSDK
The DAC 11 Click Board™ is supported with mikroSDK - MikroElektronika Software Development Kit. To ensure proper operation of mikroSDK compliant Click board™ demo applications, mikroSDK should be downloaded from the LibStock and installed for the compiler you are using.
Software Support
We provide a library for the DAC 11 Click Board™ as well as a demo application (example), developed using MikroElektronika compilers. The demo can run on all the main MikroElektronika development boards.
The package can be downloaded/installed directly from NECTO Studio Package Manager(recommended way), downloaded from our LibStock™ or found on Mikroe GitHub account.
Library Description
This library contains API for DAC 11 Click driver.
Key Functions
dac11_cfg_setup
- Config Object Initialization function.dac11_init
- Initialization function.dac11_default_cfg
- Click the Default Configuration function.
Example Description
This example demonstrates the use of the DAC 11 Click Board™.
void application_task ( void ) { float step = REFERENCE_VOLTAGE / NUMBER_OF_STEPS; float output_voltage = step; uint8_t cnt = 0; while ( cnt < NUMBER_OF_STEPS ) { dac11_set_all_ch_voltage ( &dac11, REFERENCE_VOLTAGE, output_voltage ); log_printf( &logger, " All channels output voltage set to %.2f Vrn", output_voltage ); output_voltage += step; cnt++; Delay_ms( 2000 ); } }
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:
- MikroSDK.Board
- MikroSDK.Log
- Click.DAC11
Additional Notes and Information
Depending on the development board you are using, you may need a 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.
mikroSDK
The DAC 11 Click Board™ is supported with mikroSDK - MikroElektronika Software Development Kit. To ensure proper operation of mikroSDK compliant Click board™ demo applications, mikroSDK should be downloaded from the LibStock and installed for the compiler you are using.
Frequently Asked Questions
Have a Question?
Be the first to ask a question about this.