Infineon XMC LED Current Control Explorer Kit Getting Started Download Page 36

Getting Started 

Adopting SW to Your LED Engine (2/6) 

Lets take for example, LED engine A: 

36 

  

Copyright © Infineon Technologies AG 2016. All rights reserved. 

LED engine A 

Rise time = 760ns 

Fall time = 2180ns 

Required OFF-time = 480ns 

LED Current 

Reference = 620 mA 

Summary of Contents for XMC LED Current Control Explorer Kit

Page 1: ...Getting Started XMC LED Current Control Explorer Kit XMC Microcontrollers Apr 2016...

Page 2: ...Agenda Kit Overview Hardware Overview Tooling Overview Getting Started Resource Listing Support Material 1 2 3 4 5 6 2 Copyright Infineon Technologies AG 2016 All rights reserved...

Page 3: ...Agenda Kit Overview Hardware Overview Tooling Overview Getting Started Resource Listing Support Material 1 2 3 4 5 6 3 Copyright Infineon Technologies AG 2016 All rights reserved...

Page 4: ...l 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 ava...

Page 5: ...orer 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 Copyright Infi...

Page 6: ...Overview 3 7 Voltage Divider for Comparator Reference 24V DC Input Jack 0 30V DC Input Jack Output jack to LED engine Header Connectors 6 Copyright Infineon Technologies AG 2016 All rights reserved B...

Page 7: ...Kit Overview 4 7 7 Copyright Infineon Technologies AG 2016 All rights reserved...

Page 8: ...oot Kit Kit Overview 5 7 On board COM and Segger J Link debugger XMC1302 AB Pin headers Micro USB Status Indicator LEDs Potentiometer Edge Connector 8 Copyright Infineon Technologies AG 2016 All right...

Page 9: ...DALI PHY for XMC Boot Kits Kit Overview 6 7 SAMTEC Connector to Boot Kit WAGO Connector to DALI Bus Isolated DALI Interface Circuit 9 Copyright Infineon Technologies AG 2016 All rights reserved...

Page 10: ...Kit Overview 7 7 10 Copyright Infineon Technologies AG 2016 All rights reserved...

Page 11: ...Agenda Kit Overview Hardware Overview Tooling Overview Getting Started Resource Listing Support Material 1 2 3 4 5 6 11 Copyright Infineon Technologies AG 2016 All rights reserved...

Page 12: ...Hardware block diagram of kit Hardware Overview 1 2 12 Copyright Infineon Technologies AG 2016 All rights reserved...

Page 13: ...controller XMC1302T038X0200ABXUMA1 Schottky Diode BAS3010A 03W BAS3010A03WE6327HTSA1 Transistor BSS306N BSS306NH6327XTSA1 Nr Kit Name Kit Description Order Number 1 KIT_XMC1_LED_CC _EXP_001 XMC LED Cu...

Page 14: ...Agenda Kit Overview Hardware Overview Tooling Overview Getting Started Resource Listing Support Material 1 2 3 4 5 6 14 Copyright Infineon Technologies AG 2016 All rights reserved...

Page 15: ...ge 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 Copy...

Page 16: ...Tooling Overview DAVE 2 5 Check for DAVE updates Help Check for Updates 16 Copyright Infineon Technologies AG 2016 All rights reserved...

Page 17: ...E 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 Copyright Infineon Technologies AG 2016...

Page 18: ...AVE 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 Copyright Infineon Technologies AG 2016 A...

Page 19: ...Tooling Overview DAVE 5 5 Accept terms of the license agreements and click Finish DAVE APPs and DAVE device descriptions are installed 19 Copyright Infineon Technologies AG 2016 All rights reserved...

Page 20: ...Agenda Kit Overview Hardware Overview Tooling Overview Getting Started Resource Listing Support Material 1 2 3 4 5 6 20 Copyright Infineon Technologies AG 2016 All rights reserved...

Page 21: ...Getting Started Setting up the Kit 1 4 1 Plug the XMC LED Current Control Explorer Card onto the XMC1300 Boot Kit 21 Copyright Infineon Technologies AG 2016 All rights reserved...

Page 22: ...Getting Started Setting up the Kit 2 4 2 Connect the DALI PHY for XMC Boot Kits card to the XMC1300 Boot Kit 22 Copyright Infineon Technologies AG 2016 All rights reserved...

Page 23: ...tting 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 Copyright Infineon Technologies AG 2016 All rights reserve...

Page 24: ...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 Copyright Infineon Technologies AG 2016 All rights reserved...

Page 25: ...Adjusting LED Brightness 1 3 Option 1 Via potentiometer with a screwdriver 25 Copyright Infineon Technologies AG 2016 All rights reserved Voltage is read by ADC and then SW changes density of the mod...

Page 26: ...g Started Adjusting LED Brightness 2 3 Option 2 Via DALI communication Connect to powered DALI Bus and start sending commands from DALI master 26 Copyright Infineon Technologies AG 2016 All rights res...

Page 27: ...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 RANDOMIS...

Page 28: ...ng 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 Copyright Infineon Technologies AG 2016 All rights res...

Page 29: ...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_E...

Page 30: ...U_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 loade...

Page 31: ...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 Getting Started Programming th...

Page 32: ...d 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 Ex...

Page 33: ...Getting Started Programming the kit 3 3 Observe the LED current waveform on an oscilloscope via a current probe 33 Copyright Infineon Technologies AG 2016 All rights reserved...

Page 34: ...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 performa...

Page 35: ...oltage 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 f...

Page 36: ...SW to Your LED Engine 2 6 Lets take for example LED engine A 36 Copyright Infineon Technologies AG 2016 All rights reserved LED engine A Rise time 760ns Fall time 2180ns Required OFF time 480ns LED C...

Page 37: ...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 pea...

Page 38: ...W 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 4 1 2180 10 9 4 1 835 38 Copyright Infineon Technologies A...

Page 39: ...alue 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 Consideri...

Page 40: ...ate 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 40 Copyright Infineon Technologies AG 2016 All rights res...

Page 41: ...Agenda Kit Overview Hardware Overview Tooling Overview Getting Started Resource Listing Support Material 1 2 3 4 5 6 41 Copyright Infineon Technologies AG 2016 All rights reserved...

Page 42: ...ource Listing http www infineon com xmc led ccexp Documents Board User Manuals Product Brief Application Note Application examples SW Videos 42 Copyright Infineon Technologies AG 2016 All rights reser...

Page 43: ...Agenda Kit Overview Hardware Overview Tooling Overview Getting Started Resource Listing Support Material 1 2 3 4 5 6 43 Copyright Infineon Technologies AG 2016 All rights reserved...

Page 44: ...echnical Videos Product Information Videos Forums Product Support Support Material Collaterals and Brochures Technical Material Videos Contact www infineon com XMC www infineon com XMC Kits and Boards...

Page 45: ...face 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...

Page 46: ...r 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 wi...

Page 47: ......

Reviews: