Infineon Designer powered by TinaCloud

48V inverse buck LED driver for RGB color controlling with BSR606N and XMC1200

Open online SPICE simulator circuit link: lighting_led_48V_inverse_buck_BSR606N_XMC1200_RGB.tsc


Controlling RGB LED Color with BCCU
(Inverse Buck LED Driver up to 48V)

How to program the microcontroller:
1. Build project in DAVE
2. Export project into a .zip
3. Click on the microcontroller symbol
4. Click on the "MCU-code" details, then select "Upload"
5. Drag and drop the .zip file created earlier
6. Click "Upload", then click "OK"
7. (optional) Launch debugger by clicking on the "TR" button on the top right

This example demonstrates how easily the color of the light emitted by an
RGB LED (3-channel LED) can be controlled by the BCCU in XMC1200,
based on the DAVE project "RGB_LED_Example_Color_Control".

The following code lines have been changed to speed up the color walk:
(line 185) XMC_BCCU_CH_SetLinearWalkPrescaler(R_LED1_CH, 0x1);
(line 186) XMC_BCCU_CH_SetLinearWalkPrescaler(G_LED1_CH, 0x1);
(line 187) XMC_BCCU_CH_SetLinearWalkPrescaler(B_LED1_CH, 0x1);
(line 193) SysTick_Config(24000U);

Inverse buck circuits are ideal for driving high brightness LEDs. This example
drives 3 RGB LED matrices for up to 48V supply voltage. The selected 60V
OptiMOS™ MOSFET is perfect thanks to its low cost, low gate charge.
This power stage can be found on the RGB LED Lighting Shield with
XMC1202 for Arduino.

Human vision

Evaluation board: RGB LED Lighting Shield
Product info: OptiMOS™ BSR606N

Other circuits
Development platform: DAVE™
DAVE code: RGB LED Example
Application Note: Brightness and Color Control Unit (BCCU)
Reference manual: XMC1200 AB-Step
Product info: XMC1200-T038F0200 AB

Technical Assistance