Dialog DA9318 User Manual

User Manual
DA9318 Direct Charging
Reference Board
UM-PM-022

Abstract

This document describes the hardware and software used to evaluate the DA9318 direct charging reference board.
UM-PM-022
DA9318 Direct Charging Reference Board
User Manual
Revision 1.0
1-Mar-2017
CFR0012
2 of 27
© 2017 Dialog Semiconductor

Contents

Abstract ................................................................................................................................................ 1
Contents ............................................................................................................................................... 2
1 Terms and Definitions ................................................................................................................... 3
2 References ..................................................................................................................................... 3
3 Introduction.................................................................................................................................... 4
4 Functional Description ................................................................................................................. 6
4.1 Master Charger ..................................................................................................................... 6
4.2 Power Monitor ....................................................................................................................... 7
4.3 Direct Charging ..................................................................................................................... 7
4.4 Over-Voltage Protection ........................................................................................................ 7
4.5 Direct Charging Sequence .................................................................................................... 8
5 DA9318 Direct Charging Reference Board Hardware ................................................................ 9
5.1 Default Link Positions and Connector Definitions ............................................................... 10
5.2 USB Interface ...................................................................................................................... 14
5.2.1 USB Power and GUI Reset ................................................................................. 14
5.3 Power Supplies ................................................................................................................... 14
6 DA9318 Direct Charging Reference Board Software ............................................................... 15
6.1 GUI Installation .................................................................................................................... 15
6.1.1 GUI Installation Step By Step Guide ................................................................... 16
6.2 Initial USB Connection ........................................................................................................ 19
7 GUI Software ................................................................................................................................ 20
7.1 Controls ............................................................................................................................... 20
7.2 Control Widgets ................................................................................................................... 21
7.2.1 Enable/Disable Polling ......................................................................................... 21
7.2.2 Charging Status Indicators .................................................................................. 21
7.2.3 Raw I/O ................................................................................................................ 22
7.2.4 Interface Control Information ............................................................................... 22
7.2.5 I2C Bus Scan ........................................................................................................ 22
7.2.6 Settings ................................................................................................................ 23
7.3 Quick Start Guide ................................................................................................................ 24
7.3.1 Operational Steps ................................................................................................ 25
Revision History ................................................................................................................................ 26
UM-PM-022
DA9318 Direct Charging Reference Board
User Manual
Revision 1.0
1-Mar-2017
CFR0012
3 of 27
© 2017 Dialog Semiconductor

1 Terms and Definitions

GND Ground GUI Graphical User Interface IC Integrated Circuit JTAG Joint Test Action Group LED Light Emitting Diode LS Level Shifter OTG On-The-Go PC Personal Computer PD Power Delivery RCP Reverse Current Protection SAM3U USB I2C Interface SCL Serial CLock SDA Serial DAta TA Travel Adaptor USB Universal Serial Bus

2 References

[1] DA9318 Datasheet, Dialog Semiconductor [2] 329-03-A_ SCH.pdf, Dialog Semiconductor
UM-PM-022
DA9318 Direct Charging Reference Board
User Manual
Revision 1.0
1-Mar-2017
CFR0012
4 of 27
© 2017 Dialog Semiconductor
DA9318 Direct Charging Reference Board
DA9318
Type-C Receptacle
VBUS
Master Charger
SYS
Atmel
SAM3U
D+ D-
VBUS
GND
SYS
BAT
Mini-B
Receptacle
SW
BAT
IN
IN OUT
D+ PORT D- PORT
SCL SDA
IN D+ SAM3U D- SAM3U
GPIO
LP3871
3V3
Travel
Adaptor
Battery
Emulator
Load
nCE
nCE
nPG STAT
nCPEN
nCPEN
SYS
ILIM
IUSB[2:0]
ILIM
GND
INA219
IN+ IN-
VS
SCL SDA
SYS
GND
GND
Hammer board
nPG nCHG
Power Supply
PGND
PMID
SCL SDA
BOOT
3V3
MPC4725
VDD SCL SDA
4V9
VSS
VOUT
D+ PORT
D- PORT
D+ DAC
MPC4725
VDD SCL SDA
4V9
VSS
VOUT
D- DAC
nCS SCLK MOSI MISO
I2C
SPI
D+ SAM3U
D- SAM3U
FAN25
58
1V8
1V8
+5V_USB
+5V_USB
OTG
nQON
GND
VBUS CON
VBUS
SYS
TPD1S514
J37
RS
10 mΩ
INA219
IN+ IN-
VS
SCL SDA
SYS
RS
10 mΩ
DLINK
DLINK
LP3878
4V9
HV LS
I2C_HV
SDA_HV
SCL_HV
SDA_HV
SCL_HV
SDA_HV
SCL_HV
4V91V8
CC1 CC2
FUSB302B
SCL SDA
CC1 CC2
VDD
4V9
J64

3 Introduction

The purpose of the reference board is to demonstrate DA9318 in a direct charging application. The document covers a normal charging cycle, using an off-the-shelf charger IC and a charging cycle
with the direct charging enabled. Direct charging means connecting the travel adaptor (TA) directly to the battery in the constant current charging phase. A block diagram of the DA9318 direct charging reference board is shown in Figure 1.
The DA9318 direct charging reference board, see Figure 2, facilitates the measurement, evaluation, and configuration of a battery charging cycle when connected to a TA that includes the iW1780H primary side controller and iW676 secondary side controller chip set.
Dialog’s software package SmartCanvas™ uses a simple graphical user interface which enables DA9318 to be controlled via the USB port of a PC. The mini USB connection is visible on the left side of the board. When the cable is connected to the USB port of the PC the green LED (D1) is on.
The board contains jumper links, see Figure 6, to provide access to alternative configurations and measurement test points. Most standard operating modes are evaluated with minimal link changes.
Figure 1: DA9318 Direct Charging Block Diagram
UM-PM-022
DA9318 Direct Charging Reference Board
User Manual
Revision 1.0
1-Mar-2017
CFR0012
5 of 27
© 2017 Dialog Semiconductor
Figure 2: DA9318 Direct Charging Reference Board (329-03-A)
UM-PM-022
DA9318 Direct Charging Reference Board
User Manual
Revision 1.0
1-Mar-2017
CFR0012
6 of 27
© 2017 Dialog Semiconductor
DA9318
Master Charger
SYS
SW
BAT
IN
IN OUT
nCPEN
nCE
+
-
SYSVBUS
'0'
1'
DA9318
Master Charger
SYS
SW
BAT
IN
IN OUT
nCPEN
nCE
+
-
SYSVBUS
'1'
0'

4 Functional Description

During direct charging the master charger of the battery operated device is bypassed and the TA is directly connected to the battery.
The difference between normal charging and direct charging is illustrated in Figure 3. In order for the direct charging to work, the TA has to have a configurable output voltage and current
limit.
Figure 3: Normal Charging (Top) and Direct Charging (Bottom)

4.1 Master Charger

The master charger is capable of handling a complete charging cycle without host interaction. The input current limit is set via GPIOs and the charging current and dynamic power management
thresholds are set with external pull-down resistors. The charging statuses are communicated via LEDs. The master charger can be enabled with the
nCE signal driven from the microcontroller. During direct charging the master charger is disabled.
UM-PM-022
DA9318 Direct Charging Reference Board
User Manual
Revision 1.0
1-Mar-2017
CFR0012
7 of 27
© 2017 Dialog Semiconductor

4.2 Power Monitor

Two power monitor ICs (INA226), fitted on the DA9318 direct charging reference board, allow for measurement of the master charger input voltage and input current, and for monitoring the battery current and voltage.
That information is read out via the I2C interface and used in the control GUI software running on the PC.
When direct charging is enabled, the DA9318 internal ADC is monitoring the input/output current and input/output voltage.
Power monitoring is a safety feature associated with direct charging. The input power of the mobile device has to be compared to the output power of the TA. A mismatch indicates a fault condition and the charging has to be terminated.

4.3 Direct Charging

Reverse current protection (RCP) is enabled whenever DA9318 is not in the ACTIVE mode. DA9318 is capable of starting up when V
V
IN2OUT_MAX
When the above conditions are satisfied the DA9318 can be enabled by writing CP_EN to allow for direct charging. The TA voltage is set accordingly to allow an initial 6 A charge current into the battery.
During direct charging the master charger is disabled.
. If V
is not within the accepted range during start-up, the start-up is aborted.
IN
is within the accepted range defined by V
IN
IN2OUT_MIN
and

4.4 Over-Voltage Protection

Over-voltage protection (OVP) is needed for general protection of devices connected to VBUS.
TI TPD1S514, Fairchild FPF2280, and Kinetic KTS1682 can be used as they all are pinout
compatible parts with very similar feature sets.
UM-PM-022
DA9318 Direct Charging Reference Board
User Manual
Revision 1.0
1-Mar-2017
CFR0012
8 of 27
© 2017 Dialog Semiconductor
NOTE
The DA9318 direct charging reference board communication to the TA is achieved using a Dialog proprietary secondary-side to primary-side digital link communication protocol. The sequence diagram in Figure 4 is provided for information only. Please contact ic-support@diasemi.com for more information.
DA9318TA
Main
Charger
Read (VBAT)
loop
PC
Power
Monitor
TA
Control
nPG=0'
Read VBAT
Configure target VBUS
based on BATT
Write (TARG_VBUS)
TA Control implements first BCS
signaling and then attempts setting
VBUS via QC or AFC signalling
Set (VBUS)
Done
Read (VBUS)
If VBUS rises to the
target value, direct
charging is continued
nCE=1'
CP_EN=1'
loop
Read (IIN)
Direct charging begins
Read (VBUS)
Write (TARG_VBUS)
Write (TARG_ILIM)
As VBAT rises the output voltage of the
TA is increased. After the target VBAT is hit the current limit of the TA is step-
wise reduced
Set (VBUS)
loop
Direct charging ends
CP_EN=0'
nCE=0'
Set (ILIM)
The TA ramps up
the voltage
Write (TARG_ILIM)
Set (ILIM)
The main charger
starts charging
automatically
The main charger
handles the rest of the
charging cycle
Read (VBAT)
Battery connected
Mini USB connected
TA connected

4.5 Direct Charging Sequence

A sequence diagram for direct charging is depicted in Figure 4.
Figure 4: Sequence Diagram for Direct Charging
UM-PM-022
DA9318 Direct Charging Reference Board
User Manual
Revision 1.0
1-Mar-2017
CFR0012
9 of 27
© 2017 Dialog Semiconductor
Master Charger /

5 DA9318 Direct Charging Reference Board Hardware

The DA9318 direct charging reference board functionality can be broken down into sections, see
Figure 5:
USB Type-C
Master charger / ADCs.
DA9318 direct charging.
USB interface (I
Voltage monitoring connectors and IOs.
Battery and system connectors.
cable input, OVP switch, input connector.
2
C communication) and USB reset.
USB Type-C Cable Input, OVP
Switch, Input Connector
USB Interface (I2C
Communication) and USB
Reset
Figure 5: Functional Sections
DA9318 Direct Charging
Battery and
System
Connectors
ADCs
Voltage Monitoring Connectors and IOs
Loading...
+ 18 hidden pages