What is the meaning of the repetition start condition in I2C?

Source: Internet
Author: User
Tags repetition

During an I2C transfer there is often the need to first send a command and then read back an answer right away. this has to be done without the risk of another (multimaster) device interrupting this atomic operation. the I2C Protocol defines a so-called repeated start condition. after having sent the address byte (address and read/write bit) the master may send any number of bytes followed by a stop condition. instead of sending the stop condition it is also allowed to send another start condition again followed by an address (and of course including a read/write bit) and more data. this is defined recursively allowing any number of start conditions to be sent. the purpose of this is to allow combined write/read operations to one or more devices without releasing the bus and thus with the guarantee that the operation is not interrupted.

Regardless of the number of start conditions sent during one transfer the transfer must be ended by exactly one stop condition.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.