director, technical specifications -qualcomm canada inc ... · display with multi-touch module i2 c...
TRANSCRIPT
James GoelDirector, Technical Specifications - Qualcomm Canada Inc.
Introduction and Overview of the Forthcoming MIPI Touch Specifications
©2017MIPIAlliance,Inc.
InformationONLY- Pleaserefertofulltechnicalstandard– Nottobeusedinastandard.ThisisnotaSpecificationscontribution.
Agenda• TouchArchitecturesandTopology• Stack-upofRelatedMIPITouchSpecifications• TouchCommandLayerModel• OverviewofMIPITouchCommandSet(MIPITCSSM)• TouchReportDataStructure
– Micro-Frames
• Detailedreviewofimportanttouchcommands
2
©2017MIPIAlliance,Inc.
InformationONLY- Pleaserefertofulltechnicalstandard– Nottobeusedinastandard.ThisisnotaSpecificationscontribution.
CurrentIndustryTouchStatus• Currentstatus– non-standardtouchcommandsets• Non-standardlink-layerprotocols
– SPI/I2C• Notoptimized
– Low-powermobileperformance– Low-costpin-countinterfaces
• Moretouchbandwidthrequired• Improvedtouchlatencyrequired
3
©2017MIPIAlliance,Inc.
InformationONLY- Pleaserefertofulltechnicalstandard– Nottobeusedinastandard.ThisisnotaSpecificationscontribution.
NewMIPITouchStandard• MIPITCSislink-layerandphysical-layeragnostic• Simplifiedstandardcommands• MIPITouchAdaptationLayerforI3C(MIPIALI3CSM)
– WorksseamlesslywithMIPISpecificationforI3C(MIPII3CSM)– FullyUtilizesMIPII3CIn-Band-Interrupts
• Low-latency(Linktomotivationalexample)• High-Bandwidth
– Widetouchsystemtopologysupported
4
©2017MIPIAlliance,Inc.
InformationONLY- Pleaserefertofulltechnicalstandard– Nottobeusedinastandard.ThisisnotaSpecificationscontribution.
BuildingonMIPISpecifications
5
TouchCommandsandRegisters
MapsTouchCommandstoHCIandMIPII3CLink-LayerProtocol
HostCommandI/FforMIPII3C
MIPII3CBusInterfaceSpecification
Applications andOS Upper Layers
MIPI Touch Command Set(Planned for 2017)
MIPI Touch AdaptationLayer for I3C
Planned for 2017
I3C Host Controller Interface(I3C HCI – Planned for 2017)
I3C(Improved Inter Integrated Circuit)
(Available Now)
All MIPI Specifications for MIPI Touch over I3C Implementation
©2017MIPIAlliance,Inc.
InformationONLY- Pleaserefertofulltechnicalstandard– Nottobeusedinastandard.ThisisnotaSpecificationscontribution.
MixedTopology
6
ApplicationProcessor
I3CHostController(HCI)
I3CHostBus
I3CHost
ProprietaryCommand MIPIStandardTouchCommandDeviceDriver
DisplaywithMulti-TouchModule
I2CDeviceController
I2CSlaveBusDevice0
Front-MainDisplaywithTouchSensorOverlay
I2CDeviceController
I2CSlaveBusDevice1
MIPIStandardTouchCommands
Implementation
VendorProprietaryAFE/TC
implementation
TouchIC0
MIPIStandardTouchCommands
Implementation
VendorProprietaryAFE/TC
implementation
TouchIC1
BackDisplayw/Touch
MIPIStandardTouchCommands
Implementation
VendorProprietaryAFE/TC
implementation
TouchIC2
I3CDeviceController
I3CSlaveBusDevice2
I2CDeviceController
I2CSlaveBusDevicen
I2CEEPROMorotherI2CSensor
©2017MIPIAlliance,Inc.
InformationONLY- Pleaserefertofulltechnicalstandard– Nottobeusedinastandard.ThisisnotaSpecificationscontribution.
Type1– StorageonHostTouchArchitecture
7
TouchSlaveDevice
TouchSlaveDevice
Processor
ApplicationProcessor
BusDeviceI/F
Firmware ConfigurationData
TouchReport
LocalMemory
TouchHost
Processor
BusDeviceI/F
BusPhysicalI/F
StorageMemory
ConfigurationDataFirmware
MIPITouchRegisters
MIPITouchCommands
©2017MIPIAlliance,Inc.
InformationONLY- Pleaserefertofulltechnicalstandard– Nottobeusedinastandard.ThisisnotaSpecificationscontribution.
Type2- StorageonSlaveTouchProcessorArchitecture
8
TouchSlaveDevice
TouchSlaveDevice
Processor
ApplicationProcessor
BusDeviceI/F
Firmware ConfigurationData
TouchReport
LocalMemory
TouchHost
Processor
BusDeviceI/F
BusPhysicalI/F
StorageMemory
ConfigurationDataFirmware
MIPITouchCommands
MIPITouchRegisters
©2017MIPIAlliance,Inc.
InformationONLY- Pleaserefertofulltechnicalstandard– Nottobeusedinastandard.ThisisnotaSpecificationscontribution.
MIPITouchCommandLayerModel
9
©2017MIPIAlliance,Inc.
InformationONLY- Pleaserefertofulltechnicalstandard– Nottobeusedinastandard.ThisisnotaSpecificationscontribution.
MIPITouchHostCommands
10
CommandName HexCode
CommandPayload BriefDescription RequiresCommandDone
mtcs_get_touch_report 8’h40 ByteCommandCode Requesttouchslavedevicetoreturnasingletouchreport.
No
mtcs_write_firmware 8’h41 Maximumwritelengthofhost
Transfersfirmwarefromthehosttothedevice.
Yes
mtcs_write_configuration_data 8’h42 Maximumwritelengthofhost
Transferstouchconfigurationdatafromhosttodevice.
Yes
mtcs_self_test 8’h43 ByteCommandCode Activatesdeviceself-test. Yesmtcs_soft_reset 8’h44 ByteCommandCode Activatesdevicesoftreset. No
©2017MIPIAlliance,Inc.
InformationONLY- Pleaserefertofulltechnicalstandard– Nottobeusedinastandard.ThisisnotaSpecificationscontribution.
MIPITouchHostCommands
11
Register Name Offset Description Accessmtcs_get_interrupt_type 00h Returnsinterrupttype ROmtcs_set_get_configuration 04h SetorGetTouchslavedevice
ConfigurationReadmodifywrite
mtcs_get_capabilities_information 08h Getthecapabilitiesofthetouchslavedevice
RO
mtcs_get_current_touch_report_type 0Ch Getthetypeofthelatestreturnedtouchreport
RO
mtcs_get_micro_frame_size 0Dh Getmanufacturerdeviceinformation RO
mtcs_get_manufacturer_information 12h Getmanufacturerdeviceinformation RO
mtcs_get_device_version_information 16h Getmanufacturerdevicehardwareandfirmwarerevisioninformation
RO
mtcs_get_command_set_version_information 1Ah GetMIPIcommandsetrevision RO
©2017MIPIAlliance,Inc.
InformationONLY- Pleaserefertofulltechnicalstandard– Nottobeusedinastandard.ThisisnotaSpecificationscontribution.
MIPIMicro-frameTouchReportStructure
12
TouchFrameReport
uFrame0 uFrame1 uFrame2 uFrameN-2
uFrameN-1
TotalMbytes
mbytes mbytes mbytes mbytes m’bytes
Totalmx(N-1)+m’byte=Mbyte
EH
EH
EH EnhancedHeader:2bytes
(noted:m’shallbeequaltoorsmallerthanm)
©2017MIPIAlliance,Inc.
InformationONLY- Pleaserefertofulltechnicalstandard– Nottobeusedinastandard.ThisisnotaSpecificationscontribution.
MIPIBasicTouchReportStructureEnhancedHeader
13
Bit
Byte
7 6 5 4 3 2 1 0
0 ReservedTouchdatareporttype:0=RAW_MANUFACTURER_REPORT1=LINUX_ANDROID_REPORT2=HID_REPORT3=HID_DESCRIPTOR4=HID_REPORT_DESCRIPTOR5=HID_PHYSICAL_DESCRIPTOR6..127=RESERVED
1• transaction_id:Monotoniccounterincrementingwitheachreport.Rolls-overto0after2^8-1.[7:0]
2..N• RestoftouchreportuptoNbytes
©2017MIPIAlliance,Inc.
InformationONLY- Pleaserefertofulltechnicalstandard– Nottobeusedinastandard.ThisisnotaSpecificationscontribution.
PORInitialization
14
Touch Slave Device Power-On Reset
Load and Initialize Firmware
Load and Initialize Configuration Data
Touch Slave DeviceSet mtcs_get_interrupt_type[ operational_status ]
to READY_FOR_OPERATION
Touch Slave Device Ready for Touch Sensing
Touch Slave DeviceUpdate FW Version Registers
mtcs_get_device_version_information
Touch Slave DeviceInitialize Registers
mtcs_get_manufacturer_informationmtcs_get_device_version_information
mtcs_get_command_set_version_information
©2017MIPIAlliance,Inc.
InformationONLY- Pleaserefertofulltechnicalstandard– Nottobeusedinastandard.ThisisnotaSpecificationscontribution.
15
MIPII3CCapabilityDeviceProfile
LegacyI2CProfile I3CSDRProfile I3CDDRProfile I3CTernaryProfile
Co-existswithotherLegacyI2CDevices
Required Required Optional Notallowed
I3CSingleDataRatea Required Required Required RequiredI3CDoubleDataRate N/A Notallowed Required OptionalHDR-TernarySymbolLegacy N/A Notallowed Notallowed NotallowedHDR-TernarySymbolforaPureBus
N/A Notallowed Notallowed Required
DynamicAddress(I3CSection5.1.4)
N/A NoProvisionalIDRequired
NoProvisionalIDRequired
NoProvisionalIDRequired
Hot-Join(I3CSection5.1.5)
N/A Limitedd Limitedd Limitedd
In-BandInterruptb(I3CSection5.1.6)
N/A Required Required Required
SecondaryMaster(I3CSection5.1.7)
Notallowed Notallowed Notallowed Notallowed
ApproximateBandwidth 1Mb/s 12Mb/s 25Mb/s 39Mb/sRequiredCCC Noc GETMWL
GETMRL
GETMWL
GETMRL
GETMWL
GETMRL
DCRHumanmachineinterfacefunction(see4.6)
No Required Required Required
MIPITouchAdaptationLayerforI3C(MIPIALI3C)
©2017MIPIAlliance,Inc.
InformationONLY- Pleaserefertofulltechnicalstandard– Nottobeusedinastandard.ThisisnotaSpecificationscontribution.
16
LegacyI2CInterrupts
©2017MIPIAlliance,Inc.
InformationONLY- Pleaserefertofulltechnicalstandard– Nottobeusedinastandard.ThisisnotaSpecificationscontribution.
17
MIPII3CStandard
*MIPISpecificationforMIPII3C– Section5.1.6.2MIPII3CSlaveInterruptRequest
©2017MIPIAlliance,Inc.
InformationONLY- Pleaserefertofulltechnicalstandard– Nottobeusedinastandard.ThisisnotaSpecificationscontribution.
18
MIPITouchAdaptationLayerforMIPII3C(ALI3C)
MIPITouchAdaptationLayerforMIPII3C– 4.4.1.2In-BandInterruptMandatoryDataByte
©2017MIPIAlliance,Inc.
InformationONLY- Pleaserefertofulltechnicalstandard– Nottobeusedinastandard.ThisisnotaSpecificationscontribution.
19
MIPII3CHostControllerInterface– DraftSpecification
MIPII3CHostControllerInterface– Section6.11Auto-Command
©2017MIPIAlliance,Inc.
InformationONLY- Pleaserefertofulltechnicalstandard– Nottobeusedinastandard.ThisisnotaSpecificationscontribution.
MIPII3CIBI- MandatoryDataByte(MDB)
20
Bit7 Bit6 Bit5 Bit4 Bit3 Bit2 Bit1 Bit0
0:Normal1:TimingControl
0:Normal1:Auto-Command
InterruptType,definedbyCommandSpecification
(Unusedbitsdefaultto0)
©2017MIPIAlliance,Inc.
InformationONLY- Pleaserefertofulltechnicalstandard– Nottobeusedinastandard.ThisisnotaSpecificationscontribution.
SummaryandKeyTakeAwayPoints• MIPITouch=4xMIPISpecifications
– MIPITouchCommandSet– MIPIAdaptationLayerMIPII3C,– MIPIHCIforMIPII3C– MIPII3C
• ImprovedTouchPerformance– SimplifiesSoftwareandHardwaredesign– Improvedlatency– HighestThroughput– CompatibilitywithMIPISpecificationseco-system
21
©2017MIPIAlliance,Inc.
InformationONLY- Pleaserefertofulltechnicalstandard– Nottobeusedinastandard.ThisisnotaSpecificationscontribution.
BackgroundSection
©2017MIPIAlliance,Inc.
InformationONLY- Pleaserefertofulltechnicalstandard– Nottobeusedinastandard.ThisisnotaSpecificationscontribution.
TraditionalI2CTransaction
23
Device Driver IO Driver Device
Interrupt
OS
Request Data
Read Request
Data Response
Data ResponseEvent: Data
Interrupt to OS
RequestInterrupt Type
Get Interrupt Type
Read Request
Interrupt Type
Interrupt toDevice Driver
Return
©2017MIPIAlliance,Inc.
InformationONLY- Pleaserefertofulltechnicalstandard– Nottobeusedinastandard.ThisisnotaSpecificationscontribution.
MIPITouchMIPII3CSDRandHDRTransactions
24
Return
©2017MIPIAlliance,Inc.
InformationONLY- Pleaserefertofulltechnicalstandard– Nottobeusedinastandard.ThisisnotaSpecificationscontribution.
25
Return
©2017MIPIAlliance,Inc.
InformationONLY- Pleaserefertofulltechnicalstandard– Nottobeusedinastandard.ThisisnotaSpecificationscontribution.
26
©2017MIPIAlliance,Inc.
InformationONLY- Pleaserefertofulltechnicalstandard– Nottobeusedinastandard.ThisisnotaSpecificationscontribution.
27
Name:mtcs_get_interrupt_typeCommandDescription:Returnsinterrupttype
Access:ReadOnlyDefaultValue:00h
Offset:00hBit FieldName BriefDescription4:0 interrupt_type[4:0] 5’d0:NO_INTERRUPT_PENDING
5’d1:REPORT_DATA_AVAILABLE5’d2:COMMAND_DONE5’d3:ERROR_OCCURRED5’d4:REPORT_DATA_AVAILABLE_END_OF_FRAME5’D5-5’D15:RESERVED5’D16-5’D31:MANUFACTURER_DEFINED
7:5 Reserved
Offset:01h0 operational_status 1’b0:NOT_READY_FOR_OPERATION
1’b1:READY_FOR_OPERATION1 configuration_status 1’b0:
CONFIGURATION_DATA_WRITE_NO_REQUEST1’b1:CONFIGURATION_DATA_WRITE_REQUEST
2 fatality_status 1’b0:NON_FATAL_ERROR
1’b1:FATAL_ERROR3 invalid_firmware_err
or1’b0:VALID_FIRMWARE
1’b1:INVALID_FIRMWARE_ERROR4 invalid_configuration
_data_error1’b0:VALID_CONFIGURATION_DATA
1’b1:INVALID_CONFIGURATION_DATA_ERROR
5 self_test_failed_error
1’b0:SELF_TEST_PASSED
1’b1:SELF_TEST_FAILED_ERROR6:7 Reserved
MIPIInterruptTypeHandlingRegister