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
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.
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.
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
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.
Shuts down the on-board regulator that generates the
interface supply
NOTE
For correct operation, connect the reference board to a USB port capable of supplying 500 mA.
5.2 USB Interface
The DA9318 direct charging board uses an ATMEL® SAM3U® microcontroller as the USB
transceiver, programmed to deliver the following functionalities:
2
●I
C control interfaces.
●Discrete digital IO control (General Purpose Input Output (GPIO) and dedicated functions).
5.2.1 USB Power and GUI Reset
The USB is powered by an on-board regulator (VR2), see Figure 7. Pressing the USB RESET switch
S3 shuts down the on-board regulator VR2, powering down the supply for the SAM3U (USB I2C
interface). This resets the GUI communication with the reference board.
Figure 7: USB Interface Connector and Reset Switch
Table 2: Power Configuration Switch
5.3 Power Supplies
The DA9318 direct charging board is powered up when a power source is connected to IN (J48). IN
operating voltage range is +5.5 V to +10.5 V.
The VDD_IO voltage is generated by an on-board regulator (VR1) supplied from the +5 V USB. By
default, the on-board generated VDD_IO is +1.8 V (J26 jumper is POP, J27 jumper is UNPOP):
● To change the on-board VDD_IO to +2.8 V, J27 must be fitted while J26 is UNPOP.
● To change the on-board VDD_IO to +3.3 V, J26 and J27 must be UNPOP.
The board is controlled using a graphical user interface (GUI), which requires a PC operating
Windows® 2000/XP/Vista/Windows 7 with a USB1.1 or USB2 interface. The GUI allows the user to:
● Perform raw write and read operations to all control registers on Dialog and non-Dialog ICs.
● Monitor the charging status.
● Plot the DA9318 efficiency over time with saving and zoom feature.
● Plot the master charger efficiency over time with saving and zoom feature.
● Plot the DA9318 temperature over time with saving and zoom feature.
● Poll the DA9318 registers.
● Read ADC data from DA9318 (V
● Read ADC data from external ADC ICs (V
enabled.
●Control the TA voltage and current limit; and master charger voltage termination, charge current
and current limit.
● Send default settings.
● Read all registers displayed.
● Clear faults.
, V
BAT
, IIN, I
IN
and T
OUT
, V
BAT
, I
IN
IN
) when the DA9318 is enabled.
JUNC
and I
) when the master charger is
OUT
6.1 GUI Installation
The files required to install the software are available on the supplied USB drive. To install the
DA9318 reference board software:
1. Run setup_DA9318_Reference_GUI.x.x.x.xx.exe.
2. On completion, insert the USB cable and apply V
a. For first time users Windows should detect the attached USB device. If this is not the case, it
may be necessary to install the driver by navigating to the required driver file in the USB
driver directory, see section 6.2. After installing the driver, reboot the PC to ensure correct
operation.
3. Start the software by running DA9318 Reference GUI.exe.
Once the installation is completed, you may need to restart your computer.
When the software is installed, insert the USB cable before applying V
SmartCanvas software can be started after power up.
and VIN. The DA9318
SYS
6.2 Initial USB Connection
On connecting the USB to the PC for the first time, the SAM3U USB driver will request driver
updating/installation from the Windows operating system. On Windows 7 (32-bit) operating systems
(OS) the driver usually installs automatically. On Windows 7 (64-bit) machines it is common for the
complete driver installation to fail. If this happens, install the driver manually by following these steps:
1. Control Panel→ Devices and Printers (double-click device with yellow exclamation sign).
A display size other than the recommended setting will affect the way in which the panels appear.
7 GUI Software
Run the DA9318 Reference Board GUI software by clicking the shortcut on the appropriate item in
the Start menu (All Programs→Dialog Semiconductor→Power Management→DA9318 Reference GUI). The screen shown in Figure 14 is displayed.
The minimum recommended setting for the PC display size is 1024x768 pixels. Font size on the PC
display should be Normal (95 dpi).
The polling switch enables or disables polling of the device registers and the refreshing of the
registers’ controls on the GUI interface.
Figure 15: Polling
7.2.2 Charging Status Indicators
The Status Indicators window, see Figure 16, displays the following information:
●Pre-Charge: When the battery voltage is below 3 V (V
lower charge current of 128 mA.
), the battery is pre-charged at a
BATLOW
●Constant-Current: When the battery voltage is above 3 V and below the constant voltage
threshold; this indicator will light green. This indictor will also light green in conjunction with the
Slave Charging indicator during direct charger.
●Constant-Voltage: When the battery voltage reaches the master charger constant voltage
termination voltage threshold, this indicator will light green indicating charger is in constant
voltage.
●Slave Charging: This indicator will light green when slave charging (DA9318) is enabled
indicating direct charging.
●DONE: This indicator will light green when charge cycle is complete.
The update actions are as follows:
●Read All Registers – even if the hardware device is not being actively polled then all the
registers can be polled once by pressing this button.
The Raw I/O control sends the entered device address, register address and data on the I2C
communications interface. If the information sent is not valid then the I2C message will return NACK
an error message will be displayed in the Status window.
Figure 18: Raw I/O
7.2.4 Interface Control Information
In the View menu, click on Status, the Status window is displayed.
In the Status window, select the Log tab and Log Level:Info. This will display interface control
information including: name, parent register and the bits to which this control corresponds, current
value, whether it is read-only or R/W access, and finally a description of each possible setting.
Figure 19: Interface Control Information
7.2.5 I2C Bus Scan
In the Tools menu, click on Scan I2C, the I2C Bus Scan window is displayed.
In the I2C Bus Scan window, selected Scan. Once the scan has completed, all I2C slave addresses
The battery voltage should be less than 3.6 V to allow for a 6 A initial charge current.
NOTE
Unless the watchdog timer is serviced, it is recommended to disable it by disabling the Chgr Watchdog switch
while the master charger is enabled.
This is to ensure that the master charger does not initiate a power-on-reset when the watchdog timer has
expired. Indeed, when the watchdog timer has expired, the device returns to default mode and all registers are
reset to default values.
7.3.1 Operational Steps
The following operational steps assume that a battery is inserted initially and then the TA is inserted
to J81. In addition, J30 must be connected to the USB port of a computer for I2C communication
using the DA9318 Reference Board SmartCanvas GUI software.
The button or status indicator locations for each operational step are highlighted in Figure 23:
1. Click the Read All button, to read all registers to their current states.
2. Click the Send DFLT button, to send the default settings/
3. Click the No Faults button, to clear any faults.
4. Enable the Polling switch. The Constant-Current status indicator flags green, signaling that the
master charger is enabled.
5. Enable the Master/Slave switch. Direct charging is enabled via DA9318 and the Constant- Current and Slave Charging status indicators flag green.
6. When the Constant-Voltage status indicator flags green, step down the TA CC Setting by
100 mA steps (or greater initially) until the minimum value is reached (400 mA). Note that for
each step the Constant-Voltage status indicator will alternately flag red and green as the battery
charges up.
7. When the TA CC Setting has reached the minimum value, disable the Master/Slave switch to
return to master charger until the DONE status indicator flags green, signaling the end of the
charge cycle.
The content of this document is under review and subject to formal approval, which may result in
modifications or additions.
APPROVED
or unmarked
The content of this document has been approved for publication.
Contacting Dialog Semiconductor
United Kingdom (Headquarters)
Dialog Semiconductor (UK) LTD
Phone: +44 1793 757700
Germany
Dialog Semiconductor GmbH
Phone: +49 7021 805-0
The Netherlands
Dialog Semiconductor B.V.
Phone: +31 73 640 8822
North America
Dialog Semiconductor Inc.
Phone: +1 408 845 8500
Japan
Dialog Semiconductor K. K.
Phone: +81 3 5425 4567
Taiwan
Dialog Semiconductor Taiwan
Phone: +886 281 786 222
Singapore
Dialog Semiconductor Singapore
Phone: +65 64 8499 29
Hong Kong
Dialog Semiconductor Hong Kong
Phone: +852 3769 5200
Korea
Dialog Semiconductor Korea
Phone: +82 2 3469 8200
China (Shenzhen)
Dialog Semiconductor China
Phone: +86 755 2981 3669
China (Shanghai)
Dialog Semiconductor China
Phone: +86 21 5424 9058
Email:
enquiry@diasemi.com
Web site:
www.dialog-semiconductor.com
Status Definitions
Disclaimer
Information in this document is believed to be accurate and reliable. However, Dialog Semiconductor does not give any
representations or warranties, expressed or implied, as to the accuracy or completeness of such information. Dialog
Semiconductor furthermore takes no responsibility whatsoever for the content in this document if provided by any information
source outside of Dialog Semiconductor.
Dialog Semiconductor reserves the right to change without notice the information published in this document, including without
limitation the specification and the design of the related semiconductor products, software and applications.
Applications, software, and semiconductor products described in this document are for illustrative purposes only. Dialog
Semiconductor makes no representation or warranty that such applications, software and semiconductor products will be
suitable for the specified use without further testing or modification. Unless otherwise agreed in writing, such testing or
modification is the sole responsibility of the customer and Dialog Semiconductor excludes all liability in this respect.
Customer notes that nothing in this document may be construed as a license for customer to use the Dialog Semiconductor
products, software and applications referred to in this document. Such license must be separately sought by customer with
Dialog Semiconductor.
All use of Dialog Semiconductor products, software and applications referred to in this document are subject to Dialog
Semiconductor’s Standard Terms and Conditions of Sale, available on the company website (www.dialog-semiconductor.com)
unless otherwise stated.
Dialog and the Dialog logo are trademarks of Dialog Semiconductor plc or its subsidiaries. All other product or service names