1 / 117

I2C BUS

????? :. ???????????? ????? ????? ? ????????? ?? ?? I2C Bus??? ??????????? ???????????? ???????????? I2C????????? I2C. ???????. ?????? I2C ?? ????? ??? 1980 ???? ???? Philips ????? ?????.??? ?? ?? ????? ????? ???? ???? ???? ??? ?????? ?? CPU ?? ????? ??? ????? ?? ?? ?????? TV ???.I2C ?? ????

heinrich
Télécharger la présentation

I2C BUS

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


    1. I2C BUS ????? ??????? : ???? ???? ???? ??? ????? ?????

    2. ????? : ??????? ????? ????? ????? ? ???? ????? ?? ?? I2C Bus ??? ????? ?????? ??????? ????? ???????????? I2C ????????? I2C

    3. ??????? ?????? I2C ?? ????? ??? 1980 ???? ???? Philips ????? ?????. ??? ?? ?? ????? ????? ???? ???? ???? ??? ?????? ?? CPU ?? ????? ??? ????? ?? ?? ?????? TV ???. I2C ?? ????? ???? Inter IC Bus ?? ???? ?? ?? ????? ????? ???? ?? ???? ??????? ??? ?????? ????? ?? ????.

    4. ????? ?????? ??? ?????? ?? ???? ?? ???? ????? ??????? ??? ??? ? ?????? ?? ?? ??? ??????? ???? ? ?????? ??? ??? ?? ???? ??? ?? ???? ?? ?? ??????? ??????? ????? Xicor ? SGS Thomson ? Siemens?Intel ? T I ? Maxim ? Atmel ? Analog Devices ?? ?????? ??????? ???? ?? ?????? ???? ????? ??? ?? ??? ?????? ??????.

    5. ????? ???? ? ????? ?????

    6. ????? ???? ??? ?????? ??? ????? ? ???? ?? ????? ?????? ??????. ?? ??? ?????? ?? ????? ?? ???? ????? ????? ?? ?? ??? ???? ??????? ????? ???? ???? ? ???? : ???? ??????? ??????? ????? ?? IC??? ????? ?????? ?????. ??????? I2C ?? ???? on-chip ???? ?????. ?? ?? ???? ??? ?????? ? ?? ??? ?????? ???? ????? ???.

    7. IC?? ?????? ?? ?????? ?? ??? ??? ?????? ?? ?? ?????. ??? ???? ? ??? ?? ?????? ????? ???? ???. ???? ????? ??? ?????? ??? ?? ??????? ?? Library ???? ?? ????? ????? ???? ?? ????. ? ???? ????? : ???? ?? ????? ?? ????? ????? ?? ????? ???? ????? ???? ?????? ???? ????? ????? ??? ???? ??????

    8. ????? ????? ????? ????? ?? ????? ??? ??? ???? ???? ?? ???? ?? ????? ??? ???? ????? ????? ??? ????? ??? : ?? ???? ???? ?? ??? ????? ? ???? ??? PCB?? ?????. ??? Decoder??? ????. ?????? ????? ?? Package??? ????.

    9. ????? ?? ?? I2C ? ?????? ??? ??

    10. ????? : ??? ??? ???? ?????? ?? ?? ???? ??? ?? ???? ?? ????: Serial Data line (SDA) Serial Clock line (SCL) ?? ??? ??? ?? ???? ???? ?? ??? ????? ???? ?????? ?? ?? ???? ?? ?????? ?? ???? ?????? ?? ??????? ? ?? ?? ?? ??? ????. ?????? ?? ??? ??? ?? ???? ?? ?? ??? Master ????.

    13. ?? ???? ??? Master ???? ?? ??? ?????? ?? ??? ??? ???? ?? ????: Arbitration : ?????? ?????? ?? Master ???? ??????? ?? Bus . Synchronization : ?????? ???? clock ???? ?? ?? ??? ?????? ?????? ?? ?? ?? ??? ???? ?? ????.

    14. Bus Hardware ??? ??? ??? ????? ???? SDA ? SCL ?? ???? ?? ???? ?? ????. ?? ???? ???? ?? ???? ?? ???? ????? ?? ????? ???? ?? ????? ???. ???? ??????? ?? ????? ??????? ????? ????? ?? ??? ??? ?? ???????? open-drain output ? open-collector output ??????? ?? ???.

    15. ?? ??? ??? ???? SDA ? SCL ?? ???? ????????? pull-up ??? current-source ?? ?? ?? ???? ????? ???? ???? ?? ?????. ?? ??? ???? ?????? ?? ???? ?? ??? ?? ????? ??? ???? ??? ???? ?? ????? ????? HIGH ???? ?????.

    17. ?? ??? ?? ????? ??? ??? (open-collector) ????? ???? ????? ??? ??? ??? ??? ??? ?????? ??? ???????? ?? ??? ???? ?????? ???? ?? ?? ?????. ???? ?????? ??? ????? ?? ????? ????? ?? ???? ?? ?? ?? ?????? pull-up ???? ?? ???? ????? RC ????? ?? ???? ?? ?? ??? ??? ?????? ????? ????? ?????.

    19. ?????? ?? ??????? ???? ???? ??? ??????? ????? ?? ??? ?????? ???? ???? ?? ?? ???? ?? ???? ????? ???? ??? ????? ??? ???.

    20. ???? ?? ?? ??? ??? ??? ?? ??????? ??? ???? ??????? ?? ?????: Standard-mode: ?????? 100 Kbit/s ?Fast-mode: ?????? 400 Kbit/s High Speed-mode : ?????? 3.4 Mbit/s ??????? ???????? ?? ??? 400 pf ?? ????.

    21. ?????? ??? ??? ??????? : ???? ?? ??? ?? ?? 3.4 Mbit/s ??? ??? ?? ???. ??? ????? : 2.5 ?? 5.5 ??? ?? 2.7 ?? 5.5 ??? ? ?? ????? ???? 2.3 ?? 5.5 ??? ? ?? 3 ?? 3.6 ??? ??? ?????: ?? 40- ?? 85 ???? ????????? ? ?? ???? ????? 0 ?? 70 ?? 0 ?? 120 ???? ?????????

    22. ?????? ???? ??? ??????: ?????? ?? ???? (A0, A1, A2) ???? ??? ?? ????? ?? ??? 8 ??? ?? ?? IC ?? ?? ??? ????? ???? ? ???? ?? ???? ??? ?? ?? ?????? ?????. Package??? ????? ???: ???? ?? ????? DIP ? SOP ? SSOP ????? ?? ????. ????? ???? ??? ?? package??? SOP ? TSSOP ? ?? ????? ????? ???? ?? TSOP ? MLP ????? ?? ????.

    23. ?????? ?????? ???? ?? I2C BUS

    24. ?????? ??? : ?? ???? ?? ???????? ????? ????? ?? I2C ???? ??? ? ?? ????? ???? ?????? ? ?????? ?? ??? ????? VDD ??????. ?? ???? ???? ??? ???? ?????? ?? ??? ???? Master ????? ?? ????.

    26. ???????? Start ? Stop : ?? ????? ????? ?? ??? high ?? low ?? ??? SDA ???? ?? SCL ?? ??? high ??? ?? ????? ????? START ?????? ?? ???. ?? ????? ????? ?? ??? low ?? high ?? ??? SDA ???? ?? SCL ?? ??? high ??? ?? ????? ????? STOP ?????? ?? ???. ????? Start ? Stop ????? ?????? Master ????? ?? ???.

    28. ????? ???????? START ? STOP ?? ????? ?? ????? ???? ?? ??? ?? ??? ????? ???? ?? ??? ??? ??????? ???? ????? ?????? ???. ??????????? ???? ?? ??? ???? ??? ????? ?? ?????? ???? ?? SDA ????? 2 ??? ?? ?? ???? ???? ????? ?????? ???? ?? ??????? ??? ??????? ?? ?? ????. ????? ???????? Start ? Stop :

    29. ????? ???? ???? ? ????? Arbitration

    30. ??? Master ?? ???? ???? ?????? ?? ?? ????? ????? ???? ?? ?? ??? SDA ????? ?? ????. ??? ??? ???? ?? ?? ???? clock ???? ???? ?????? ?? ?? ???? ????? ???? ?????? ???? clock ??? Master ??????? ????. ?????? ???? ?? ??????? ?? ????? wired-AND ??????? I2C ?? ??? SCL ????? ?? ????.

    32. Arbitration ?? Master ???? ????? ?? ????? ???? ???? ?? ?? ??? SDA ????? ??? ?? ??? ?? ???? ????. ?????? ?? ?? ???? ???? ?? Master ?? ????? ?? ??? ??? ???? ??????. Arbitration ?? ??? ?? ???? ???? ????? ?? ???? ???? High ?? ???? ????? ?? ????. ?? ????? ??? ?? ????? wired-AND ????? ???? ?? ?? ??????? ?? ???.

    33. ???? ???? ?????? ?? ?? Master ??? High ?? ????? ?? ??? ?? ???? ?? ???? Master ?? ??? low ?? ?? ??? SDA ?? ?????? ??? ????? ?? ??? ????? ???? ??? ???. ??? ????? ?? ????? ???? ????? ??? ?????? ????? ????? ????. ?????? ?? ?? Master ?????? ??? ?? ??? ?? ?? ??? ?? ??? ?? ?? ??? ?? ??? ???? ??? ?? ?? ??? High ??? ?? ??? ?? ?????? ?? ??? ???? Master?? ?????? ????.

    35. ??????? ?? ?????? ???? ???? ???? ?? ????? handshake ?? receiver ???? ??? ?? ?? ?? ??? ????? ?? ???? ??????? ?? ?????? ??? ??? ???? ?? ???? ?????? ???? ?? ?? ???? ?? ????? ??? ?? ?? ???? ???? ?? ???? ????? ????? ???. ?? ??? ????? slave ?? ?? ?????? SCL ?? ??? ?? ?????? ???? low ??? ????? ?? master ?? ???? ?????? ???? ???. ?? ??? ???? ??? ?? ????? ?????? ?? ????? ??? low ???? ???? ???? ??? ?? ?????? ??? ?? ???? ?? ???? ???. Hs-mode ???? ?? ??? ????? ????? ???.

    36. ??????? ?? ???? 7 ????

    37. ??? ?? ????? ?? ?? general call ????? ??? ????? ??? ?? START ??? ??? ?????? ???? ?? ???? ????? ???? slave ???? ??? ??? ??? ?? ?? ??? ?? ??? ?? ???? ???? ?????? ???? ?? ?????? ??? ????? ??? : ??? ???? : ???? write ???. ?? ???? : ???? read ???.

    40. ???? ?? slave ?? ?? ???? ???? ? ???? ?????? ???? ????? ??? ??? ?? ??? ?? ??? ????? ?????? ????? ?? ?? ??? ????? ?????. ???? ???? ?????? ???? ???? ????? ?????? ??? ???????? ?? ???? ?? ??? ??? ?? ???? ??? ?? ?????? ??? ?? ????? ????? ????. ???? ???? ???? ?? ?? ???? ?? ??????? (0000XXX (1111XXX , ???? ????? ??? ??? ????? ??? ???.

    42. ????? ??? ????? ???? ???? ???

    43. General call address ?? ??? ???? ???? ??????? ????? ????? ???? ?? ??? I2C ??????? ?? ???. ??? ????? ?? ???? ?? ??????? ????? ???? ??? ?? ??? ?? ?? ????? slave-receiver ??? ?? ???. ??? ???? ??? ?? ???? ????: ?????? ?? ??? ?? ???? ?? ??? ????. ?????? ?? ?? ????.

    45. ???? START ????? ?? ?? ?????? ?? ??? ?? ?? ???? ?????? ????? ?????: ?? ??? ???? ??? on-chip ???? ?????? ?? I2C ?? ???? ??? ?????. ?? ????? ?????? ?????? ?? ??? ?????? ????? ????? ????? ?????? ??? ???? ??? ?? ??? ?? ???? ?????? ?????? ????? ???? ?? ????? ???.

    46. ?? ??? ????? ?? ???? ???? ???? ?? ????? ????? ??? ?? ???? ?????? ???? ?? ???? ???? ??? ?? ???. ??????????? ???? ?? ???? ?? ?? SDA ????? ?????? ?? ??? ?? ????? ??? ?? ??? ??? ??? ?????? ?? ??? ???? ?? ????? ??? ??? ???? ?? ????? ?????? ?? ???? ???? ?? ??? ?? ????? Sr ?? ?????? ?????? ???? ???? ????? ???.

    48. ?????? ?? I2C

    49. ????? ??????? ???: ?? ?? ???? ??? ???? ?? ????? ?? ???? ????????? ????? ?????: ???????? ???? ???? ?? ??????? ?????? ??????. ?????? 112 ???? ??????? ?? ???? 7 ???? ????? ?? ???. ???????? ?????? ??? ???? ????: ????? Fast-mode ????? Hs-mode ??????? 10 ????

    50. Fast-mode : ???? ???? ????????? SDA ? SCL ????? ???? ??. ?? ????? ???? ?? SDA ? SCL ????? ??? ???? ????? ? Schmitt trigger ?? ????? ?????. ??? ????? ??? ??? ?????? ????? ? ????? ????? ??? ? ?? ??? ?? ?????? ??????.

    51. ????????? pull-up ????? ???? ?? ???? ??? ???? ??? ??? ????? ???? ???. ???? ???? ?? 200 pf ?? ???? ?? pull-up ??? ??????? ??????? ??? ? ???? ????? ?? ?? ?? ????? ????? ( ?????? 3 mA ) ?? ?????? ??????? ???????? ??????? ???.

    53. Hs-mode : ????? ?? ???? ????? open-drain ???? ?????? SDAH ? ?????? ???????? open-drain pull-down? pull-up ? current-source ?? ??? ????? SCLH ??? ?? ???? ??? ?? ???? SCLH ???? ?? ???. ????? ?? ?? ???? ??? ???? ????? ?? Master ???? ???.

    54. Arbitration ? ?????? ???? clock ???? ?????. Master?? ?? ??? ?? ?????? ???? ????? ?? ?? ???? 1 ?? 2 ???? ??? high ?? low ????? ?? ???? ?? ???????? ?? ???? ?? ???. ????? ????? ????? ????? ?? ???? ????? SDAH ? SCLH ?? SDA ? SCL ?? Fast-mode ??????? ?? ???.

    56. ???? ????? ???? ??? ????? ?? Hs-mode Hs-mode ???? ??? ?? ????? ??? ??? ????? ?? ???? : ????? Start (S) ?? Master ?? ???? 8 ???? (00001XXX) ??? not-Acknowledge

    58. Hs-mode devices at lower speed ?? ??? ???? ??? ??????? ?? Fast-mode ?? ??? ??? ????? ?? ???? ? ?? ???? ?????? SDAH ? SCLH ???? ??? ????? ??????? ?? ??? ? ?????? SDA ? SCL (?? ???? ????) ???? ???? ???????? ??????? ?? ???.

    60. Mixed speed modes on one serial bus ?? ??? ???? ?? ????? ????? ? ???? ??? SDA ? SCL ?? ????? High speed ??????? ?? ???.

    62. ??????? 10 ????

    63. ???? 1111XXX ???? ??? ????? ???? ??? ??? . ??? ??? ?? ???? ???? 11110XX ??????? ?? ??? ? ???? 11111XX ???? ????? ??? ???? ??? ???. ??? ??? ??? ????? ???? 7 ???? ???? ??? ??? ???? ? ?? ??? Read/Write ?? ????. ?????? ??? ????? ????? ??????? 10 ???? ?? ???? ?? ????.

    69. ????????? I2C

    70. ????????????? ???? ?????? ???? ? ???? ????? ??? ??? ?? ?? ?????? 80c51 ??? ????? ???. ?? ???? ?? ?????? ???? ? ????? ??? ????? ?? ???? ?? ?? ?? ???? ????? ??? ?????? ????? ???? ??????? ???. ???? ????? ????? ???? ?? ????????? ????? ????? ???? ???.

    71. ?? ????? ??? ????? ?? ???? ROM(OTP/Flash) ? RAM ???? ?????? ? ???? I2C ? I/O ?????? ? ADC ?... ?? ?????.

    73. ????? ??? ???? ?????? ???? ?? ???? ??? ?????? ????? ?? ???? ????: ISP (In-System Programmable) IAP (In-Application Programmable) OTP (One Time Programmable) MTP (Multi Time Programmable)

    74. ?????? ????? ???????? ?????? I2C ?? ???????? ?? ????. ?????? ?? ?????? CANBus ?? ???????? ?? ???? ????? : 87C591

    75. ???????????80C552 (PLCC-68)

    76. CS6208 ???? ????????? ???? ?? I2C Interface ?????? ????? ???? ???? ??? Master/Slave

    77. ADUC831 Micro converter 12 ??? ADC/DAC 62KB Flash memory

    78. ?????? I2C ?? RS232

    79. ???? : ??????? ?? ???????? AT89C2051/AT89C4051 ?? ?????? ?? ?????? ?? ???? I2C

    81. RS232 & I2C servo control IC

    82. Extender , Repeater & Hub ?? ???? : PCA9511-16 , PCA9518 , P82B715 , P82B96 ?? ?????? ??? ?? ???? ????? : ????? ?? ???? ?? ??????? ?? ????? ?? 400pf ????. ?????? ??? ?? ????? ???? ????? ? ???? ????? ????? ????? ?? ?? ?????

    83. ????? ?????????? ???? ???? ????? ????? ???? ???? ??????? ???? ???? ????? ?? ?? ???? I2C ?????? ???? ???????? ?? ????? ?? ???? ????? ???? ?? ?????? ??? ?? ???.

    86. ???? 2 :

    87. ???? 3 :

    89. ???? 4 : ??????? ?? ???? USB ???? ?????? ??????? ?? ???? I2C

    91. I2C general purpose I/O Expanders

    92. ?????? ??? ????? ?? I2C Controller

    93. Multiplexed/Latched I2C EEPROM

    95. ???? :

    96. I2C Device for LED Display Control

    98. ???? 1 : ??????? ?? PCA955X

    101. ???? 2 : Blinkers

    102. LED Dimmers

    104. Sensors LM75A (digital temperature sensor and thermal watch-dog)

    106. LM82 : Remote diode & local digital temperature sensor with 2 wire interface

    107. AD7416 : temperature sensor

    108. CMOS Sensor-MB86S02A

    110. Application Note Automated linearization of sensor circuits

    111. ????????? ?????

    112. Server Management Card

    115. Motorola handheld computer

    117. I2C 2002-1 Evaluation Board kit

More Related