| 数据搜索系统,热门电子元器件搜索 |
|
VD5377CBSW 数据表(PDF) 57 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
VD5377CBSW 数据表(HTML) 57 Page - STMicroelectronics |
|
57 / 88 page ![]() Doc ID 022952 Rev 2 57/88 VD5377 Image capture 9.1.1 Step-by-step procedure The flow chart in Figure 24 represents the implementation of the I2C frame dump mode from the host’s point of view. Figure 24. Flow chart procedure for I2C frame dump For I2C multiple read see Section 11.4.4: Multiple location read on page 66. Framedump enable frame dump 1 - Set clocks (write 0x15 = 0x22) 3 - Set framedump_reset_n (set bit 5 of reg 0x16) 4 - Select output image type - Exp/black/CDS (set 1:0 of reg 0x56) 5 - Disable I2C auto increment (reset bit 0 of reg 0x7C) wait tsetup I2C multiple read disable frame dump Exit sequence of 400 bytes 5 - Clear motion_engine_start (reset bit 7 in register 0x19) 7 - Wait for 250 us or poll bit 2 of register 0x59 8 - Read 400 pixel data stored in register 0x58 9 - Disable frame dump mode (write 0x00 in register 0x59) 13 - Reset clocks (set register 0x15 to 0x00) 12 - Clear framedump_reset_n (reset bit 5 of reg 0x16) 11 - Re-enable I2C auto increment (set bit 0 of reg 0x7C) * * : - a multiple read of 400 bytes correspond to the I2C sequence: start+device_addr(W)+index(0x58)+repeated_start+device_addr(R)+Pixel0+Pixel1+...+Pixel399+Stop - if -due to some host limitation- such a long multiple read is not possible, a similar sequence as below should be performed. Example for a limitation of 128 byte multiple read: start+device_addr(W)+index(0x58)+repeated_start+device_addr(R)+Pixel0+...+Pixel127+Stop start+device_addr(W)+index(0x58)+repeated_start+device_addr(R)+Pixel128+...+Pixel255+Stop start+device_addr(W)+index(0x58)+repeated_start+device_addr(R)+Pixel256+...+Pixel383+Stop start+device_addr(W)+index(0x58)+repeated_start+device_addr(R)+Pixel384+...+Pixel399+Stop 10 - Set motion_engine_start (set bit 7 in register 0x19) 6 - Enable frame dump mode (write 0x01 in register 0x59) init sequence |
|
链接网址 |
| ALLDATASHEET是否为您带来帮助? [ DONATE ] |
关于 Alldatasheet | 广告服务 | 联系我们 | 隐私政策 | 数据表链接 | 链接交换 | 制造商名单 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 |