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

Similar documents
XMC LED current control explorer kit

Import DAVE version 4 generated library sources into Atollic TrueSTUDIO for ARM. XMC microcontrollers July 2016

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

Import DAVE version 4 generated library sources into IAR. XMC microcontrollers July 2016

XMC Introduction to targeted application segments. XMC Microcontrollers April 2016

DSD: Delta Sigma Demodulator. XMC microcontrollers September 2016

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

Peripheral - ECAT EtherCAT slave controller. XMC microcontrollers July 2016

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

XMC1200 Boot Kit. Getting Started

XMC1000 / XMC4000 Motor Control Application Kit

XMC1000 LED Lighting Application Kit. Getting Started

3D Magnetic Sensor 2 Go - TLE493D-A2B6

Programmable Logic Controller & I/O Modules

Easy Kit Board Manual

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

Quick Start Guide Demo Distance2Go. September 2017

XMC4800 EtherCAT APP SSC Slave Example. Getting Started V3.0

Quick Start Guide Demo Distance2Go. July 2018

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.

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

Gumstix Pi Compute USB-Ethernet

DAVE 3 Hands on / Quick Start Tutorial. Presentation Tutorial Start 1 v1.1: Creating a simple Project using PWM and Count Apps

Stellaris LM3S3748 Evaluation Kit README FIRST

TLE9869 Eval.Kit V1.0 Users Manual

TI Designs: TIDA Power Supply Reference Design for Automotive Microcontroller in Gateway and Body Control Module

TLE9844-2QX Appkit Getting Started. September 2018

DEVKIT-S12VR QUICK START GUIDE (QSG)

Intel Galileo gen 2 Board

XMC Infineon Cortex-M MCU The Industrial and Multimarket MCU. 류승윤부장, Field Application Engineer, Infineon Korea

Installation and Quick Start of isystem s winidea Open in DAVE. Tutorial Version 1.0, May, 2014

Overo Conduit LoRa Gateway

Ethernet1 Xplained Pro

AC/DC. Adapter. Ribbon. Cable Serial. Serial. Adapter. Figure 1. Hardware Setup using an EC2 Serial Adapter

USB Debug Adapter. Power USB DEBUG ADAPTER. Silicon Laboratories. Stop. Run. Figure 1. Hardware Setup using a USB Debug Adapter

Boson Development Board <9hz Boson

DAVE (Version 4) Introduction

TLx5012B 2go Evaluation Kit

AT06467: Getting started with SAM D09/D10/D11. Features. Description. SMART ARM-based Microcontrollers APPLICATION NOTE

QT3 Xplained Pro. Preface. Atmel QTouch USER GUIDE

USB Debug Adapter. Power USB DEBUG ADAPTER. Silicon Laboratories. Stop. Run. Figure 1. Hardware Setup Using a USB Debug Adapter

ZSC31xxx / ZSSC3xxx. SSC Communication Board. Datasheet. Brief Description. Features. Benefits

The Information contained herein is subject to change without notice. Revisions may be issued regarding changes and/or additions.

LPC2148 DEV BOARD. User Manual.

Evaluation Board and Kit Getting Started

Renesas Starter Kit for RX111

TUTORIAL Auto Code Generation for F2803X Target

USER GUIDE. Atmel OLED1 Xplained Pro. Preface

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

USER GUIDE. Atmel QT1 Xplained Pro. Preface

Power Driver 16 v2. Version 2.0 July 5, 2017

WAVETEK BLE-WT51822AA/AB. Revision History. Bluetooth low energy Module WT51822AA (256k) /AB (128k) (Bluetooth Low Energy BT4.0) PRODUCT SPECIFICATION

Quick Start Guide Sense2GoL Module. July 12 th 2018

USER GUIDE. Atmel QT6 Xplained Pro. Preface

User Manual Rev. 0. Freescale Semiconductor Inc. FRDMKL02ZUM

TWR-KV10Z32 Sample Code Guide for IAR Board configuration, software, and development tools

Quick Start Guide. S12VR64EVB S12 MagniV Mixed-Signal MCUs. S12 MagniV

ARDUINO LEONARDO ETH Code: A000022

A Simple Console Application for Z8 Encore! XP MCUs

TI Designs: TIDA Mono Color LED Matrix With Fast Refresh Rates and Ghosting Reduction Reference Design

USB Debug Adapter. Power USB DEBUG ADAPTER. Silicon Laboratories. Stop. Run. Figure 1. Hardware Setup Using a USB Debug Adapter

S32K142 EVB QUICK START GUDE REV3.1 APPLIES FOR: S32K142 EVB (SCH_29701 REV D/C) EXTERNAL USE

Power Profiler Kit. User Guide. v _027 v2.2 /

WiMOD - im880b. Application Note AN017 / Version 1.1. Firmware Update for im880b. Document ID: 4100/40140/0103. Category:

Datasheet BT85x Series Development Kits

TLE9845 Application Kit PN User s Manual

LPC1788 Mio Board. User Manual. Revision 1.0 1

I Introduction to Real-time Applications By Prawat Nagvajara

C8051F36x-DK. C8051F36x DEVELOPMENT KIT USER S GUIDE. 1. Relevant Devices. 2. Kit Contents. 3. Hardware Setup Using a USB Debug Adapter

keyestudio Keyestudio MEGA 2560 R3 Board

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

BIG8051. Development system. User manual

User Manual For CP-JR ARM7 USB-LPC2148 / EXP

Quick Start Guide KEA128BLDCRD. 3-phase Sensorless BLDC Motor Control Reference Design using Kinetis KEA128

Overview of AELabs Lab Platform

Farklı Arduino Boardlar

BV511 Hardware Guide ByVac ByVac Revision 1.0

Official Publication Date: 12/18/2018 Official Expiration Date: Until Next Release

F²MC-8FX FAMILY MB95100 SERIES EMULATOR HW SETUP 8-BIT MICROCONTROLLER APPLICATION NOTE. Fujitsu Microelectronics Europe Application Note

QT2 Xplained Pro. Preface. Atmel QTouch USER GUIDE

Images Scientific OWI Robotic Arm Interface Kit (PC serial) Article

Raspberry Pi Compute Development board

DSP240-LPI Inverter Controller Card. Technical Brief

DEV-1 HamStack Development Board

This document describes the hardware architecture of the board, how to configure the jumpers and to enable specific functions.

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

Evaluation Board Getting Started. Toolchain Setup for: TLE9869_EVALKIT TLE986x_EVALB_JLINK TLE9879_EVALKIT TLE987x_EVALB_JLINK

Application Note No. 097

ZSSC4151 Evaluation Kit Hardware Manual

ATtiny817 QTouch Moisture Demo User Guide. Description. Features. AVR 8-bit Microcontrollers USER GUIDE

Preliminary Product Overview

HVP-KV10Z32 User s Guide

Programming in the MAXQ environment

Brushless DC Motor Controller Specification Assembly 025A0053

CoiNel Technology Solutions LLP. LPC2148 ARTIST Instruction Manual LPC2148 ARTIST. Instruction manual. Revision 1

Evaluation Board Getting Started. TLE984x_EVB_1.x TLE9845_EVB_1.x

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

User Manual Rev. 0. Freescale Semiconductor Inc. FRDMKL02ZUM

ZLED7030KIT-D1 Demo Kit Description

Copyright 2015 by Stephen A. Zajac & Gregory M. Wierzba. All rights reserved..spring 2015.

Transcription:

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

Agenda 1 Kit Overview 2 Hardware Overview 3 Tooling Overview 4 Getting Started 5 Resource Listing 6 Support Material 2

Agenda 1 Kit Overview 2 Hardware Overview 3 Tooling Overview 4 Getting Started 5 Resource Listing 6 Support Material 3

Kit Overview (1/7) Easy entry into smart LED lighting with XMC MCUs Low cost, flicker-free, smart and connected single channel LED driver concept demonstrator 15W Single Channel CCM DC/DC Buck converter in peak-current control mode Software-based automatic adaptation to different input DC voltages and LED forward voltages Isolated DALI Interface card DALI Software Stack available Recommended LED System Overview MAX DC Supply V IN (Max) I LED Peak I AVERAGE V FORWARD LED 30V 1A <800mA V IN 4

Kit Overview (2/7) XMC LED Current Control Explorer Kit XMC LED Current Control Explorer Card XMC1300 Boot Kit (XMC1302-AB) DALI PHY for XMC Boot Kits XMC1300 Boot Kit XMC LED Current Control Explorer Card DALI PHY for XMC Boot Kits 5

Kit Overview (3/7) XMC LED Current Control Explorer Card Voltage Divider for Comparator Reference BSS306N (OptiMOS ) 24V DC Input Jack Header Connectors 0-30V DC Input Jack Output jack to LED engine BAS3010A-03W (Schottky Diode) 6

Kit Overview (4/7) 7

Kit Overview (5/7) XMC1300 Boot Kit Micro USB Status Indicator LEDs Pin headers On-board COM and Segger J-Link debugger Edge Connector Potentiometer XMC1302-AB 8

Kit Overview (6/7) DALI PHY for XMC Boot Kits WAGO Connector to DALI Bus SAMTEC Connector to Boot Kit Isolated DALI Interface Circuit 9

Kit Overview (7/7) 10

Agenda 1 Kit Overview 2 Hardware Overview 3 Tooling Overview 4 Getting Started 5 Resource Listing 6 Support Material 11

Hardware Overview (1/2) Hardware block diagram of kit 12

Hardware Overview (2/2) Kit information Nr. Kit Name Kit Description Order Number 1 KIT_XMC1_LED_CC _EXP_001 XMC LED Current Control Explorer Kit KIT_XMC1_LED_CC _EXP_001 Infineon parts utilized on Kit Nr. 1: Infineon Parts XMC1302 Microcontroller Schottky Diode BAS3010A-03W Transistor BSS306N Order Number XMC1302T038X0200ABXUMA1 BAS3010A03WE6327HTSA1 BSS306NH6327XTSA1 13

Agenda 1 Kit Overview 2 Hardware Overview 3 Tooling Overview 4 Getting Started 5 Resource Listing 6 Support Material 14

Tooling Overview DAVE (1/5) Download DAVE installer package from: http://www.infineon.com/dave Download and unzip the installer package Run *_Setup.exe file to install DAVE and Segger J-Link drivers After Installation, DAVE v4 can be started from desktop. 15

Tooling Overview DAVE (2/5) Check for DAVE updates Help Check for Updates 16

Tooling Overview DAVE (3/5) Install DAVE APPs and Device Descriptions Help Install DAVE APP/Example/Device Library Note: You may skip the above step if you are not using DAVE APPs 17

Tooling Overview DAVE (4/5) Select DAVE APPs Library Manager in the drop-down menu Select Library_DAVEApps and Library_DAVEDeviceDescriptions (for XMC1300 Device) and click Next 18

Tooling Overview DAVE (5/5) Accept terms of the license agreements and click Finish DAVE APPs and DAVE device descriptions are installed 19

Agenda 1 Kit Overview 2 Hardware Overview 3 Tooling Overview 4 Getting Started 5 Resource Listing 6 Support Material 20

Getting Started Setting up the Kit (1/4) 1. Plug the XMC LED Current Control Explorer Card onto the XMC1300 Boot Kit 21

Getting Started Setting up the Kit (2/4) 2. Connect the DALI PHY for XMC Boot Kits card to the XMC1300 Boot Kit 22

Getting Started Setting up the Kit (3/4) 3. Connect the LED light engine to the XMC LED Current Control Explorer card via the orange connectors 23

Getting Started Setting up the Kit (4/4) 4. Connect the kit to PC and power supply From PC 24V DC Adapter OR 0-30V DC Power DBG LED turns ON 24

Getting Started Adjusting LED Brightness (1/3) Option 1: Via potentiometer with a screwdriver Voltage is read by ADC, and then SW changes density of the modulation signal 25

Getting Started Adjusting LED Brightness (2/3) Option 2: Via DALI communication Connect to powered DALI Bus and start sending commands from DALI master 26

Getting Started Adjusting LED Brightness (3/3) DALI commands supported based on 62386-102:2009 Direct arc power command Indirect arc power control commands e.g. OFF, UP, DOWN etc. Query commands e.g. QUERY STATUS, QUERY ACTUAL LEVEL etc. Special commands e.g. INITIALISE, RANDOMISE etc. 27

Getting Started Downloading the Kit Software (1/3) http://www.infineon.com/xmc-led-ccexp Click on the Software & Tools tab Download the example project(s) 28

Getting Started Downloading the Kit Software (2/3) List of available projects 1. Basic-level: Introduction to possible implementations of control loop for CCM Buck, with dimming via potentiometer XMCLib-based LED_CCEXP_A1_BCCU_ACMP_ERU_CCU4 LED_CCEXP_A2_BCCU_ACMP_EXT_CCU4 LED_CCEXP_A3_ACMP_BCCU_CCU8 APP-based LED_CCEXP_B1_BCCU_ACMP_ERU_CCU4 LED_CCEXP_B2_BCCU_ACMP_EXT_CCU4 LED_CCEXP_B3_ACMP_BCCU_CCU8 29

Getting Started Downloading the Kit Software (3/3) List of available projects (continued) 2. Application-level: Fastest control loop for CCM Buck implementation with dimming via potentiometer or DALI APP-based LED_CCEXP_C1_ACMP_BCCU_CCU8_DALICG (will be available soon) LED_CCEXP_C2_AUTOMATIC_RIPPLE_TUNING: with automatic current ripple tuning according to input voltage and LED load to maintain LED average current (Default pre-loaded code) 3. Customization: Basic project without dimming, for user to adopt kit to their own LED engine (more instructions from here) APP-based LED_CCEXP_D1_MANUAL_CALIB 30

Getting Started Programming the kit (1/3) 1. Open DAVE 2. In DAVE workspace, import the downloaded project: File Import Infineon DAVE Project Click Next Check Select Archive File Browse to the downloaded project zip file Click Open Project name will appear under Project List Click Finish 31

Getting Started Programming the kit (2/3) Build project 1. Click 2. Wait for Build to finish Download code 1. Ensure that the power to the XMC LED Current Control Explorer card is turned OFF 2. Click 3. Switch to TASKING Debug view 4. Click to run code Turn ON the power to the XMC LED Current Control Explorer card Adjust LED brightness 32

Getting Started Programming the kit (3/3) Observe the LED current waveform on an oscilloscope via a current probe 33

Getting Started Software Information XMC LED Current Control Explorer Kit is preloaded with LED_CCEXP_C2_AUTOMATIC_RIPPLE_TUNING Features of this software Safe to use with a wide range of LED engines and input voltage supply Automatically tunes current ripple to adopt to input voltage and LED load Not the best dimming performance and efficiency as the code serves to cater to a wide range of LED engines and input voltage. Fine tuning of software parameters and hardware may be required to achieve best dimming performance and efficiency Average LED current 620mA All other software provided in the package are developed with MOLEX 180081-4250 Average LED current = 700mA Forward voltage = 12.3V To manually adopt software to your LED engine, follow the instructions on next slides 34

Getting Started Adopting SW to Your LED Engine (1/6) 1. Import LED_CCEXP_D1_MANUAL_CALIB code onto DAVE 2. Compile and program the kit 3. Connect your LED engine to the kit 4. Power up the kit Note: Ensure that the voltage supplied is the maximum expected input voltage and sufficient to power the LED 5. Observe the LED current waveform on oscilloscope a. Measure the LED current rise time b. Measure the LED current fall time c. Measure the time required for LED current to fall from peak to reference value (620mA). We shall call this parameter the Required OFF-time 35

Getting Started Adopting SW to Your LED Engine (2/6) Lets take for example, LED engine A: Required OFF-time = 480ns LED engine A LED Current Reference = 620 ma Rise time = 760ns Fall time = 2180ns 36

Getting Started Adopting SW to Your LED Engine (3/6) 6. Open the UI of GLOBAL_BCCU APP 7. Change the frequency of FCLK such that the bit-time is the same as the LED current rise time or fall time, whichever is longer This is to ensure the following criteria are met: a. During an ON bit, there is enough time for the LED current to reach the desired peak level b. During an OFF bit, there is enough time for the LED current to reach zero 37

Getting Started Adopting SW to Your LED Engine (4/6) In the example of LED engine A, the fall time is longer Set FCLK such that Actual bit-time = 2180ns Can be calculated: 1 FCLK = bit time 4 1 e. g. FCLK = 2180 10 9 4 1.835MHz 38

Getting Started Adopting SW to Your LED Engine (5/6) 8. Open the UI of PDM_DIMMED_LED_LAMP APP 9. Change the Generated OFF-time based on the value measured previously This is to ensure just enough time for the LED current to drop to just below the reference level i.e. minimum ripple size In the example of LED engine A, this is 480ns Considering a propagation delay of 100ns, we shall set the OFF-time to (480-100 = 380ns) 39

Getting Started Adopting SW to Your LED Engine (6/6) 10. Re-generate code, compile and program the kit 11. Observe LED current waveform You now have the optimized parameters to use your LED engine with the kit! LED Current Reference = 620 ma MOSFET switching frequency 40

Agenda 1 Kit Overview 2 Hardware Overview 3 Tooling Overview 4 Getting Started 5 Resource Listing 6 Support Material 41

Resource Listing http://www.infineon.com/xmc-led-ccexp Documents Board User Manuals Product Brief Application Note Application examples (SW) Videos 42

Agenda 1 Kit Overview 2 Hardware Overview 3 Tooling Overview 4 Getting Started 5 Resource Listing 6 Support Material 43

Support Material Collaterals and Brochures Product Briefs Selection Guides Application Brochures Presentations Press Releases, Ads www.infineon.com/xmc Technical Material Application Notes Technical Articles Simulation Models Datasheets, MCDS Files PCB Design Data www.infineon.com/xmc Kits and Boards DAVE TM Software and Tool Ecosystem Videos Technical Videos Product Information Videos Infineon Media Center XMC Mediathek Contact Forums Product Support Infineon Forums Technical Assistance Center (TAC) 44

Glossary of Abbreviations ACMP Analog Comparator BCCU Brightness and Color Control Unit CCU4/8 Capture/Compare Unit 4/8 DALI Digital Addressable Lighting Interface DAVE Free development IDE for XMC ERU Event Request Unit GPIO General Purpose Input/Output LED Light-emitting Diode PC Personal Computer PDM Pulse Density Modulation PHY Physical Layer PWM Pulse Width Modulation USIC Universal Serial Interface Channel VADC Versatile Analog Digital Converter 45

Disclaimer The information given in this training materials is given as a hint for the implementation of the Infineon Technologies component only and shall not be regarded as any description or warranty of a certain functionality, condition or quality of the Infineon Technologies component. Infineon Technologies hereby disclaims any and all warranties and liabilities of any kind (including without limitation warranties of noninfringement of intellectual property rights of any third party) with respect to any and all information given in this training material.