Carte à clic DAC 11
Carte à clic DAC 11
Key Features
- Faible consommation d'énergie, haute précision, monotonie assurée, sortie de tension rail à rail, mise à jour simultanée de la sortie, capacité de mise hors tension de chaque canal, etc.
- Basé sur le DAC128S085 - convertisseur numérique-analogique (DAC) 12 bits 8 canaux à usage général de Texas Instruments
- Peut être utilisé pour les applications de réglage de gain et de décalage numérique, les sources de tension et de courant programmables, la référence programmable et bien d'autres
- mikroBUS : interface SPI
Overview
Le Carte à clic DAC 11™ est une carte complémentaire compacte qui contient un convertisseur numérique-analogique de haute précision. Cette carte comprend le DAC128S085, un DAC analogique 12 bits OCTAL à usage général de Texas Instruments. Il utilise les deux niveaux de tension logique de la prise mikroBUS™ avec une consommation électrique maximale de 4,85 mW à 5 V. Les amplificateurs de sortie intégrés permettent une oscillation de sortie rail à rail, prenant en charge l'interface série SPI (compatible avec les interfaces QSPI, MICROWIRE et DSP standard), qui fonctionne à des fréquences d'horloge allant jusqu'à 40 MHz. Cette Click Board™ représente un excellent choix pour les applications de réglage de gain et de décalage numériques, les sources de tension et de courant programmables, la référence programmable et bien d'autres.
Le DAC 11 Click Board™ est pris en charge par une bibliothèque compatible mikroSDK, qui comprend des fonctions qui simplifient le développement logiciel. Cette Click Board™ est un produit entièrement testé, prêt à être utilisé sur un système équipé du socket mikroBUS™.
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.