driver2 2.0.0.0
|
Driver 2 Click is a compact add-on board that contains a gate driver with a level-shift technology with an additional Shutdown function. This board features the IR2104S, a high voltage, high-speed power MOSFET and IGBT driver with typical 0.21 A source and 0.36 A sink currents and independent high and low side referenced output channels from Infineon Technologies.
We provide a library for the Driver2 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 Driver2 Click driver.
driver2_cfg_setup
Config Object Initialization function. driver2_init
Initialization function. driver2_default_cfg
Click Default Configuration function. driver2_set_sd_pin
Set SD pin. driver2_set_pwm_pin
Set PWM pin. driver2_get_fb_pin
Get FB pin This is an example that demonstrates the use of the Driver 2 Click board.
The demo application is composed of two sections :
Initializes driver module and sets PWM.
Start motor example with change in motor speed using changes in PWM duty cycle.
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.