ce-4027, sensor fusion – hid virtualized over lpc, by reed hinkel
DESCRIPTION
Presentation CE-4027, Sensor Fusion – HID virtualized over LPC, by Reed Hinkel at the AMD Developer Summit (APU13) November 11-13, 2013.TRANSCRIPT
Discovery FFRD Heterogeneous Computing by AMD & Connected Standby enabled by Texas Instruments
2
AMD AND TI PARTNER TO DELIVER HETEROGENEOUS COMPUTING IN A WINDOWS 8.1 TABLET
! Customer Expecta/ons for Tablet
– Touch Enabled – Untethered Opera/on
– Context Awareness – Long Ba>ery Life
! Key features and components
– 9D Sensor Fusion – Ambient Light Sensing
– Connected Standby Support for Bluetooth, WiFi, 3G/4G and GPS
– Proximity Detec/on for Radio Emissions Control
3
DISCOVERY FFRD: “MULLINS” DUAL CORE BASED FANLESS TABLET
! Internally developed by AMD – Connected Standby valida/on vehicle
– Bring-‐up with first Mullins silicon
! Key features and components – “Mullins” 2C APU
– TI TM4E1111 EC and Sensor Fusion MPU
– Full Windows 8 sensor implementa/on
– 11.6” 1920x1080 panel with touch overlay
– Cameras: 1080p30 fps front, 8MP rear
– BT4.0/LTE/802.11n/NFC/GPS
– Dock Port
ba>ery
LCD/touch/cover glass
APU/PCB
<10mm fanless stack-‐up
4
DISCOVERY TABLET REFERENCE PLATFORM
2GB DDR3L-RS
USB3
DDR3 eDP
Camera Front
SD Controller
Panel
SSD
BT WLAN
Headset
Spkr
SATA
Azalia
SDIO
LPC
Vibrator
Ambient Light
Touch
I2C
I2C
Mullins SoC
GPS
eCompass
PSP
PCIe USB3 Host Cntlr
WWAN
PCIe
HDA Codec
Mics
UART
Accel / Gyro
UART TI TM4C1111 EC w/ Sensor
Fusion PWM
DP
USB2
USB3
NFC I2C
I2S I2S
Dock Port
BIOS SPI
Battery Mgmt SMBUS
BT
Camera Rear USB3
5
DISCOVERY FFRD: “MULLINS” DUAL CORE BASED FANLESS TABLET
Discovery FFRD
Media Tablets
Performance Tablets
Hybrids Convertibles
Touch Mini-Books
Fan-Less Clamshells
• Complete HW and SW Reference Design • Leverage Discovery across mul;ple pla<orms
to reduce engineering effort • Connected Standby enables sleek form factors
and longest ba@ery run;me
6
DISCOVERY WITH DETACHABLE KEYBOARD
2GB DDR3L-RS
USB3
DDR3 eDP
Camera Front
SD Controller
Panel
SSD
BT WLAN
Headset
Spkr
SATA
Azalia
SDIO
LPC
Vibrator
Ambient Light
Touch
I2C
I2C
Mullins SoC
GPS
eCompass
PSP
PCIe USB3 Host Cntlr
WWAN
PCIe
HDA Codec
Mics
UART
Accel / Gyro
UART
PWM
DP
USB2
USB3
NFC I2C
I2S I2S
Dock Port
BIOS SPI
Battery Mgmt SMBUS
BT
Camera Rear USB3
TI TM4E1111 EC w/ Sensor
Fusion
I2C PS2
TC8424 Keyboard
Scan Keyboard
GPIOs Touchpad
7
DISCOVERY WITH DOCKPORT FOR KEYBOARD AND DISPLAY
2GB DDR3L-RS
USB3
DDR3 eDP
Camera Front
SD Controller
Panel
SSD
BT WLAN
Headset
Spkr
SATA
Azalia
SDIO
LPC
Vibrator
Ambient Light
Touch
I2C
I2C
Mullins SoC
GPS
eCompass
PSP
PCIe USB3 Host Cntlr
WWAN
PCIe
HDA Codec
Mics
UART
Accel / Gyro
UART
PWM
DP
USB2
USB3
NFC
I2C
I2S I2S
Dock Port
BIOS SPI
Battery Mgmt SMBUS
BT
Camera Rear USB3
TI TM4E1111 EC w/ Sensor
Fusion
Discovery Tablet
Leverage DockPort Capabilty
DockPort Dock
Dock Port
8
DISCOVERY WITH DOCKPORT DOCK
2GB DDR3L-RS
USB3
DDR3 eDP
Camera Front
SD Controller
Panel
SSD
BT WLAN
Headset
Spkr
SATA
Azalia
SDIO
LPC
Vibrator
Ambient Light
Touch
I2C
I2C
Mullins SoC
GPS
eCompass
PSP
PCIe USB3 Host Cntlr
WWAN
PCIe
HDA Codec
Mics
UART
Accel / Gyro
UART
PWM
DP
USB2
USB3
NFC I2C
I2S I2S
Dock Port
BIOS SPI
Battery Mgmt SMBUS
BT
Camera Rear USB3
TI TM4E1111 EC w/ Sensor
Fusion
USB USB
Dockport Dock
USB Keyboard Mouse
Dock Port
DP Monitor DP Monitor
DP DP
9
DISCOVERY AS A CONVERTIBLE
2GB DDR3L-RS
USB3
DDR3 eDP
Camera Front
SD Controller
Panel
SSD
BT WLAN
Headset
Spkr
SATA
Azalia
SDIO
LPC
Vibrator
Ambient Light
Touch
I2C
I2C
Mullins SoC
GPS
eCompass
PSP
PCIe USB3 Host Cntlr
WWAN
PCIe
HDA Codec
Mics
UART
Accel / Gyro
UART
PWM
DP
USB2
USB3
NFC I2C
I2S I2S
Dock Port
BIOS SPI
Battery Mgmt SMBUS
BT
Camera Rear USB3
TI TM4E1111 EC w/ Sensor
Fusion
I2C PS2
TC8424 Keyboard
Scan Keyboard
GPIOs Touchpad
10
DISCOVERY AS AN ULTRA-THIN FANLESS CLAMSHELL
2GB DDR3L-RS
USB3
DDR3 eDP
Camera Front
SD Controller
Panel
SSD
BT WLAN
Headset
Spkr
SATA
Azalia
SDIO
LPC
Vibrator
Ambient Light
Touch
I2C
I2C
Mullins SoC
GPS
eCompass
PSP
PCIe USB3 Host Cntlr
WWAN
PCIe
HDA Codec
Mics
UART
Accel / Gyro
UART
PWM
DP
USB2
USB3
NFC I2C
I2S I2S
Dock Port
BIOS SPI
Battery Mgmt SMBUS
BT
Camera Rear USB3
TI TM4E1111 EC w/ Sensor
Fusion
I2C PS2
TC8424 Keyboard
Scan Keyboard
GPIOs Touchpad
11
TM4E1111 INTERFACES + SUPPORTED PERIPHERALS
Component Ini;al Support
GPS Mitsumi Module SPG-‐SF101 (Broadcom BCM4752 based)
NFC Broadcom BCM20793
BT Mitsumi DWM-‐W095 (Broadcom BCM43241 based)
Accel / Gyroscope Invensense MPU-‐6500
eCompass AKM AK8963C
ALS / Proximity Capella CM3618
Touch Atmel MxT1664S
Vibrator TI DRV8601
LPC Ambient Light
I2C
I2C
eCompass
Accel / Gyroscope
PWM
I2C
UART
UART
TI TM4E1111 Platform
Companion
Bluetooth
Vibrator
Touch
GPS
NFC
To Mullins APU
Sensor Fusion Hub
Embedded Controller
12
KEY FEATURES OF MULLINS + TI TM4E1111
Mullins with the TI TM4E1111 platform companion enables:
Key component for Connected Standby
Integrated System EC (Embedded Controller)
Microsoft’s Sensor Fusion for accelerometer, gyroscope and e-compass sensors
Complete Microsoft SPB solution for I2C, UART and SPI interfaces virtualized over LPC
Small form factors with 9x9mm BGA
BACKGROUND CONNECTED STANDBY
TECHNOLOGY
14
WHAT IS THE NEED FOR CONNECTED STANDBY?
! Existing sleep models … Sleep S3 ! No method to maintain communication channels and device driver
operation
! Transitions in/out of S3 require comms (WWAN, WLAN, etc.) to re-connect
! S3 standby doesn’t allow background tasks
! Connected Standby … S0a & S0i3 ! Enables comms to be “always on” during low power state
15
WHAT IS CONNECTED STANDBY? ! System-wide power-idle state, based on user presence
! “Always On” – CS systems maintain the appearance of being always on
– Very low latency from ‘screen off’ to full-power (latency limits mandated by MS)
! “Always Connected” – Maintains comms connections during ‘user not present’ sleep state
! Smart Phone model – User not present … provide low-power operation
– User present … provide high performance
– Very fast switching between modes
! Power-idle functions – AMD defined ‘which components are active’ in this power state … not set
by OS
16
CHARACTERISTICS OF A CONNECTED STANDBY SYSTEM
! User present - new power state: S0a [ACPI S0] ! System works like classical S0 state
! Full performance of all devices
! User not present - new power state: S0a & S0i3 [ACPI S0] ! Always on (stays in ACPI S0)
– Maintains comms and peripheral connections
– Supports applications/tasks in burst method [~30 second cycles]
! Always connected – Stays connected to devices and comms channels
! Instant On and Off transitions – required < 300ms < 500ms ! Between ‘user not present’ states S0i3 & S0a
! Between ‘user not present’ and ‘user present’
! Shutdown - S4 ! Only at critical battery level
! CS system never reboots and never powers down
17
MODES OF A CONNECTED STANDBY SYSTEM
18
DISCOVERY 2 POWER ARCHITECTURE
FET
FET
bq29x Protec;on
bq30Z55
Gas Gauge
TM4E1111
Embedded Controller
VDDCR_CPU
SMBus
SMBus
6.0V – 8.4V 2S Ba@ery Pack
Power Bus
Integrated FET Regulator
External FET Regulator
Legend
VDDCR_NB bq24725
Charger
ISL62771
SVI2 Controller
AMD Mullins
APU
1.35V IO_SUS
33V_ALW + 33V_EC TDC: 5.39A
AC/DC Adapter
TDC: 3.18A
TDC: 3.8A
3.3V_RUN
5V_ALW
0.95V_RUN
TDC: 4.15A
1.8V_ALW TDC: 0.53A
TDC: 1.6A 1.8V_RUN
TPS73101 TDC: 0.1A 1.5V_ALW
1.05V_ALW TDC: 0.5A
0.95V_ALW
TPS51206 MEM_VTT
VTT / 150mA
TLV62130 3A
Ba@ery Pack
CSD87330Q3D
CSD87330Q3D CSD17308
CSD17308
@0.5A / 83% @6.3mA / 80%
TPS51362 10A
TPS51285
TLV62130 3A
TDC: 6A
TPS22965 TDC: 1A 5V_RUN
TDC: 0.5A
CSD87330Q3D
CSD87330Q3D
TLV62130 3A
TPS51362 10A
(3.5 x 4.5 mm)
(3.5 x 4.5 mm)
(3.x 3 mm)
(3.x 3 mm)
(3.x 3 mm)
(3.x 3 mm)
TPS22965
TPS22965
(3.3.x 3.3 mm)
(3.3.x 3.3 mm)
(2.x 2 mm)
(2.x 2 mm)
(2.x 2 mm)
(3.x 3 mm)
(3.3.x 3.3 mm)
15A
15A
5.15A
8.57A
PID 53081 FT3b Infrastructure Roadmap (NDA) Rev: 1.00 July 2013 (PDF, 545K) 07/31/2013
Efficiency is critical • S0i3 state load is ~70-100 mw • ~80% VRs required
REQUIREMENTS AND IMPLEMENTATION
20
MICROSOFT CS REQUIREMENT EXAMPLES
! Critical Windows Hardware Certification Kit (WHCK) requirements: ! Less than 5% battery drain over 16 hour period in Connected Standby
– Deferred until 2015 by Microsoft…
! Less than 300ms exit latency from power button press to display on – Relaxed to 500ms until 2015 …
! Cryptographic acceleration (AMD PSP)
! fTPM2.0 (AMD PSP)
! HW validated boot (AMD PSP)
! UEFI Secure Boot
! Other requirements
! Windows 8 Runtime Requirements: ! Non-rotational OS boot volume
! WiFi device supports NDIS 6.3 features (D0 offload, Wake on Push, etc.)
! ACPI 5.0 flag indicating low-power S0 over S3
! Review Microsoft™ Connected Standby documentation for all suggested and required aspects of Connected Standby devices
21
AMD DISCOVERY PLATFORM – CS ENABLED ! Hardware requirements
! Fusion Sensor support: TI Flurry
! AMD Recommended sensor types and manufacturers
– Unsupported sensors will require custom driver from TI
! Low power interfaces
– I2C, I2S, UART, SDIO, eMMC, SATA … with Devslp support
! Software requirements ! Windows 8.1 (or beyond), with MS Inbox device drivers
! Device drivers that support APCI compliant methods for power and wake controls, for all devices and device controllers on the system platform (including drivers from AMD and 3rd parties)
! CS-compatible drivers for Sensor Fusion devices/sensors
! System UEFI BIOS, with ACPI support for each device on the platform
22
MULLINS COMPANION ASIC: TI TM4E1111 ! HID over I2C
! Windows 8™ … new miniport driver for devices on I2C Bus
! TI TM4E1111 ! Sensor fusion product, utilizing virtual I2C interface over LPC, to enable
Windows 8 (and later) features including:
– Ambient Light Sensor Touch Screen Interface GPS NFC 9-axis sensors
! EC (Embedded Controller) functionality
– Power management control Battery gauge Battery charging control
! Required on AMD Tablets with Connected Standby
23
DISCLAIMER & ATTRIBUTION
The information presented in this document is for informational purposes only and may contain technical inaccuracies, omissions and typographical errors.
The information contained herein is subject to change and may be rendered inaccurate for many reasons, including but not limited to product and roadmap changes, component and motherboard version changes, new model and/or product releases, product differences between differing manufacturers, software changes, BIOS flashes, firmware upgrades, or the like. AMD assumes no obligation to update or otherwise correct or revise this information. However, AMD reserves the right to revise this information and to make changes from time to time to the content hereof without obligation of AMD to notify any person of such revisions or changes.
AMD MAKES NO REPRESENTATIONS OR WARRANTIES WITH RESPECT TO THE CONTENTS HEREOF AND ASSUMES NO RESPONSIBILITY FOR ANY INACCURACIES, ERRORS OR OMISSIONS THAT MAY APPEAR IN THIS INFORMATION.
AMD SPECIFICALLY DISCLAIMS ANY IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR ANY PARTICULAR PURPOSE. IN NO EVENT WILL AMD BE LIABLE TO ANY PERSON FOR ANY DIRECT, INDIRECT, SPECIAL OR OTHER CONSEQUENTIAL DAMAGES ARISING FROM THE USE OF ANY INFORMATION CONTAINED HEREIN, EVEN IF AMD IS EXPRESSLY ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
ATTRIBUTION
© 2013 Advanced Micro Devices, Inc. All rights reserved. AMD, the AMD Arrow logo and combinations thereof are trademarks of Advanced Micro Devices, Inc. in the United States and/or other jurisdictions. SPEC is a registered trademark of the Standard Performance Evaluation Corporation (SPEC). Other names are for informational purposes only and may be trademarks of their respective owners.