LOW COST, LOW POWER SOLUTION FOR MOBILE DEVICES
Battery Interface Using iCE40
Low Cost Solution for MIPI Battery
Interface in Mobile Devices
The mobile handheld industry has witnessed explosive growth in
recent years. Smart phones, tablets and other battery powered
devices available today have evolved to become personal internet
devices with rich features that are always connected. The use of
dual-core and quad-core processors is becoming mainstream in
many such devices to create a more compelling user experience.
The increase in power consumption has downstream effects on
power delivery, battery life and longevity. One of the challenges
faced by mobile system designers is balancing between optimal
battery capacity, chemistry, power delivery, safety and form factor.
The MIPI Battery Interface (BIF) is a comprehensive battery
communication interface standard for mobile devices. The
communication protocol established by BIF provides a method
for system designers to read parameters on demand to optimize
power consumption during device use and to optimize battery
charging. It also provides a method to authenticate batteries for
systems that need to ensure user safety. BIF is a single wire
interface that supports the use of one or more smart batteries
and/or low cost batteries in the same system.
Key Features and Benefits
Host Connectivity
• Customizable interface to host such as I2C, SPI, etc.
The block diagram below illustrates the implementation of MIPI
BIF Master using the Lattice iCE40 ultra low densityFPGA.
Communication over the BIF battery communication line (BCL)
is enabled using the Lattice CMD solution. The Lattice CMD
is connected to the host application processor using the I2C
protocol. A simple protocol is defined on top of the I2C standard
to communicate between the host and CMD. The host interface
can be easily customized using the Lattice solution. In addition,
any further customization of the BIF interface / protocol can be
achieved using the Lattice CMD solution. The Lattice solution
utilizes <<1K LUTs providing the flexibility for the customer to even
integrate other system functions within the same Lattice FPGA
device. The Lattice MIPI BIF solution will be made available as
a standard Intellectual Property (IP) though Lattice iCEcube2™
software suite.
Ultra-Low Power
• Power as low as 100µA static
Low Cost
• Utilizes <1K LUTs
Broad Package Portfolio
• Footprints as small as 2.5 x 2.5 mm
• 0.4 mm BGA pitch suited for Smartphones and tablet
applications
Proven interoperability with multiple slaves
MIPI BIF Master Implementation
Conceptual Diagram of the BIF Protocol
BIT#
MSB
LSB
1
BIF Master
I2C
(Lattice iCE40 FPGA)
STOP
1
0
1
1
0 0 0
0
1
STOP
Reset
Battery Presence
Transaction (Unicast / Multicast / Broadcast Data)
Detection
BIF Slave
(Smart / Low
Cost Battery
Pack)
Host
BCL
Communication is achieved using time distance coding and
supports the use of broadcast words (master to all slaves),
Multicast words (master to selected slaves) and Unicast
words (selected slave to master).
(Application
Processor)
Interrupt
Battery
Status
BIF Physical Protocol
Layer
CLK
LATTICESEMI.COM