Analog Devices MAXREFDES1302 User manual

Type
User manual

Analog Devices MAXREFDES1302 is a True Wireless Stereo (TWS) reference design that provides a complete power and battery management solution for TWS applications. It features a small size, low power consumption, high efficiency, and outstanding accuracy with low cost. The design is fully tested and includes a cradle, earbuds, and a power delivery path. The cradle obtains power from USB and outputs 5V for 1-Wire charging, while the earbuds are powered by the cradle through DS2488 and charge the battery on the earbud side.

Analog Devices MAXREFDES1302 is a True Wireless Stereo (TWS) reference design that provides a complete power and battery management solution for TWS applications. It features a small size, low power consumption, high efficiency, and outstanding accuracy with low cost. The design is fully tested and includes a cradle, earbuds, and a power delivery path. The cradle obtains power from USB and outputs 5V for 1-Wire charging, while the earbuds are powered by the cradle through DS2488 and charge the battery on the earbud side.

Rev 0; 11/21
Introduction
MAXREFDES1302 is a reference design for TWS appli-
cation based on the Maxim 1-Wire® solution. This refer-
ence design provides power and battery management
solutions for the TWS cradle and earbuds (right & left),
including battery charging, battery monitoring, and power
management. An OLED display is mounted on the cradle
side to display earbud connection state, state-of-charge
(SOC in %) and remaining capacity (CAP in mAh) of bat-
teries of the cradle and earbuds. A serial port monitor can
also be used to show such information.
On the cradle side, USB Type-C® charging is realized
by the MAX77751, which integrates a 3.15A switch
charger and BC1.2. Also, USB Type-C Configuration
Channel (CC) detection pins of the MAX77751 enable
automatic USB Type-C power source detection and input
current limit configuration. The MAX17262 is used to
monitor battery remaining capacity and state-of-charge
of the batteries. The MAX17262 implements the Maxim
ModelGauge™ m5 EZ algorithm and features internal
current measurement for up to 3.1A pulse currents. The
MAX17224 is an ultra-low quiescent current boost DC-DC
converter with a 225mA/0.5A/1A peak inductor current
limit and True Shutdown™. The MAX38640 is nanoPower
family of ultra-low 330nA quiescent current buck (step-
down) DC-DC converters that operate from 1.8V to 5.5V
input voltage and support load currents of up to 175mA
with peak efficiency of 96%. While in shutdown, there is
only 5nA of shutdown current. The MAX32655 microcon-
troller is used to configure the fuel gauge, 1-Wire commu-
nication, and 1-Wire power transfer.
On the earbud side, the DS2488 provides a cost-effective
solution for power transfer and communication between
the TWS cradle and earbuds. The DS2488 is a low-cost
simple bridge device with a single dedicated contact on
each side of the bridge which enables power delivery
for the battery charging, small message exchange, and
the state reporting between two microcontroller-based
subsystems. The battery management system for ear-
buds consists of the MAX77734 and MAX17262. The
MAX77734 provides highly integrated battery charging
and power supply solutions for the low-power applications
where size and efficiency are critical. The MAX32655 on
the earbud side configures the MAX77734, MAX17262,
DS2488 and MAX98050. The MAX98050 is a low-power,
high-performance audio codec with integrated low-latency
digital filters for wireless hearables, headsets, and head-
phones.
Main features and benefits:
Integrated solution
Small size
Low power
High accuracy
Low cost
Table 1 and Table 2 provide an overview of the Cradle
design specification and the Earbuds design specification,
respectively.
Table 1. Cradle Design Specification
Table 2. Earbuds Design Specification
PARAMETER SYMBOL MIN MAX
Battery Voltage BAT 3.1V 4.6V
USB Input Voltage CHGIN 4.8V 5.2V
Boost 5V Output 5V 4.8V 5.2V
Buck 3.3V Output 3V3 3.2V 3.4V
PARAMETER SYMBOL MIN MAX
Battery Voltage VBAT 3.3V 4.6V
LDO 3.3V Output VCC_3.3 3.2V 3.4V
MCU 1.8V Output VCC_1.8 1.7V 1.9V
MCU 1.2V Output VCC_1.2 1.1V 1.3V
Maxim is a registered trademark of Maxim Integrated Products, Inc.
1-Wire is a registered trademark of Maxim Integrated Products, Inc.
USB-C is a registered trademark of the USB Implementers Forum, Inc.
Arm is a registered trademark and a registered service mark of Arm Limited.
Cortex is a registered trademark of Arm Limited.
Bluetooth is a registered trademark of Bluetooth SIG, Inc.
ModelGauge is a trademark of Maxim Integrated Products, Inc.
True Shutdown is a trademark of Maxim Integrated Products.
Maxim 1-Wire True Wireless Stereo (TWS)
Cradle and Earbuds
Analog Devices
1
One Analog Way, Wilmington, MA 01887 U.S.A. | Tel: 781.329.4700 | © 2021 Analog Devices, Inc. All rights reserved.
© 2021 Analog Devices, Inc. All rights reserved. Trademarks and registered trademarks are the property of their respective owners.
MAXREFDES1302
Designed–Built–Tested
This document describes the hardware shown in the
Figure 1 and provides a detailed technical guide to design
a 1-Wire TWS power management system, which has a
small size, low power consumption, high efficiency, and
outstanding accuracy with low cost. The design is fully
tested, and technical details are shown in the following
sections.
Design Consideration
The power supply system for TWS applications has the
following features:
Small size – The size of the earbuds should be as
small as possible. Since more functions are needed
to be implemented into the device, the size of device
components plays an increasingly important role in
the design. The diversity of the functions provided by
the device directly depends on the number of compo-
nents the device could contain.
Low power – The batteries provide the power for the
whole system. Because of the limited size and energy
density of the battery, low power systems generally
have longer service life. Wearable devices usually
have two operation modes: standby mode and oper-
ation mode. The working time of the most devices in
standby mode accounts for over 90%, so it is import-
ant to reduce the standby current.
High eciency – In the latest TWS applications,
earbuds are typically charged by the cradle. However,
sometimes the battery voltage of the cradle may be
larger or smaller than the battery voltage of earbuds.
High VIN/VOUT ratio of earbuds charger may result
in the loss of output energy on the cradle side, and
generated heat on the earbud side.
High Accuracy – The earbuds require highly accu-
rate battery state-of-charge measurement, which is
required by the market.
Low Cost – The wearable headphones must be com-
petitive in price, which requires the cost of the whole
system to be as low as possible.
Figure 1. MAXREFDES1302 hardware.
www.analog.com Analog Devices
2
Design Procedure Power Solution
This power management platform includes a cradle, ear-
buds, and a power delivery path.
Step 1: Select Power Delivery Solution
For TWS applications, the cradle needs to supply power
to the earbuds. At the same time, it is necessary to
communicate between the two to realize the message
exchange and the real-time battery state update. Since
the size and cost are significantly important in the TWS
solutions, 1-Wire dual-port link IC-DS2488 is selected
to meet the design requirement. DS2488 provides a
cost-effective solution for the power transfer and com-
munication between the TWS cradle and earbuds. It is
a simple bridge device with a single dedicated contact
on each side of the bridge which enables power delivery
for the battery charging, small message exchange, and
the state reporting between two microcontroller-based
subsystems.
Step 2: Select Cradle Power Management
Solution
The cradle obtains power from USB and outputs 5V for
1-Wire charging. The 3.15A USB Type-C autonomous
charger, MAX77751, charges the 1-Cell Li+ battery
on the cradle side. The battery is monitored by the
MAX17262, which is an ultra-low power fuel-gauge IC
with integrated internal current sensing function. The
system requires two extra power rails: 3.3V and 5V.
The 3.3V power rail is generated by a buck convert-
er MAX38640. It provides power for microcontroller
MAX32655, as well as the OLED panel. The 5V power
rail is generated by a boost converter MAX17224 from
3.3V. It provides 5V stable power supply for the earbuds
via 1-Wire.
Step 3: Select Earbuds Power Management
Solution
The cradle delivers power to the earbuds through
DS2488 and charges the battery on the earbud side.
The MAX98050 needs 1.8V and 1.2V analog power
supplies and 3.3V, 1.8V and 1.2V digital power supplies.
The MAX32655 needs 3.3V digital power supply. The
MAX77734 integrates a linear-mode Li+ battery charger,
low-dropout linear regulator (LDO), analog multiplexer,
and dual-channel current sink driver. The MAX77734
provides one 150mA LDO to power the MAX32655,
and the Single-Inductor Multiple-Output (SIMO) inte-
grated with the MAX32655 can provide power for the
MAX98050.
Step 4: Calculate Current Consumption
Here is the current consumption of the earbuds in nor-
mal operation mode (BLE turned off) when the system is
only powered by the batteries. The current consumption
of the MAX32655 excluding SIMO can be calculated as:
MCU Z
Z
22.2uA
I 100MH 2.22mA
MH
= ×=
Here, 100MHz is the maximum frequency of the
MAX32655 with an average current of 22.2μA/MHz.
Thus, its maximum power is about 7.33mW when the
supply voltage is 3.3V.
The quiescent current with LDO enabled of the
MAX77734 is 18μA at 3.7V battery voltage, that is
75.6μW. The DS2488 only consumes 6μA at 3.3V in
active mode and the MAX17262 only consumes 16μA
at 3.7V battery voltage in active mode, so the total
power consumption of the DS2488 and the MAX17262
is 87μW. The MAX98050 full-scale playback power
is 31mW (32Ω Headphone). Since the MAX98050 is
powered by the MAX32655 SIMO output with 90% effi-
ciency, whole power consumption of the MAX98050 is
34.44mW. Thus, it can be assumed that the maximum
power consumption of the system is about 41.91mW. A
130mAh 3.7V battery can work for about 12 hours con-
tinuously to power the system.
Here is the current consumption of the cradle. The bat-
tery only quiescent current of the MAX77751 is 30μA
at 3.7V battery voltage, that is 111μW. The MAX17262
consumes 16μA at 3.7V battery voltage, which is
59.2μW. The quiescent supply current of the MAX17224
is 300nA at 3.3V output voltage, which is 0.99μW. The
quiescent supply current of the MAX38640 is 330nA at
3.3V input voltage, which is 1.01μW. The max power
of the MAX32655 excluding SIMO is about 7.33mW
when the supply voltage is 3.3V. The OLED module
VG-2832TSWUG01 is 0.33μW (100μA at VDD of 3.3V).
The consumption for the operation of the DS2488 via IOA
is 10μA at 5V, which is 50μW. Thus, it can be assumed
that the maximum power consumption of the system is
about 7.55mW. A 1500mAh 3.7V battery can work for
about 735 hours continuously to power the system.
Usually, there are two earbuds in the cradle. Given that
batteries on the cradle side and the earbud side are
charged to full and earbuds could not be charged when
the remaining battery capacity of the cradle is smaller
than 5%, the use time for one full charge of the whole
system battery life can be calculated as:
CRADLE BATTERY CAPAITY 95%
EARBUD BATTERY CAPCAITY 2
TIME CRADLE POWER CONSUMPTION
EARBUD POWER CONSUMPTION 2
(1500 95% 130 2)mAH 3.7V 68h
(7.55 41.91 2)mW
×
=
× +× ×
= ≈
Thus, the whole of the TWS headset system can work
continuously for 65 hours (about 3 days) for one full
charge.
www.analog.com Analog Devices
3
USB
Type
C
Conne
ctor
VBUS VSYS
CHGIN
MAX77751
ENBST BATT
Charging cradle
Earbuds
GND
I2C
MAX17262
BATT
TH
GND
ALRT
5V
SYS
SYS
/ALRT
I2C_BUS
MAX32655
VREGI
I2C0_SCL(P0.10)
I2C_BUS
I2C0_SDA(P0.11)
32OUT
RS TN
32KIN
SWDIO(P0.28)
SWCLK(P0.2 9)
OWM_IO(P0. 18)
OWM_PE(P0.19)
VSS
P2.0
SPI0_SS0(P0.4)
SPI0_SCK(P0.7)
SPI0_MOSI(P0.5)
P2.1
P2.2
RST K EY
ABS07-
32 .768K H
Z-6-T
SWD
3.3 V
CHG/IO
/ CS
S CL K
SDIN
D/C
/ RE S
/ALRT
OLED
Type C
Charger
Int ernal Current
Sen sing Fuel Gaug e
Li+
1-Wire/BLE/S IMO
MCU
LX
EN
OUT
IN
GND
MAX38640
Buck
LX
EN
OUT
IN
GND
MAX17224
Boo st
DS2488
VL
TO KE N
I OB PIOA
I OA
GND
MAX77734
LDO
B AT T
CHGIN I2C
I2C
MAX17262
B AT T
TH
GND
ALRT
S YS
I2C_BUS1
FG_ALRT
I2C
I RQ
BCLK
LRCLK
DIN
DOUT
INP1~3
INN1~3
DMC1~ 3
DMD1~ 3
MICB IAS1 ~3
OUT P
HW_EN
OUT N
A VD D 1
DVDDIO
DVDD
M BV D D
I2C_BUS2
IOB
External
Inpu t Port
DVI
Output
Port
MAX98050
S YS
VSYS
CD/PIOC
DNP VCC_3.3
PIOB
TO KE N
CHG/IO
I2C_BUS1
MAX32655
UART0A_RX(P0.0)
I2C0_SCL(P0.10)
I2C_BUS1
I2C0_SDA(P0.11)
RS TN
UART0A_TX(P0. 1)
SWDIO(P0.28)
SWCLK(P0.2 9)
VSS
P2.0
P2.1
P2.2
P2.3
VREGI
RST K EY
SWD
TOKEN
FG_ALRT
HFXKIN
HFXOUT
FA-20 H
32.0000 M
F12Y-W3
ANT
50Ω PCB
BLE_LDO_IN
VREGO_D
CHR/L
UART MODE
CHR/L
BLE_ANT_CTRL1(P1.9)
BLE_ANT_CTRL0(P1.8) ANT CTRL
A VD D 2~3
P2.4
VCC_3.3
1-Wire Link
Li+
Int ernal Current
Sen sing Fuel
Gaug e
IOB
Aud io Codec
GND
1-Wire/BLE/S IMO
MCU
PMIC with
Charger
GND
LDO_IN
I2C0_SCL(P0.30) I2C _BU S2
I2C0_SDA(P0.31)
VREGOA
VREGOB
VCC_1.8
VCC_1.2
VREGOC
VCOREA
VCOREB
VCC_1.2
VCC_1.2
VC C_1 .8
VCC_1.2
VC C_1 .8
VCC_1.8
PIOA P2.2
I2S
I2S_BUS
I2S(P1.2-1.5) I2S_BUS
PIOA
Figure 2. MAXREFDES1302 block diagram.
Detailed Description of Hardware
Figure 2 shows the block diagram of the
MAXREFDES1302. When the earbuds are connected
to the cradle via two touch points, the cradle starts
scanning and then sends a hand-shaking signal to the
earbuds. If the earbuds are detected, the cradle delivers
power to the earbuds to charge the batteries of the ear-
buds. At the same time, the cradle collects information of
the batteries on the earbud side is instantly available and
shows their state-of-charge. The cradle also measures
its own battery and shows its state-of-charge. The ear-
buds should be able to play audio when they are outside
the cradle. In this case, additional I2S audio inputs and
outputs are necessary.
www.analog.com Analog Devices
4
Microcontroller
The MAXREFDES1302 uses the MAX32655 micro-
controller on the cradle side and the earbud side. The
MAX32655 microcontroller is an advanced system-on-
chip featuring an Arm Cortex-M4F CPU for efficient
computation of complex functions and algorithms. The
MAX32655 integrates power regulation and manage-
ment with a SIMO buck regulator system and supports
1-Wire protocol. The MAX32655 also supports the latest
generation Bluetooth 5.2 Low Energy radio, supporting
low-energy audio transmission. The MAX32655 can
meet the design requirements perfectly due to its small-
size and low-power with large memory space, and it can
support 1-Wire interface and BLE. The push buttons
SW1 and SW2 can be used to reset the respective
microcontroller manually.
Audio Codec
The MAX98050 is a low-power, high-performance audio
coder/decoder (CODEC) with integrated low-latency
digital filters for the wireless hearables, headsets, and
headphones.
The MAX98050 features a mono playback channel with
a 5-band biquad equalizer and a high-efficiency, fully
differential hybrid class-AB/class-D headphone ampli-
fier. The playback headphone amplifier is optimized
for extremely low output noise levels and minimized
quiescent power consumption at highest output power
efficiency.
The MAX98050 has three microphone input channels,
which can support many audio cases. Each channel can
individually record from either an external analog or dig-
ital microphone, and then can route audio data to both
the record channels (to the digital audio interface) and
the internal low-latency digital filter channels. A fourth
record channel to the digital audio interface is provided
to allow the host to monitor the playback channel output
digital data.
The MAXREFDES1302 uses the MAX98050 on the
earbud board. All of the inputs and outputs of the
MAX98050 are reserved, which can help users to test
its performance.
Battery Measurement
The MAX77751 and the MAX17262 are used for cra-
dle battery management while the MAX77734 and the
MAX17262 are used for earbud battery management.
The MAX77751 is a standalone, 3.15A charger with
integrated USB Type-C CC detection and reverse boost
capability. The fast-charge current and top-off current
thresholds are easily configured with resistors. The
MAX77751 operates with an input voltage of 4.5V to
13.7V and has a maximum input current limit of 3A.
The IC also implements the adaptive input current limit
(AICL) function that regulates the input voltage by reduc-
ing the input current, to prevent the voltage of a weak
adapter from collapsing or folding back.
The MAX17262 is an ultra-low power fuel-gauge IC
which implements the Maxim ModelGauge m5 algorithm.
The MAX17262 monitors a single cell battery pack with
integrated internal current sensing for up to 3.1A pulse
current. The IC monitors a single-cell battery pack and
supports internal current sensing for up to 3.1A pulse
current. The IC provides the best performance for bat-
teries with 100mAhr to 6Ahr capacity. The ModelGauge
m5 EZ makes fuel-gauge implementation easy by elim-
inating battery characterization requirements and sim-
plifying host software interaction. The ModelGauge m5
EZ robust algorithm provides tolerance against battery
diversity for the most lithium batteries and applications.
The MAX77734 is a tiny power-management integrated
circuit (PMIC) for applications where size and simplicity
are critical. The IC integrates a linear-mode Li+ battery
charger, low-dropout linear regulator (LDO), analog mul-
tiplexer, and dual-channel current sink driver. The char-
ger is designed for small-battery systems that require
accurate termination as low as 0.375mA. The circuit
can instantly regulate the system voltage when an input
source is connected even if the battery is drained.
www.analog.com Analog Devices
5
Power Supply
On the cradle side, the MAX38640 is used to generate
a stable 3.3V output from VSYS to power the microcon-
troller and the OLED module. The MAX17224 is used to
generate a stable 5V output from 3.3V, which supplies
the charging current for the earbuds via 1-Wire bus.
A MOSFET is adopted to control the timing of 1-Wire
charge and 1-Wire communication.
On the earbud side, the MAX77734 features a 150mA
LDO, which provides ripple rejection for the audio and
other noise-sensitive applications. It provides the main
power for the MAX32655 and the MAX98050. The SIMO
of the MAX32655 provides the analog power rail for the
MAX98050.
The battery should be small while it needs to supply
enough energy for continuous operation of the cradle
and earbuds. A 1500mAh 3.7V Li+ battery is selected
in a cradle design for maintaining the operation of the
cradle and charging batteries of the earbuds. Its charge
termination voltage is 4.2V, and the MAX77751 on the
cradle side configures its fast-charging current to be
500mA, and its top-off charging current to be 100mA.
An 130mAh 3.7V Li+ battery is selected in the earbud
design for earbud working consumption. Its maximum
charging current is 100mA and its charge termination
voltage is 4.2V.
Data Communication
The cradle and earbuds need to shake hands and
communicate with each other. On the earbud side, the
DS2488 works as a simple bridge device between the
cradle and the earbud. The microcontrollers on the
cradle side and the earbud side can communicate with
the DS2488 via IOA pin and IOB pin, respectively. The
microcontrollers write or read the buffer of the DS2488
to realize small message exchange. Which side has the
token of the DS2488 can communicate with the DS2488.
For example, if the cradle has the token, it can write or
read the DS2488 via IOA pin. On the contrary, if the ear-
bud has the token, it can write or read the DS2488 via
IOB pin. Which side has the token depends on the state
of the earbuds.
When earbuds are in the cradle, and the cradle is
closed, the cradle charges the batteries of the earbuds.
At this moment, the token is on the earbud side and ear-
buds can update the information of the batteries into the
buffer via IOB pin. Once the cradle is open, the cradle
stops charging earbuds and the token is on the cradle
side. Thus, the cradle reads the buffer of the DS2488
and show the information of the earbud batteries and
the cradle battery on the OLED module or to the serial
port. At the same time, the cradle updates its own battery
information into the buffer for subsequent application
expansions.
When earbuds are not in the cradle, the token is on the
earbud side, and earbuds update the information of the
batteries into the buffer via IOB pin for the next connec-
tion between the cradle and earbuds. At this moment,
the cradle cannot detect any DS2488 and only shows its
own battery state.
Detailed Description of Firmware
The MAXREFDES1302 firmware includes two parts:
the cradle part and the earbud part. Both the two parts
consist of the peripheral (e.g., fuel gauge, PMIC, etc.)
initialization and configuration steps, and an infinite main
loop for 1-Wire control.
Cradle Firmware Part
After power-up, the microcontroller on the cradle side
initializes GPIOs, configures the fuel gauge, MAX17262,
and then configures the OLED module. Then it goes
into an infinite loop to poll the state of a GPIO which
indicates whether the cradle is open or not. If the cradle
is closed, the cradle disables 1-Wire module, enables
5V charge voltage to IOA to charge the earbuds. At this
moment, the cradle shows its own battery information
on the OLED module or to the serial port. If the cradle
is open, the cradle disables 5V charge voltage and
enables the 1-Wire module to read or write the buffer of
the DS2488. At this moment, the cradle shows its own
battery information, together with the earbud battery
information read from the buffer on the OLED module or
to the serial port.
Figure 3 is the flow chart of the cradle firmware.
www.analog.com Analog Devices
6
MAI N
GPIO INITIALIZATION
I
2
C INITIAL IZATION
FUEL GAUGE MAX17262 CONFIGURATION
(EZ MODE)
SPI I NITIALI ZATION
OLED CONFIGURATION
WHILE( 1)
READ CRADLE FUEL GAUGE
(SOC & CAP)
IS CUR RE NT STATE
OF CRADLE OPEN?
Y
IS PREVIOU S STATE
OF CRADLE OPEN?
DISABLE 5V CHARGE VOLTAGE
N
ENABLE 3.3V 1-WIRE CHAR GE VOLTAGE
SHOW L & R EARBUD ROMID, CONNECTION
STATE AND BATTERY INFO
1-WIR E MODULE INITIALIZATION
READ L & R EARBUD DS2488 BUFFER
UPDATE PREVIOUS STATE
Y
N
IS PREVIOU S STATE
OF CRADL E CL OSED?
N
1-WIR E MOD UL E SHUT DOW N
DISABLE 3.3V 1-WIRE CHARGE VOLTAGE FOR
100 MSEC
IS CRA DLE SOC > 5%?
DISABLE 5V CHARGE
VOLTAGE
N
ENABLE 5V CHARGE
VOLTAGE
Y
SHOW CHARGE STATE
SHOW CRADLE BATTERY INFO
UPDATE PREVIOUS STATE
Y
Figure 3. Cradle firmware flow chart.
www.analog.com Analog Devices
7
MAI N
GPIO INITIALIZATION
I
2
C INITIAL IZATION
FUEL GAUGE MAX17262 CONFIGURATION
(EZ MODE)
BATTERY CHARGER MAX77734
CONFIGURATION
1-WIR E CONFIGURATION
WHILE(1)
READ EARBUD FUEL GAUGE
(SOC & CAP)
IS CHGIN INPUT VALID ? IS TOKEN HIGH?
Y
N
Y
N
SET CHARGER CONFIGURATION
ENABLE CHARGER
IS CHA RGER DISABLE?
Y
N
SET CHARGER DISABLE
WRITE EARBUD DS2488 BUFFER
Figure 4. Earbud firmware flow chart.
Earbud Firmware Part
After power-up, the microcontroller on the earbud
side initializes GPIOs, and configures the fuel gauge,
MAX17262, and then configures the charger, MAX77734.
Then it goes into an infinite loop to poll the state of the
charger whether the input source is debounced or not.
If the input source is valid and greater than 4.0V, the
charger is enabled and starts the charging process. At
this moment, an infinite loop polls the state of a GPIO
which indicates whether the TOKEN is HIGH or not. If
it is LOW, the cradle gets the communication token. If
TOKEN is HIGH, the earbud gets the communication
token. When TOKEN is HIGH, the battery information
collected from the fuel gauge would be written to the
buffer of the DS2488.
Figure 4 is the flow chart of the earbud firmware.
www.analog.com Analog Devices
8
Operation Overview
The use of the MAXREFDES1302 is simple. The cradle
can work when it is connected to the USB socket, and
it can also work when the battery is connected to the
board. When the earbuds are connected to the cradle,
the cradle automatically communicates with the ear-
buds, and collects the battery information of the earbuds
periodically to show it on the OLED module. When the
earbuds are not connected to the cradle, the cradle only
shows its own battery information. A serial port monitor
can also be used to display the information on commu-
nication and charging.
Program Download Interface
The serial wire debug (SWD) interface is used to pro-
gram the firmware of the earbuds via connectors on the
board (J2 for programming the cradle and J7 for pro-
gramming the earbud). The MAXREFDES1302 uses the
MAX32625PICO board as the debug emulator.
Design Resources
Download the complete set of Design Resources
including schematics, bill of materials, PCB layout, and
test files.
www.analog.com Analog Devices
9
Revision History
REVISION
NUMBER
REVISION
DATE DESCRIPTION PAGES
CHANGED
0 11/21 Initial release
www.analog.com Analog Devices
10
Information furnished by Analog Devices is believed to be accurate and reliable. However, no responsibility is
assumed by Analog Devices for its use, nor for any infringements of patents or other rights of third parties that
may result from its use.Specifications subject to change without notice. No license is granted by implicationor
otherwise under any patent or patent rights of Analog Devices. Trademarks andregistered trademarks are the
property of their respective owners.
  • Page 1 1
  • Page 2 2
  • Page 3 3
  • Page 4 4
  • Page 5 5
  • Page 6 6
  • Page 7 7
  • Page 8 8
  • Page 9 9
  • Page 10 10

Analog Devices MAXREFDES1302 User manual

Type
User manual

Analog Devices MAXREFDES1302 is a True Wireless Stereo (TWS) reference design that provides a complete power and battery management solution for TWS applications. It features a small size, low power consumption, high efficiency, and outstanding accuracy with low cost. The design is fully tested and includes a cradle, earbuds, and a power delivery path. The cradle obtains power from USB and outputs 5V for 1-Wire charging, while the earbuds are powered by the cradle through DS2488 and charge the battery on the earbud side.

Ask a question and I''ll find the answer in the document

Finding information in a document is now easier with AI