| поискавой системы для электроныых деталей |
|
MGC3140 датащи(PDF) 31 Page - Microchip Technology |
|
|
|||||||||||||||||||||||||||||
MGC3140 датащи(HTML) 31 Page - Microchip Technology |
|
31 / 49 page ![]() I2C Master Read Bit Timing Master read is to receive position data, gesture reports and command responses from the MGC3140. The timing diagram is shown below: Figure 7-2. I2C Master Read Bit Timing Diagram 3 1 2 4 5 6 7 8 9 3 1 2 4 5 6 7 8 9 3 1 2 4 5 6 7 8 9 A7 A6 A5 A4 A3 A2 A1 1 D7 D6 D5 D4 D3 D2 D1 D0 D7 D6 D5 D4 D3 D2 D1 D0 Address R/W ACK ACK ACK Data Data Address Bits Latched in Data Bits Valid Out Data Bits Valid Out SCL may be stretched SCL may be stretched S P Start Bit Stop Bit SDA SCL • Address bits are latched into the MGC3140 on the rising edges of SCL. • Data bits are latched out of the MGC3140 on the rising edges of SCL. • ACK bit: – MGC3140 presents the ACK bit on the ninth clock for address acknowledgment – I2C master presents the ACK bit on the ninth clock for data acknowledgment • The I2C master must monitor the SCL pin prior to asserting another clock pulse, as the MGC3140 may be holding off the I2C master by stretching the clock. I2C Communication Steps 1. SCL and SDA lines are Idle high. 2. I2C master presents Start bit to the MGC3140 by taking SDA high-to-low, followed by taking SCL high-to-low. 3. I2C master presents 7-bit address, followed by a R/W = 1 (Read mode) bit to the MGC3140 on SDA, at the rising edge of eight master clock (SCL) cycles. 4. MGC3140 compares the received address to its Device ID. If they match, the MGC3140 acknowledges (ACK) the master sent address by presenting a low on SDA, followed by a low-high- low on SCL. 5. I2C master monitors SCL, as the MGC3140 may be clock-stretching, holding SCL low to indicate that the I2C master should wait. 6. I2C master receives eight data bits (MSB first) presented on SDA by the MGC3140, at eight sequential I2C master clock (SCL) cycles. The data is latched out on SCL falling edges to ensure it is valid during the subsequent SCL high time. 7. If data transfer is not complete, then: – I2C master acknowledges (ACK) reception of the eight data bits by presenting a low on SDA, followed by a low-high-low on SCL. – Go to Step 5. 8. If data transfer is complete, then: – I2C master acknowledges (ACK) reception of the eight data bits and a completed data transfer by presenting a high on SDA, followed by a low-high-low on SCL. I2C Master Write Bit Timing I2C master write is to send supported commands to the MGC3140. The timing diagram is shown below: MGC3140 Interface Description © 2018 Microchip Technology Inc. DS40002037A-page 31 |
|
ссылки URL |
| Вашему бизинису помогли Аллдатащит? [ DONATE ] |
Что такое Аллдатащит | реклама | контакт | Конфиденциальность | Ссылка на техническое описание | обмен ссыками | поиск по производителю 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 |