Motore di ricerca datesheet componenti elettronici |
|
MT9V023 Scheda tecnica(PDF) 13 Page - ON Semiconductor |
|
MT9V023 Scheda tecnica(HTML) 13 Page - ON Semiconductor |
13 / 43 page MT9V023 www.onsemi.com 13 TWO-WIRE SERIAL INTERFACE SAMPLE READ AND WRITE SEQUENCES 16-Bit Write Sequence A typical write sequence for writing 16 bits to a register is shown in Figure 9. A start bit given by the master, followed by the write address, starts the sequence. The image sensor then gives an acknowledge bit and expects the register address to come first, followed by the 16-bit data. After each 8-bit the image sensor gives an acknowledge bit. All 16 bits must be written before the register is updated. After 16 bits are transferred, the register address is automatically incremented, so that the next 16 bits are written to the next register. The master stops writing by sending a start or stop bit. Figure 9. Timing Diagram Showing a WRITE to Reg0x09 with the Value 0x0284 SCLK SDATA START ACK 0xBA ADDR ACK ACK ACK STOP Reg0x09 1000 0100 0000 0010 16-Bit Read Sequence A typical read sequence is shown in Figure 10. First the master has to write the register address, as in a write sequence. Then a start bit and the read address specifies that a read is about to happen from the register. The master then clocks out the register data 8 bits at a time. The master sends an acknowledge bit after each 8-bit transfer. The register address is auto-incremented after every 16 bits is transferred. The data transfer is stopped when the master sends a no-acknowledge bit. Figure 10. Timing Diagram Showing a READ from Reg0x09, Returned Value 0x0284 SCLK SDATA START ACK 0xBA ADDR 0xB9 ADDR 0000 0010 Reg0x09 ACK ACK ACK 1000 0100 NACK STOP 8-Bit Write Sequence To be able to write 1 byte at a time to the register a special register address is added. The 8-bit write is done by first writing the upper 8 bits to the desired register and then writing the lower 8 bits to the Bytewise Address register (R0xF0). The register is not updated until all 16 bits have been written. It is not possible to just update half of a register. In Figure 11, a typical sequence for 8-bit writing is shown. The second byte is written to the Bytewise register (R0xF0). Figure 11. Timing Diagram Showing a Bytewise Write to R0x09 with the Value 0x0284 STOP R0xF0 ACK START 0xB8 ADDR ACK DATA SCLK ACK ACK ACK ACK R0x09 0xB8 ADDR 0000 0010 1000 0100 START |
Codice articolo simile - MT9V023_17 |
|
Descrizione simile - MT9V023_17 |
|
|
Link URL |
Privacy Policy |
ALLDATASHEETIT.COM |
Lei ha avuto il aiuto da alldatasheet? [ DONATE ] |
Di alldatasheet | Richest di pubblicita | contatti | Privacy Policy | scambio Link | Ricerca produttore 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 |