| Electronic Components Datasheet Search |
|
MGC3030 Datasheet(PDF) 29 Page - Microchip Technology |
|
|
|||||||||||||||||||||||||||||
MGC3030 Datasheet(HTML) 29 Page - Microchip Technology |
|
29 / 46 page ![]() Figure 7-2. I2C Host 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 host presents the ACK bit on the ninth clock for data acknowledgment • The I2C host must monitor the SCL pin prior to asserting another clock pulse, as the MGC3140 may be holding off the I2C host by stretching the clock. I2C Communication Steps 1. SCL and SDA lines are Idle high. 2. I2C host presents Start bit to the MGC3140 by taking SDA high-to-low, followed by taking SCL high-to-low. 3. I2C host presents 7-bit address, followed by a R/W = 1 (Read mode) bit to the MGC3140 on SDA, at the rising edge of eight host clock (SCL) cycles. 4. MGC3140 compares the received address to its Device ID. If they match, the MGC3140 acknowledges (ACK) the host sent address by presenting a low on SDA, followed by a low-high-low on SCL. 5. MGC3140 host monitors SCL, as the MGC3140 may be clock-stretching, holding SCL low to indicate that the I2C host should wait. 6. I2C host receives eight data bits (MSB first) presented on SDA by the MGC3140, at eight sequential I2C host 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 host 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 host NACK’s 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 Host Write Bit Timing I2C host write is to send supported commands to the MGC3140. The timing diagram is shown below: Figure 7-3. I2C Host Write 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 0 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 into the MGC3140 on the rising edges of SCL. • ACK bit: – MGC3140 presents the ACK bit on the ninth clock for address acknowledgment MGC3140 Interface Description © 2018-2022 Microchip Technology Inc. and its subsidiaries Advance Information Datasheet DS40002037C-page 29 |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List 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 |