| 数据搜索系统,热门电子元器件搜索 |
|
MPR031EP 数据表(PDF) 4 Page - Freescale Semiconductor, Inc |
|
|
|||||||||||||||||||||||||||||
MPR031EP 数据表(HTML) 4 Page - Freescale Semiconductor, Inc |
|
4 / 32 page ![]() MPR03X Sensors 4 Freescale Semiconductor Preliminary 2.3 Serial Interface The MPR03X uses an I2C Serial Interface. The I2C protocol implementation and the specifics of communicating with the Touch Sensor Controller are detailed in the following sections. 2.3.1 Serial-Addressing The MPR03X operates as a slave that sends and receives data through an I2C 2-wire interface. The interface uses a Serial Data Line (SDA) and a Serial Clock Line (SCL) to achieve bi-directional communication between master(s) and slave(s). A master (typically a microcontroller) initiates all data transfers to and from the MPR03X, and it generates the SCL clock that synchronizes the data transfer. The MPR03X SDA line operates as both an input and an open-drain output. A pull-up resistor, typically 4.7k Ω, is required on SDA. The MPR03X SCL line operates only as an input. A pull-up resistor, typically 4.7k Ω, is required on SCL if there are multiple masters on the 2-wire interface, or if the master in a single-master system has an open-drain SCL output. Each transmission consists of a START condition (Figure 5) sent by a master, followed by the MPR03X’s 7-bit slave address plus R/W bit, a register address byte, one or more data bytes, and finally a STOP condition. Figure 5. Wire Serial Interface Timing Details 2.3.2 Start and Stop Conditions Both SCL and SDA remain high when the interface is not busy. A master signals the beginning of a transmission with a START (S) condition by transitioning SDA from high to low while SCL is high. When the master has finished communicating with the slave, it issues a STOP (P) condition by transitioning SDA from low to high while SCL is high. The bus is then free for another transmission. Figure 6. Start and Stop Conditions 2.3.3 Bit Transfer One data bit is transferred during each clock pulse (Figure 7). The data on SDA must remain stable while SCL is high. SCL SDA tLOW tHIGH tF tR tHD STA tHD DAT tHD STA tSU DAT tSU STA tBUF tSU STO START CONDITION STOP CONDITION REPEATED START CONDITION START CONDITION DATA LINE STABLE DATA VALID CHANGE OF DATA ALLOWED SDA SCL |
|
链接网址 |
| ALLDATASHEET是否为您带来帮助? [ DONATE ] |
关于 Alldatasheet | 广告服务 | 联系我们 | 隐私政策 | 数据表链接 | 链接交换 | 制造商名单 All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |