| Electronic Components Datasheet Search |
|
D2-71083-LR Datasheet(PDF) 28 Page - Renesas Technology Corp |
|
|
|||||||||||||||||||||||||||||
D2-71083-LR Datasheet(HTML) 28 Page - Renesas Technology Corp |
|
28 / 33 page ![]() D2-6 Family Audio SOC FN7838 Rev.4.00 Page 28 of 33 Mar. 19, 2019 READING AND WRITING CONTROL REGISTERS Registers and memory spaces are defined within the D2-6 family firmware for specific internal operation and control. In typical reference designs, the highest-order byte of the register address (Bits 23:16) determines the internal address space used for control read or write access, and the remaining 16 bits (Bits 15:0) describe the actual address within that space. Refer to the descriptions of the actual reference design firmware being used in the application for specific definitions. All reads or writes to registers (shown in Figures 11 and 12) begin with a Start Condition, followed by the Device Address byte, three Register Address bytes, three Data bytes, and a Stop Condition. Register writes through the I2C interface are initiated by setting the read/write bit that is within the device address byte. The device write function as, shown in Figure 11, executes the following nine steps as the I2C bus master: 1. I2C START command 2. Transmit device I2C address with W 3. Transmit mode byte 4. Transmit upper memory address byte 5. Transmit lower memory address byte 6. Transmit data upper byte 7. Transmit data middle byte 8. Transmit data lower byte 9. I2C STOP command All reads to registers require two steps. First, the master must send a dummy write, which consists of sending a Start, followed by the device address with the write bit set, and three register address bytes. Next, the master must send a repeated Start, following with the device address with the read/write bit set to read, and then read the next three data bytes. The master must Acknowledge (ACK) the first two read bytes and send a Not Acknowledge (NACK) on the third byte received and a Stop condition to complete the transaction. The device's control interface acknowledges each byte by pulling SDA low on the bit immediately following each write byte. The device read function, as shown in Figure 12, executes the following 11 steps as the I2C bus master: 1. I2C START command 2. Transmit device I2C address with W 3. Transmit mode byte 4. Transmit upper memory address byte 5. Transmit lower memory address byte 6. Repeat START command 7. Transmit device I2C address with R 8. Receive data upper byte 9. Receive data middle byte 10. Receive data lower byte 11. I2C STOP command or NACK FIGURE 11. I2C WRITE SEQUENCE OPERATION ACK DEVICE-ADDR R/W ACK REGISTER [15:8] ACK REGISTER [7:0] START ACK ACK ACK ACK DATA [7:0] DATA [15:8] DATA [23:16] STOP REGISTER [23:16] REGISTER [7:0] Write Sequence FIGURE 12. I2C READ SEQUENCE OPERATION ACK DEVICE-ADDR R/W ACK REGISTER [15:8] ACK REGISTER [7:0] START ACK MASTER ACK NACK DATA [7:0] DATA [15:8] DATA [23:16] STOP REGISTER [23:16] ACK REPEAT START REPEAT START DEVICE-ADDR R/W ACK MASTER ACK Step 1 Step 2 Read Sequence |
|
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 |