欢迎来到三一办公! | 帮助中心 三一办公31ppt.com(应用文档模板下载平台)
三一办公
全部分类
  • 办公文档>
  • PPT模板>
  • 建筑/施工/环境>
  • 毕业设计>
  • 工程图纸>
  • 教育教学>
  • 素材源码>
  • 生活休闲>
  • 临时分类>
  • ImageVerifierCode 换一换
    首页 三一办公 > 资源分类 > PPT文档下载  

    MIPI协议详细介绍.ppt

    • 资源ID:5440204       资源大小:896KB        全文页数:31页
    • 资源格式: PPT        下载积分:15金币
    快捷下载 游客一键下载
    会员登录下载
    三方登录下载: 微信开放平台登录 QQ登录  
    下载资源需要15金币
    邮箱/手机:
    温馨提示:
    用户名和密码都是您填写的邮箱或者手机号,方便查询和重复下载(系统自动生成)
    支付方式: 支付宝    微信支付   
    验证码:   换一换

    加入VIP免费专享
     
    账号:
    密码:
    验证码:   换一换
      忘记密码?
        
    友情提示
    2、PDF文件下载后,可能会被浏览器默认打开,此种情况可以点击浏览器菜单,保存网页到桌面,就可以正常下载了。
    3、本站不支持迅雷下载,请使用电脑自带的IE浏览器,或者360浏览器、谷歌浏览器下载即可。
    4、本站资源下载后的文档和图纸-无水印,预览文档经过压缩,下载后原文更清晰。
    5、试题试卷类文档,如果标题没有明确说明有答案则都视为没有答案,请知晓。

    MIPI协议详细介绍.ppt

    ,MIPI Protocol Introduction,MIPI Development Team 2010-9-2,What is MIPI?,MIPI stands for Mobile Industry Processor Interface MIPI Alliance is a collaboration of mobile industry leaders.Objective to promote open standards for interfaces to mobile application processors.Intends to speed deployment of new services to mobile users by establishing Spec.Board Members in MIPI Alliance Intel,Motorola,Nokia,NXP,Samsung,ST,TI,What is MIPI?,MIPI Alliance Specification for display DCS(Display Command Set)DCS is a standardized command set intended for command mode display modules.DBI,DPI(Display Bus Interface,Display Pixel Interface)DBI:Parallel interfaces to display modules having display controllers and frame buffers.DPI:Parallel interfaces to display modules without on-panel display controller or frame buffer.DSI,CSI(Display Serial Interface,Camera Serial Interface)DSI specifies a high-speed serial interface between a host processor and display module.CSI specifies a high-speed serial interface between a host processor and camera module.D-PHY D-PHY provides the physical layer definition for DSI and CSI.,DSI Layers,DCS spec,DSI spec,D-PHY spec,Outline,D-PHYIntroductionLane Module,State and Line levelsOperating ModesEscape ModeSystem Power StatesElectrical CharacteristicsSummary,Introduction for D-PHY,D-PHY describes a source synchronous,high speed,low power,low cost PHYA PHY configuration containsA Clock LaneOne or more Data LanesThree main lane typesUnidirectional Clock LaneUnidirectional Data LaneBi-directional Data LaneTransmission ModeLow-Power signaling mode for control purpose:10MHz(max)High-Speed signaling mode for fast-data traffic:80Mbps 1Gbps per LaneD-PHY low-level protocol specifies a minimum data unit of one byteA transmitter shall send data LSB first,MSB last.D-PHY suited for mobile applicationsDSI:Display Serial InterfaceA clock lane,One to four data lanes.CSI:Camera Serial Interface,Two Data Lane PHY Configuration,Lane Module,PHY consists of D-PHY(Lane Module)D-PHY may containLow-Power Transmitter(LP-TX)Low-Power Receiver(LP-RX)High-Speed Transmitter(HS-TX)High-Speed Receiver(HS-RX)Low-Power Contention Detector(LP-CD)Three main lane typesUnidirectional Clock LaneMaster:HS-TX,LP-TXSlave:HS-RX,LP-RXUnidirectional Data LaneMaster:HS-TX,LP-TXSlave:HS-RX,LP-RXBi-directional Data LaneMaster,Slave:HS-TX,HS-RX,LP-TX,LP-RX,LP-CD,Universal Lane Module Architecture,Lane States and Line Levels,The two LP-TXs drive the two Lines of a Lane independently and single-ended.Four possible Low-Power Lane states(LP-00,LP-01,LP-10,LP-11)A HS-TX drives the Lane differentially.Two possible High Speed Lane states(HS-0,HS-1)During HS transmission the LP Receivers observe LP-00 on the LinesLine Levels(typical)LP:01.2VHS:100300mV(Swing:200mV)Lane StatesLP-00,LP-01,LP-10,LP-11HS-0,HS-1,Operating Modes,There are three operating modes in Data LaneEscape mode,High-Speed(Burst)mode and Control modePossible events starting from the Stop State of control modeEscape mode request(LP-11LP-10LP-00LP-01LP-00)High-Speed mode request(LP-11LP-01LP-00)Turnaround request(LP-11LP-10LP-00LP-10LP-00),Escape Mode,Escape mode is a special operation for Data Lanes using LP states.With this mode some additional functionality becomes available:LPDT,ULPS,TriggerA Data Lane shall enter Escape mode via LP-11LP-10LP-00LP-01LP-00Once Escape mode is entered,the transmitter shall send an 8-bit entry command toindicate the requested action.Escape mode uses Spaced-One-Hot Encoding.means each Mark State is interleaved with a Space State(LP-00).Send Mark-0/1 followed by a Space to transmit a zero-bit/one-bitA Data Lane shall exit Escape mode via LP-10LP-11Ultra-Low Power StateDuring this state,the Lines are in the Space state(LP-00)Exited by means of a Mark-1 state with a length TWAKEUP(1ms)followed by a Stop state.,Escape Mode,Clock Lane Ultra-Low Power State,A Clock Lane shall enter ULPS viaLP-11LP-10LP-00 exited by means of a Mark-1 with a length TWAKEUP followed by a Stop StateLP-10 TWAKEUP LP-11The minimum value of TWAKEUP is 1ms,High-Speed Data Transmission,The action of sending high-speed serial data is called HS transmission or burst.Start-of-TransmissionLP-11LP-01LP-00SoT(0001_1101)HS Data Transmission BurstAll Lanes will start synchronouslyBut may end at different timesThe clock Lane shall be in High-Speed mode,providing a DDR Clock to the Slave sideEnd-of-TransmissionH Toggles differential state immediately after last payload data bit and keeps that state for a time THS-TRAIL,High-Speed Clock Transmission,Switching the Clock Lane between Clock Transmission and LP ModeA Clock Lane is a unidirectional Lane from Master to SlaveIn HS mode,the clock Lane provides a low-swing,differential DDR clock signal.the Clock Burst always starts and ends with an HS-0 state.the Clock Burst always contains an even number of transitions,Summary for D-PHY,Lane Module,Lane State and Line LevelsLane Module:LP-TX,LP-RX,HS-TX,HS-RX,LP-CDLane States:LP-00,LP-01,LP-10,LP-11,HS-0,HS-1Line Levels(typical):LP:01.2V,HS:100300mV(Swing:200mV)Operating ModesEscape Mode entry procedure:LP-11LP-10LP-00LP-01LP-00Entry Code LPD(10MHz)Escape Mode exit procedure:LP-10LP-11High Speed Mode entry procedure:LP-11LP-01LP-00SoT(00011101)HSD(80Mbps 1Gbps)High Speed Mode exit procedure:EoTLP-11Control Mode-BTA transmission procedure:LP-11LP-10LP-00LP-10LP-00Control Mode-BTA receive procedure:LP-00LP-10LP-11System Power StatesLow-Power mode,High-Speed mode,Ultra-Low Power modeFault DetectionContention Detection(LP-CD),Watchdog Timer,Sequence Error Detection(Error Report)Global Operation Timing ParameterClock Lane Timing,Data Lane TimingOther Timing Initialization,BTA,Wake-Up from ULPSElectrical CharacteristicsHS-RX,LP-RX,LP-TX,LP-CD,Pin characteristic,Clock signal,Data-Clock timingDC and AC characteristic,Outline,DSIIntroductionLane Distributor/Merger ConceptualPacket StructureData Transmission WayProcessor-Sourced PacketsPeripheral-Sourced PacketsReverse-Direction LP TransmissionVideo ModeSummary,Introduction for DSI,DSI is a Lane-scalable interface for increased performance.One Clock Lane/One to Four Data LanesDSI-compliant peripherals support either of two basic modes of operationCommand Mode(Similar to MPU IF)Data Lane 0:bidirectionalFor returning data,ACK or error report to hostAdditional Data Lanes:unidirectional.Video Mode(Similar to RGB IF)Data Lane 0:bidirectional or unidirectional;Additional Data Lanes:unidirectional.Video data should only be transmitted using HS mode.Transmission ModeHigh-Speed signaling modeLow-Power signaling modeForward/Reverse direction LP transmissions shall use Data Lane 0 onlyFor returning data,DSI-compliant systems shall only use Data Lane 0 in LP ModePacket TypesShort Packet:4 bytes(fixed length)Long Packet:665541 bytes(variable length),Two Data Lanes HS Transmission Example,Data Transmission Way,Separate Transmissions,Separate Transmissions,KEY:LPS Low Power State SP Short PacketSoT Start of Transmission LgP Long PacketEoT End of Transmission,Short Packet Structure,Packet Header(4 bytes)Data Identifier(DI)*1byte:Contains the Virtual Channel7:6 and Data Type5:0.Packet Data*2byte:Length is fixed at two bytesError Correction Code(ECC)*1byte:allows single-bit errors to be corrected and 2-bit errors to be detected.Packet SizeFixed length 4 bytesThe first byte of any packet is the DI(Data Identifier)byte.DI7:6:These two bits identify the data as directed to one of four virtual channels.DI5:0:These six bits specify the Data Type.,Long Packet Structure,Packet Header(4 bytes)Data Identifier(DI)*1byte:Contains the Virtual Channel7:6 and Data Type5:0.Word Count(WC)*2byte:defines the number of bytes in the Data Payload.Error Correction Code(ECC)*1byte:allows single-bit errors to be corrected and 2-bit errors to be detected.Data Payload(065535 bytes)Length=WC bytesPacket Footer(2 bytes):ChecksumIf the payload has length 0,then the Checksum calculation results in FFFFhIf the Checksum isnt calculated,the Checksum value is 0000hPacket Size4+(065535)+2=6 65541 bytes,Data Types for Processor-sourced Packets,Error Correction Code,P7=0 P6=0 P5=D10D11D12D13D14D15D16D17D18D19D21D22D23 P4=D4D5D6D7D8D9D16D17D18D19D20D22D23 P3=D1D2D3D7D8D9D13D14D15D19D20D21D23 P2=D0D2D3D5D6D9D11D12D15D18D20D21D22 P1=D0D1D3D4D6D8D10D12D14D17D20D21D22D23 P0=D0D1D2D4D5D7D10D11D13D16D20D21D22D23,Checksum,unsigned char xx=0 x01,0 x5a,0 x5a,0 x03,0 x08,0 x2A,0 x00,0 x01,0 x00,0 xF8,0 x00,0 xF6,0 x57,0 x00,0X00,0 xE5;typedef unsigned short U16;typedef unsigned char U8;U16 CRC_test;U16 crc16_update(U16 crc,U8 a);int main()U16 crc,i;crc=0 xFFFF;for(i=0;i1;i+)crc=crc16_update(crc,xxi);CRC_test=crc;,U16 crc16_update(U16 crc,U8 a)int i;crc=a;for(i=0;i 1)0 x8408;else crc=(crc 1);return crc;,Peripheral-to-Processor LP Transmissions,Detailed format descriptionPacket structure for peripheral-to-processor transactions is the same as forthe processor-to-peripheral direction For a single-byte read response,valid data shall be returned in the first byte The second byte shall be sent as 00hIf the peripheral does not support Checksum it shall return 0000h,Peripheral-to-Processor LP Transmissions,Peripheral-to-processor transactions are of four basic typesTearing Effect(TE):trigger message(BAh)Acknowledge:trigger message(84h)Acknowledge and Error Report:short packet(Data Type is 02h)Response to Read Request:short packet or long packetGeneric Read Response、DCS Read Response(1byte,2byte,multi byte)FeatureBTA shall take place after every peripheral-to-processor transactionMulti-Lane systems shall use Lane 0 for all peripheral-to-processor transmissionsReverse-direction signaling shall only use LP mode of transmission,Video Mode,DSI supports three formats for Video Mode data transmissionNon-Burst Mode with Sync PulsesNon-Burst Mode with Sync EventsBurst Mode,Summary for DSI,DSI is a Lane-scalable interface.One Clock LaneOne to Four Data LanesTransmission ModeHigh-Speed signaling mode(differential signal)(100mV300mV)Low-Power signaling mode(single-ended signal)(0V1.2V)For returning data,only use Data Lane 0 in LP ModePacket TypesShort Packet:4 bytes(fixed length)Data ID(1byte)+Data0(1byte)+Data1(1byte)+ECC(1byte)Long Packet:665541 bytes(variable length)Packet Header(4 bytes)+Data Payload(065535 bytes)+Packet Footer(2 bytes)Operation ModeCommand Mode(Similar to MPU IF)Video Mode(Similar to RGB IF)Non-Burst Mode with Sync PulsesNon-Burst Mode with Sync EventsBurst Mode,Thank you!,

    注意事项

    本文(MIPI协议详细介绍.ppt)为本站会员(小飞机)主动上传,三一办公仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。 若此文所含内容侵犯了您的版权或隐私,请立即通知三一办公(点击联系客服),我们立即给予删除!

    温馨提示:如果因为网速或其他原因下载失败请重新下载,重复下载不扣分。




    备案号:宁ICP备20000045号-2

    经营许可证:宁B2-20210002

    宁公网安备 64010402000987号

    三一办公
    收起
    展开