QSG151: USB Type-C Rechargeable Battery Pack Reference … · 2020. 6. 29. · Busy Bee...

9
QSG151: USB Type-C Rechargeable Battery Pack Reference Design (SLRDK1000) SLRDK1000A is a reference design for a small and cost effective USB Type-C rechargeable battery pack. A Silicon Labs EFM8BB3 Busy Bee microcontroller is used for USB Type-C Power Delivery (PD) negotiation. The USB Type-C Battery Pack Reference Design ships with a ready to use demo firm- ware that is capable of operating in both sink and source mode, delivering up to 15 W (3.0 A at 5 V) of output power or charging a connected Lithium battery with up to 1.8 A charge current. An on-board SEGGER J-Link debugger enables easy customization and development. KIT CONTENTS EFM8BB3 USB Type-C Rechargeable Battery Pack Reference Design Board USB Type-C cable USB micro cable Getting Started card silabs.com | Building a more connected world. Rev. 0.1 Not Recommended for New Designs

Transcript of QSG151: USB Type-C Rechargeable Battery Pack Reference … · 2020. 6. 29. · Busy Bee...

Page 1: QSG151: USB Type-C Rechargeable Battery Pack Reference … · 2020. 6. 29. · Busy Bee microcontroller is used for USB Type-C Power Delivery (PD) negotiation. The USB Type-C Battery

QSG151: USB Type-C RechargeableBattery Pack Reference Design(SLRDK1000)

SLRDK1000A is a reference design for a small and cost effectiveUSB Type-C rechargeable battery pack. A Silicon Labs EFM8BB3Busy Bee microcontroller is used for USB Type-C Power Delivery(PD) negotiation.The USB Type-C Battery Pack Reference Design ships with a ready to use demo firm-ware that is capable of operating in both sink and source mode, delivering up to 15 W(3.0 A at 5 V) of output power or charging a connected Lithium battery with up to 1.8 Acharge current.

An on-board SEGGER J-Link debugger enables easy customization and development.

KIT CONTENTS

• EFM8BB3 USB Type-C RechargeableBattery Pack Reference Design Board

• USB Type-C cable• USB micro cable• Getting Started card

silabs.com | Building a more connected world. Rev. 0.1

Not Rec

ommen

ded f

or New

Des

igns

Page 2: QSG151: USB Type-C Rechargeable Battery Pack Reference … · 2020. 6. 29. · Busy Bee microcontroller is used for USB Type-C Power Delivery (PD) negotiation. The USB Type-C Battery

1. Getting Started

Set Up the Hardware

1. Connect the Lithium-Ion battery to the JST connector or to the battery terminals. See the User Guide listed in 2. Resources formore information on decoding the [CHARGE S0] and [CHARGE S1] LEDs.

2. Connect a USB Type-C device (phone, tablet, laptop, etc.) to the board.

1

2

QSG151: USB Type-C Rechargeable Battery Pack Reference Design (SLRDK1000)Getting Started

silabs.com | Building a more connected world. Rev. 0.1 | 2

Not Rec

ommen

ded f

or New

Des

igns

Page 3: QSG151: USB Type-C Rechargeable Battery Pack Reference … · 2020. 6. 29. · Busy Bee microcontroller is used for USB Type-C Power Delivery (PD) negotiation. The USB Type-C Battery

Charge the Battery or the USB Type-C Device

1. If [LED0] is on and [LED1] is off, this indicates the board is sourcing power. If [LED0] is off and [LED1] is on, this indicates theboard is sinking power. The LED labeled [BOOST ACT] will turn on whenever the output current of the boost converter is higherthan 50 mA.

2. Press the [MODE] button to switch between sourcing or sinking power. Sourcing power will charge the USB Type-C device, whilesinking power will charge the battery from the USB Type-C device.

1

2

Table 1.1. LED State Decoder

LED0 LED1 BOOST ACT Description

On Off X Board is sourcing power.

Off On X Board is sinking power.

X X On The output current of the boost converter is higher than 50 mA.

Access the Reference Design Firmware

To view, edit, or build the reference design firmware, download Simplicity Studio from the Silicon Labs website and install or update tothe [8051 SDK v4.0.7] package or later.

QSG151: USB Type-C Rechargeable Battery Pack Reference Design (SLRDK1000)Getting Started

silabs.com | Building a more connected world. Rev. 0.1 | 3

Not Rec

ommen

ded f

or New

Des

igns

Page 4: QSG151: USB Type-C Rechargeable Battery Pack Reference … · 2020. 6. 29. · Busy Bee microcontroller is used for USB Type-C Power Delivery (PD) negotiation. The USB Type-C Battery

Detect Your Device

1. Connect the board to the PC running Simplicity Studio using the J-LINK micro USB connector and the provided cable. The blueLED near the connector should turn on.

2. Click the [Refresh] button in the [Device] area. The board may take some time to appear due to driver installations for the debugadapter.

1

2

QSG151: USB Type-C Rechargeable Battery Pack Reference Design (SLRDK1000)Getting Started

silabs.com | Building a more connected world. Rev. 0.1 | 4

Not Rec

ommen

ded f

or New

Des

igns

Page 5: QSG151: USB Type-C Rechargeable Battery Pack Reference … · 2020. 6. 29. · Busy Bee microcontroller is used for USB Type-C Power Delivery (PD) negotiation. The USB Type-C Battery

Open the Reference Design Project

In the [Getting Started] area, click on the [EFM8BB3 USBC BatteryPack] example in the [Software Examples] column to open theexample in the Simplicity IDE.

QSG151: USB Type-C Rechargeable Battery Pack Reference Design (SLRDK1000)Getting Started

silabs.com | Building a more connected world. Rev. 0.1 | 5

Not Rec

ommen

ded f

or New

Des

igns

Page 6: QSG151: USB Type-C Rechargeable Battery Pack Reference … · 2020. 6. 29. · Busy Bee microcontroller is used for USB Type-C Power Delivery (PD) negotiation. The USB Type-C Battery

Download the Code

1. Build and download to the device using the [Debug] button.2. Press the [Resume] button to start running the firmware.

1

2

Start Developing

Refer to the application note, AN1101: USB Type-C Rechargeable Dual Role Port, for an overview of the firmware operation. Applica-tion notes can be found on the Silicon Labs website (www.silabs.com/8bit-appnotes) or in Simplicity Studio.

QSG151: USB Type-C Rechargeable Battery Pack Reference Design (SLRDK1000)Getting Started

silabs.com | Building a more connected world. Rev. 0.1 | 6

Not Rec

ommen

ded f

or New

Des

igns

Page 7: QSG151: USB Type-C Rechargeable Battery Pack Reference … · 2020. 6. 29. · Busy Bee microcontroller is used for USB Type-C Power Delivery (PD) negotiation. The USB Type-C Battery

2. Resources

Hardware, Software, and Device Overviews

The user guide, UG296: USB Type-C Rechargeable Battery Pack Reference Design, contains detailed information on the board andstatus information presented by the LEDs. This user guide is available on the Silicon Labs website (www.silabs.com/support/resour-ces.ct-manuals_user-guides.p-microcontrollers_8-bit-mcus_efm8-busy-bee) or in Simplicity Studio in the [Documentation] area.

The application note, AN1101: USB Type-C Rechargeable Dual Role Port, contains more information on the firmware operation. Appli-cation notes can be found on the Silicon Labs website (www.silabs.com/8bit-appnotes) or in Simplicity Studio in the [Documentation]area.

The EFM8BB3 device data sheet and reference manual contain detailed information on the operation of the device. Device documenta-tion can be found on the Silicon Labs website (www.silabs.com/support/resources.ct-data-sheets.ct-manuals_reference-manuals.p-mi-crocontrollers_8-bit-mcus_efm8-busy-bee) or in Simplicity Studio in the [Documentation] area.

Learn More About USB Type-C

Additional resources and information on USB Type-C can be found on the Silicon Labs website (www.silabs.com/usb-type-c).

QSG151: USB Type-C Rechargeable Battery Pack Reference Design (SLRDK1000)Resources

silabs.com | Building a more connected world. Rev. 0.1 | 7

Not Rec

ommen

ded f

or New

Des

igns

Page 8: QSG151: USB Type-C Rechargeable Battery Pack Reference … · 2020. 6. 29. · Busy Bee microcontroller is used for USB Type-C Power Delivery (PD) negotiation. The USB Type-C Battery

Community and Support

Have a question? Visit the community by visiting the Silicon Labs Community website or by clicking the [Community] link in the [Re-sources] area in Simplicity Studio.

QSG151: USB Type-C Rechargeable Battery Pack Reference Design (SLRDK1000)Resources

silabs.com | Building a more connected world. Rev. 0.1 | 8

Not Rec

ommen

ded f

or New

Des

igns

Page 9: QSG151: USB Type-C Rechargeable Battery Pack Reference … · 2020. 6. 29. · Busy Bee microcontroller is used for USB Type-C Power Delivery (PD) negotiation. The USB Type-C Battery

http://www.silabs.com

Silicon Laboratories Inc.400 West Cesar ChavezAustin, TX 78701USA

Simplicity StudioOne-click access to MCU and wireless tools, documentation, software, source code libraries & more. Available for Windows, Mac and Linux!

IoT Portfoliowww.silabs.com/IoT

SW/HWwww.silabs.com/simplicity

Qualitywww.silabs.com/quality

Support and Communitycommunity.silabs.com

DisclaimerSilicon Labs intends to provide customers with the latest, accurate, and in-depth documentation of all peripherals and modules available for system and software implementers using or intending to use the Silicon Labs products. Characterization data, available modules and peripherals, memory sizes and memory addresses refer to each specific device, and "Typical" parameters provided can and do vary in different applications. Application examples described herein are for illustrative purposes only. Silicon Labs reserves the right to make changes without further notice and limitation to product information, specifications, and descriptions herein, and does not give warranties as to the accuracy or completeness of the included information. Silicon Labs shall have no liability for the consequences of use of the information supplied herein. This document does not imply or express copyright licenses granted hereunder to design or fabricate any integrated circuits. The products are not designed or authorized to be used within any Life Support System without the specific written consent of Silicon Labs. A "Life Support System" is any product or system intended to support or sustain life and/or health, which, if it fails, can be reasonably expected to result in significant personal injury or death. Silicon Labs products are not designed or authorized for military applications. Silicon Labs products shall under no circumstances be used in weapons of mass destruction including (but not limited to) nuclear, biological or chemical weapons, or missiles capable of delivering such weapons.

Trademark InformationSilicon Laboratories Inc.® , Silicon Laboratories®, Silicon Labs®, SiLabs® and the Silicon Labs logo®, Bluegiga®, Bluegiga Logo®, Clockbuilder®, CMEMS®, DSPLL®, EFM®, EFM32®, EFR, Ember®, Energy Micro, Energy Micro logo and combinations thereof, "the world’s most energy friendly microcontrollers", Ember®, EZLink®, EZRadio®, EZRadioPRO®, Gecko®, ISOmodem®, Micrium, Precision32®, ProSLIC®, Simplicity Studio®, SiPHY®, Telegesis, the Telegesis Logo®, USBXpress®, Zentri and others are trademarks or registered trademarks of Silicon Labs. ARM, CORTEX, Cortex-M3 and THUMB are trademarks or registered trademarks of ARM Holdings. Keil is a registered trademark of ARM Limited. All other products or brand names mentioned herein are trademarks of their respective holders. Not

Recom

mende

d for

New D

esign

s