| Electronic Components Datasheet Search |
|
AP2071 Datasheet(PDF) 20 Page - Asahi Kasei Microsystems |
|
|
|||||||||||||||||||||||||||||
AP2071 Datasheet(HTML) 20 Page - Asahi Kasei Microsystems |
|
20 / 31 page ![]() [AP2071AEN] MS1607-E-00 - 20 - 2014/03 ■ Serial Control Interface The AP2071AEN supports a fast-mode I 2C-bus system (max: 400kHz). Pull-up resistors at the SCL and SDA pins should be connected to VIN or less. 1. WRITE Operations Figure 9 shows the data transfer sequence for the I 2C-bus mode. All commands are preceded by a START condition. A HIGH to LOW transition on the SDA line while SCL is HIGH indicates a START condition (Figure 14). After the START condition, a slave address is sent. This address is 7 bits long followed by the eighth bit that is a data direction bit (R/W). The most significant six bits of the slave address are fixed as “011011” (Figure 10). The seventh bit is determined by ADDR pin. If the slave address matches that of the AP2071AEN, the AP2071AEN generates an acknowledge and the operation is executed. The master must generate the acknowledge-related clock pulse and release the SDA line (HIGH) during the acknowledge clock pulse (Figure 15). An R/W bit value of “1” indicates that the read operation is to be executed, and “0” indicates that the write operation is to be executed. The second byte consists of the control register address of the AP2071AEN. The format is MSB first, and those most significant 4-bit are fixed to zero (Figure 11). The data after the second byte contains control data. The format is MSB first, 8bits (Figure 12). The AP2071AEN generates an acknowledge after each byte is received. A data transfer is always terminated by a STOP condition generated by the master. A LOW to HIGH transition on the SDA line while SCL is HIGH defines a STOP condition (Figure 14). The AP2071AEN can perform more than one byte write operation per sequence. After receipt of the third byte the AP2071AEN generates an acknowledge and awaits the next data. The master can transmit more than one byte instead of terminating the write cycle after the first data byte is transferred. After receiving each data packet the internal 5-bit address counter is incremented by one, and the next data is automatically taken into the next address. If the address exceeds 0BH prior to generating the stop condition, the address counter will “roll over” to 00H and the previous data will be overwritten. The data on the SDA line must remain stable during the HIGH period of the clock. The HIGH or LOW state of the data line can only change when the clock signal on the SCL line is LOW (Figure 16) except for the START and STOP conditions. SDA Slave Address S S T A R T R/W="0" A C K Sub Address(n) A C K Data(n) A C K Data(n+1) A C K A C K Data(n+x) A C K P S T O P Figure 9. Data Transfer Sequence 0 1 1 0 1 1 ADDR R/W Figure 10. The First Byte (Do not change the ADDR pin in case of writing) 0 0 0 0 A3 A2 A1 A0 Figure 11. The Second Byte D7 D6 D5 D4 D3 D2 D1 D0 Figure 12. Byte Structure After The Second Byte |
|
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 |