Dual H-Bridge shield. Dual H-Bridge shield - board user manual. Shield for DC motor control with IFX9202. About this document.

Similar documents
TLx5012B 2go Evaluation Kit

3D Magnetic Sensor 2 Go - TLE493D-A2B6

NovalithIC H-Bridge Demo Board

SPOC +2 User Manual Multichannel SPI High-Side Power Controller

TLT807B0EPV Demoboard

Industrial PROFET. Universal Application Board User s Manual

ASCLIN Asynchronous Synchronous Interface

Application Note TLE9252V. About this document. Application Note. Safety Recommendations Z8F

XMC LED current control explorer kit

TLE9845 Application Kit PN User s Manual

XE166 Family AP Application Note. Microcontrollers. X E D r i v e C a r d H a r d w a r e D e s c r i p t i o n Board REV.

Scope: SW Installation: Start the Package PROG-KIT. Current. Page 1

MCETool V2 User Manual

XC2000 Family AP Application Note. Microcontrollers. XC2236N Drive Card Description V1.0,

OPTIGA TM Trust B SLE95250

Application Note No. 097

User Guide for MA Evaluation Boards MA12040/MA12040P/MA12070/MA12070P

PROFET TM + Demoboard. Automotive Power. Smart High-Side Power Switch - Demoboard Description. Rev. 1.4,

Easy Kit Board Manual

Sensor supply in bus mode

.dp Interface Gen2 Firmware Update for XDPL8220

LOW EMI PWM INTELLIGENT POWER HIGH SIDE SWITCH

XMC1000 EEPROM emulation and data retention

Operating temperature T a

Smart High-Side Power Switch BSP742RI PG-DSO8. AEC qualified Green product (RoHS compliant)

Application Note, V 1.1, Apr AP08006 C868. Interfacing SPI/I2C Serial EEPROM with C868 Microcontroller. Microcontrollers. Never stop thinking.

TLS202B1. Demonstration Board Manual. Automotive Power. Demonstration Board Manual. Rev. 1.0,

Getting Started with the XDPL8220 Reference Board Using.dp Vision Software

XE166 Family AP Application Note. Microcontrollers. UConnect XE162N Hardware Description V1.0,

TxD GND V CC. RxD WAKE V IO SCLK MISO. (Top-side x-ray view) SCLK INH

Application Note - PCB Layout & PIN Behavior Assessment

Application Note, V 1.1, Feb AP DAP Connector. Microcontrollers

UM2091 User manual. EVAL-L9301 Demo board Hardware documentation. Introduction

SPI Protocol of the TLE941xy family

HYDRA-X10. Power Application Controllers TM. PAC HYDRA-X User s Guide. Copyright 2014 Active-Semi, Inc.

XE164 UConnect Manual, V.1.1, February XE164 UConnect. Board REV. 2007/40. Microcontrollers. Never stop thinking.

XC82x/XC83x. DMX512 Receiving Device with XC836. Application Note. Microcontrollers AP08131 V1.1,

Application Note, V1.0, Jul AP08049 XC886/888CLM. Migration of Flash to ROM Device: Memory Protection Configurations.

TLE5xxx(D) Calibration 360

Linear movement with a 3D sensor

This manual provides information for the final user application developer on how to use SPC57S-Discovery microcontroller evaluation board.

XC2000 series Board Manual, V.1.0, June XC2000 Easy Kit. Board REV. V1.0. Microcontrollers. Never stop thinking.

Smart High-Side Power Switch for Industrial Applications One channel: 1 x 1 Ω

HYDRA-X23/X23S. Power Application Controllers. PAC HYDRA-X User s Guide. Copyright 2014 Active-Semi, Inc.

AN10428 UART-SPI Gateway for Philips SPI slave bridges

PremierWave 2050 Enterprise Wi-Fi IoT Module Evaluation Kit User Guide

Micrium uc/probe XMC getting started. XMC TM microcontrollers July 2016

ESD5V3U4RRS. Type Package Configuration Marking ESD5V3U4RRS SOT363 6 pins, uni-directional E8s

UM2461 User manual. SPC584B-DIS Discovery Board. Introduction

L9958 Evaluation board for high current (8.6A) DC and Stepper Motors. Description

Cytron 3A Motor Driver Shield SHIELD-3AMOTOR. User s Manual Rev 1.0 April 2017

GUIDE TO SP STARTER SHIELD (V3.0)

EVAL6235PD. L6235 three-phase brushless DC motor driver demonstration board. Features. Description

UM1844 User manual. EVAL-L9958 Graphical user interface (GUI) Introduction

Application Note, V1.0, Aug AP08064 XC866/886/888. Safeguarding the Microcontroller under Out-of-Spec Noise Conditions.

Relaisdriving with HITFETs and SPIDERs

IRPS5401 programming guide

TLE9869 Eval.Kit V1.0 Users Manual

ESD8V0L... ESD8V0L1B-02LRH. Type Package Configuration Marking ESD8V0L1B-02EL

GPS Evaluation Kit A1080

Power Management & Drives. Application Note. February AN-EVAL 2x8-ISO1H815G-1

ET-UARTSWD Users Guide

MOD-RFID125-BOX User Manual

STSW-L9960, STSW-L9960T Graphical User Interface (GUI) for EVAL-L9960 & EVAL-L9960T

UM LPCXpresso845MAX. Document information. LPCXpresso845MAX, OM13097, LPC845, LPC844 LPCXpresso845MAX User Manual

Evaluation Board for CS3308. Description CS Channel. Digitally Controlled Analog Volume Control. PC or External Serial Control Input

UM2343 Application note

AN4782 Application note

SHIELD-MD10 Cytron 10A Motor Driver Shield

UM QN908x Quick Start. Document information. QN908x, Quick Start, Development Kit, QN9080 DK, QN9080 Development Kit

MOD-RFID125 User Manual. All boards produced by Olimex are ROHS compliant. Rev.A, February 2008 Copyright(c) 2008, OLIMEX Ltd, All rights reserved

UG274: Isolated USB Expansion Board User Guide

Infineon Flash Programmer Memtool for XMC1000 Family. XMC Microcontrollers January 2016

AT03975: Getting Started with SAM L21. Descripton. Features. SMART ARM-Based Microcontroller APPLICATION NOTE

XC800 Family AP Application Note. Microcontrollers. Capacitive-Touch Color Wheel Implementation V1.0,

UM LPC54114 Audio and Voice Recognition Kit. Rev February Document information. Keywords

HOW TO UPGRADE ESP8266 BOARDS USING ESP FLASH DOWNLOAD TOOLS

Application Note, V1.0, November AP XC2000/XE166 family. ADC Result Handling on XC2000/XE166 family of Microcontrollers.

OM13071 LPCXpresso824-MAX Development board

AlphaBot2 robot building kit for Arduino

Description. January 2019 DB2381 Rev 3 1/5

Getting started with the digital MEMS microphone expansion board based on MP34DT01-M for STM32 Nucleo

Quick Start Guide Demo Distance2Go. July 2018

ATtiny104 Xplained Nano. Preface. AVR 8-bit Microcontrollers USER GUIDE

Import DAVE version 4 generated library sources to ARM MDK using CMSIS PACK. XMC microcontrollers July 2016

.dp Interface Gen2. About this document. Table of Contents. Scope and purpose

Table 1. RS232 Serial Adapter DEBUG Connector Pin Descriptions

Design Guideline for TC1782 Microcontroller Board Layout

Getting Started - XMC LED Current Control Explorer Kit. XMC Microcontrollers Apr 2016

UM2119 User manual. Graphical user interface (GUI) for EVAL-L9907-H. Introduction

TLE986xQX Family TLE987xQX Family. Overview. Delta Sheet. This document lists all differences between BE-Step and BF-Step.

User Manual: LPC1830-Xplorer LPC1830-Xplorer

MOD-RFID125-BOX user's manual

XMC1000 / XMC4000 Motor Control Application Kit

TLE8110ED Switching Inductive Loads and External Clamping

Chip Card & Security ICs SLE Intelligent 1024 Byte EEPROM with Write Protection and Programmable Security Code

HOW TO USE ESP8266 WITH ARDUINO IDE

Pmod modules are powered by the host via the interface s power and ground pins.

The USB Debug Adapter package contains the following items: USB Debug Adapter (USB to Debug Interface) with attached 7 Ribbon Cable

AN10688_1. PN532C106 demoboard. Document information. NFC, PN532, PN532C106, demoboard. This document describes PN532C106 demoboard.

Transcription:

- board user manual Dual H-Bridge shield About this document Scope and purpose This document details the functionality and the required steps for running the Dual H-Bridge shield. Included are instructions for installing the necessary software as well as connecting the device. Infineon s Dual H-Bridge shield is designed to integrate with a microcontroller board, such as the XMC1100 Boot Kit, the XMC4700 Relax Kit 5V or any other microcontroller board using the ARDUINO UNO connector interface. Coupled together, this shield-microcontroller implementation provides a low-cost solution for driving two small brushed DC motors. The key component, the IFX9201, is an integrated Dual H-Bridge capable of driving up to 6 A (peak) per channel. Intended audience This board user manual is intended for anyone interested in evaluating DC motor control with the IFX9202 or looking for a simple solution to drive two brushed DC motors, e.g. in home automation or robotics. Sales product name IFX9202ED_DEV_BOARD Order code IFX9202EDDEVBOARDTOBO1 Board User Manual Please read the Important Notice and Warnings at the end of this document Revision 1.0 www.infineon.com

Table of Contents Table of Contents 1 Overview... 3 2 Getting started... 4 2.1 Selecting a DC motor... 4 2.2 Connecting the shield to a microcontroller board... 4 2.3 Software... 4 2.1 Power supply... 4 3 Demo operation with XMC1100 Boot Kit... 5 3.1 Device discovery... 5 3.2 Firmware update using DAVE... 5 3.3 Operation via Terminal interface... 8 4 Hardware Description... 12 4.1 Schematics... 12 4.2 Layout... 14 Board User Manual 2 Revision 1.0

JP1 JP2 Dual H-Bridge shield Overview 1 Overview The Dual H-Bridge shield with IFX9202 is a shield for microcontroller boards compliant with the ARDUINO pin header. A simplified block diagram is shown in Figure 1. Dual H-Bridge shield with IFX9202 Reverse polarity protection VBAT GND VS_1 VS_2 IFX9202ED Micro controller DIS_1 PWM_1 DIR_1 VSO_1 CSN_1 SCK_1 SI_1 SO_1 DIS_2 PWM_2 DIR_2 VSO_2 CSN_2 SCK_2 SI_2 SO_2 OUT1_1 OUT2_1 OUT1_2 OUT2_2 M M GND Figure 1 Simplified block diagram Dual H-Bridge shield with IFX9202 For more information on the IFX9202, please visit www.infineon.com/powertrain-h-bridges. Board User Manual 3 Revision 1.0

Getting started 2 Getting started Main connections are shown in Figure 2. Header compatible to ARDUINO UNO Connect to DC motor 1 Connect to DC motor 2 Connect to power supply (typ. 12 or 24 V) Header compatible to ARDUINO UNO Figure 2 Top view Dual H-Bridge shield with IFX9202 2.1 Selecting a DC motor The IFX9202 can drive small DC motors with peak currents up to 6 A. The achievable continuous drive current is lower and depends on supply voltage, switching frequency and cooling conditions. Realistic continuous drive currents for this kit are in the range of 1 A per channel or 2 A in total, more can be achieved by use of a cooling element. Many DC motors which are utilized for applications such as home automation, moving robots and mechanical toys typically fall in this range of drive current. You can connect up to two suitable DC motors or similar loads. 2.2 Connecting the shield to a microcontroller board To get started with the kit, connect it to a microcontroller board (in this manual, the XMC1100 Boot kit is used). 2.3 Software For the XMC1100 Boot Kit, there is a ready-to-use demo script which can be downloaded from https://www.infineon.com/cms/en/product/evaluation-boards/ifx9202ed_dev_board; see chapter 3 for more details. This program was generated using the Infineon code development platform DAVE (Version 4). Additional information as well as instructions for using DAVE and a download link can be found here: http://www.infineon.com/dave. 2.1 Power supply For providing the power to drive a DC motor, the Dual H-Bridge shield with IFX9202 needs an external power supply connected to VBAT vs. GND. To protect the board from accidentialy reverted supply voltages the Dual H- Bridge shield with IFX9202 is equipped with a reverse polarity protection circuit. VBAT can range from about 6 V to a maximum of 36 V. Board User Manual 4 Revision 1.0

Demo operation with XMC1100 Boot Kit 3 Demo operation with XMC1100 Boot Kit Provided with the XMC1100 Boot Kit is an operational software demo, which is available for download here: https://www.infineon.com/cms/en/product/evaluation-boards/ifx9202ed_dev_board. This code can be used to control the Dual H-Bridge shield with IFX9202 with an XMC1100 Boot Kit by USB using the Terminal interface of a PC. This chapter describes the firmware update process using DAVE, the setup of the terminal program and the available commands. 3.1 Device discovery Make sure the J-Link driver is installed properly. It is included in the installation of DAVE (see http://www.infineon.com/dave) and is required for a USB connection as well as a debug interface to the XMC1100 Boot Kit. For more details on J-Link please visit www.segger.com. Then connect the XMC1100 Boot Kit (with the Dual H-Bridge shield with IFX9202 on top) to the USB port of your PC. The driver for the XMC1100 Boot Kit will now be installed (this may require administrator priviledges). Check in the Device Manager of Windows that the JLink CDC UART Port has been installed correctly; it should look like Figure 3 (the number of the COM port may be different). Figure 3 Correct installation of JLink UART Port 3.2 Firmware update using DAVE After download and extraction of the firmware example, do the following in DAVE : Board User Manual 5 Revision 1.0

Demo operation with XMC1100 Boot Kit Step 1: Open DAVE, go to File Import. Then select Infineon DAVE project and click Next. See Figure 4 for details. Figure 4 Import project Step 2: Select the folder with the extracted demo project and click on Finish. Keep Copy Projects Into Workspace checked (see Figure 5). Board User Manual 6 Revision 1.0

Demo operation with XMC1100 Boot Kit Figure 5 Import project (2) Now the demo project will be imported. The screen should look like in Figure 6. Figure 6 DAVE Screen after import of demo project (main.c selected) Board User Manual 7 Revision 1.0

Demo operation with XMC1100 Boot Kit Step 3: When connecting the XMC1100 Boot Kit (with the Dual H-Bridge shield with IFX9202 on top) to a USB port (unless already done), the green LED (D11) on the shield will be on to indicate logic supply is available. The supply for the power stages needs to be applied separately via VBAT and GND. Make sure all supplies and a load are connected. Step 4: In DAVE, click on Generate Code and Build Active Project. Then click on the Debug button. The following screen will appear (see Figure 7). Select the project under GDB SEGGER J-Link Debugger. Figure 7 Debug Configuration Step 5: Click on Debug. There may be a recommendation to update the J-Link interface. If you decide to go for the update, you may need to reconnect the board to the PC and repeat some of the previous steps after the update is complete. The demo firmware is now installed on the board. You can close DAVE. 3.3 Operation via Terminal interface Open the Terminal software (the example uses TeraTerm, however you can use any other Terminal software). Select serial interface and JLINK CDC UART Port. See Figure 8. Board User Manual 8 Revision 1.0

Demo operation with XMC1100 Boot Kit Figure 8 Select JLINK CDC UART Port The port now needs to be configured according to Figure 9. Figure 9 Set up serial port After completing the above steps, type in? to make sure communication is working. A command overview as shown in Figure 10 or Table 1 is displayed. Board User Manual 9 Revision 1.0

Demo operation with XMC1100 Boot Kit Figure 10 Command overview, displayed when? or help is entered Board User Manual 10 Revision 1.0

Demo operation with XMC1100 Boot Kit Table 1 Command list Command Argument 1 Argument 2 Argument 3 Example Description? - - -? Show available commands help - - - help Show available commands dis 1/2 0/1 - dis 1 / dis 0 Set DIS pin high or low for ch 1 or 2 d 1/2 - - d Enable = dis 1 for ch 1 or 2 e 1/2 - - e Enable = dis 0 for ch 1 or 2 dir 1/2 0/1 - dir 1 / dir 0 Set DIR pin high or low for ch 1 or 2 f 1/2 - - f Forward = dir 1 for ch 1 or 2 r 1/2 - - r Reverse = dir 0 for ch 1 or 2 pwm 1/2 Duty cycle [%] p 1/2 Duty cycle [%] Frequency [Hz] Frequency [Hz] pwm 50 1000 Set PWM duty cycle and frequency for ch 1 or 2 p 50 Frequency is optional (default 1 khz) for ch 1 or 2 spi Hex value - - spi 2A Write to spi; expects 4 digit hex value daisy chain s Hex value - - s 2a Lower case or capital dia - - - dia Show diagnosis register for both ch1 & 2 res - - - res Reset diagnosis register for both ch1 & 2 rev - - - rev Show revision register for both ch1 & 2 ctrl - - - ctrl Show control register for both ch1 & 2 oldis 1/2 0/1 - oldis 1 Disconnect open load current source for ch 1 or 2 sin 1/2 0/1 - sin 1 / sin 0 Set control via SPI on or off for ch 1 or 2 sen 1/2 0/1 - sen 1 / sen 0 Set EN via SPI high or low for ch 1 or 2 sdir 1/2 0/1 - sdir 1 / sdir 0 Set DIR via SPI high or low for ch 1 or 2 spwm 1/2 0/1 - spwm 1 / spwm 0 Set PWM via SPI high or low for ch 1 or 2 For example to activate channel 1 with 50% duty cycle and 2 khz PWM, use the following sequence: e 1 pwm 1 50 2000 Board User Manual 11 Revision 1.0

Hardware Description 4 Hardware Description 4.1 Schematics Figure 11 Screw connectors and jumpers Figure 12 Reverse Polarity Protection Board User Manual 12 Revision 1.0

Hardware Description Figure 13 IFX9202 and Peripherals Figure 14 ARDUINO Pin Header and peripherals Board User Manual 13 Revision 1.0

Hardware Description 4.2 Layout Figure 15 Component Placement Board User Manual 14 Revision 1.0

Hardware Description Figure 16 Top Layer Board User Manual 15 Revision 1.0

Hardware Description Figure 17 Bottom Layer Board User Manual 16 Revision 1.0

Hardware Description Note: The print on board version 2.0 is incorrect; PWM1 is located at D3, EXTFUNC (unused) at D5. EXTFUNC (unused) PWM_1 Figure 18 PWM_1 and EXTFUNC pins Board User Manual 17 Revision 1.0

Trademarks All referenced product or service names and trademarks are the property of their respective owners. Edition Published by Infineon Technologies AG 81726 Munich, Germany 2018 Infineon Technologies AG. All Rights Reserved. Do you have a question about this document? Email: erratum@infineon.com Document reference ifx1 IMPORTANT NOTICE The information given in this document shall in no event be regarded as a guarantee of conditions or characteristics ( Beschaffenheitsgarantie ). With respect to any examples, hints or any typical values stated herein and/or any information regarding the application of the product, Infineon Technologies hereby disclaims any and all warranties and liabilities of any kind, including without limitation warranties of non-infringement of intellectual property rights of any third party. In addition, any information given in this document is subject to customer s compliance with its obligations stated in this document and any applicable legal requirements, norms and standards concerning customer s products and any use of the product of Infineon Technologies in customer s applications. The data contained in this document is exclusively intended for technically trained staff. It is the responsibility of customer s technical departments to evaluate the suitability of the product for the intended application and the completeness of the product information given in this document with respect to such application. For further information on the product, technology, delivery terms and conditions and prices please contact your nearest Infineon Technologies office (www.infineon.com). WARNINGS Due to technical requirements products may contain dangerous substances. For information on the types in question please contact your nearest Infineon Technologies office. Except as otherwise explicitly approved by Infineon Technologies in a written document signed by authorized representatives of Infineon Technologies, Infineon Technologies products may not be used in any applications where a failure of the product or any consequences of the use thereof can reasonably be expected to result in personal injury.