IMX071 (D5100/D7000) Sensor Protocol

All things embedded.
*NO FEATURE REQUESTS*

Re: IMX071 (D5100/D7000) Sensor Protocol

Postby coderat » Tue Nov 28, 2017 11:31 am

APGC gain values are 12-bit. I agree on APGC registers in WIKI 0x2E-0x2F, 0x30-0x31, 0x32-0x33 being little endian half-words.
APGC register 0x2C-0x2D is also little endian half-word, but gain value occupies bits 4-15.
coderat
Core Developer
 
Posts: 2276
Joined: Fri Apr 26, 2013 10:21 am
Been thanked: 448 times

Re: IMX071 (D5100/D7000) Sensor Protocol

Postby coderat » Wed Nov 29, 2017 3:10 pm

Finally it is clear that IMX071 supports window cut-out mode. From manual of ASI071 astro camera:
page1.GIF
page1.GIF (12.17 KiB) Viewed 1613 times

page2.GIF
coderat
Core Developer
 
Posts: 2276
Joined: Fri Apr 26, 2013 10:21 am
Been thanked: 448 times

Re: IMX071 (D5100/D7000) Sensor Protocol

Postby coderat » Wed Nov 29, 2017 3:15 pm

And from ASI128MC product based on IMX128:
Attachments
page3_asi128mc.GIF
page3_asi128mc.GIF (35.1 KiB) Viewed 1613 times
coderat
Core Developer
 
Posts: 2276
Joined: Fri Apr 26, 2013 10:21 am
Been thanked: 448 times

Re: IMX071 (D5100/D7000) Sensor Protocol

Postby astronomer » Thu Nov 30, 2017 6:29 pm

Hi Coderat,

The windowing is only in vertical scan direction as it's column parallel ADC. I have a working design. For horizontal windowing, the support is in FPGA by throwing away unwanted data. Thus there won't be frame rate improvement.

Best,
astronomer
User avatar
astronomer
Developer
 
Posts: 722
Joined: Fri Apr 06, 2012 10:06 am
Location: US
Been thanked: 292 times

Re: IMX071 (D5100/D7000) Sensor Protocol

Postby coderat » Fri Dec 01, 2017 6:40 am

Ppl in astro forum confirm ASI071 camera datasheet. So it should be somehow.

P.S. IMX021 is also CMOS with column-parallel ADC and it can window readout !
coderat
Core Developer
 
Posts: 2276
Joined: Fri Apr 26, 2013 10:21 am
Been thanked: 448 times

Re: IMX071 (D5100/D7000) Sensor Protocol

Postby astronomer » Fri Dec 01, 2017 12:55 pm

coderat wrote:Ppl in astro forum confirm ASI071 camera datasheet. So it should be somehow.

P.S. IMX021 is also CMOS with column-parallel ADC and it can window readout !


Yes, for column parallel CMOS sensors, the row timing is fixed to be equal to max(ADC time cost + readout time cost, LVDS transfer time per line) in a dual scan pipeline design. (most cases)
Or it's max(readout time cost, ADC time cost, LVDS transfer time per line) in a triple pipelined design.

Some sensors supports internal data discarding for horizontal windowing. But this is not the case for many sensors. CMOSIS and Sony large format CMOS are one of these. Thus the FPGA has to read the whole line of data and then only store the window region you want. In Nikon camera, I'm not sure if this is possible on the EI-155 deserializing bridge or a capability on the EI-156 DSP. If it's possible, there should be a register that corresponds to the setting.

Best,
astronomer
User avatar
astronomer
Developer
 
Posts: 722
Joined: Fri Apr 06, 2012 10:06 am
Location: US
Been thanked: 292 times

Re: IMX071 (D5100/D7000) Sensor Protocol

Postby coderat » Fri Dec 01, 2017 6:23 pm

I added description of some IMX071 registers to WIKI and bit layout for configuration values. There are 6 undescribed 12-bit values and 2 11-bit values. I suspect some of them are related to window readout mode, but did not identify the function yet.
coderat
Core Developer
 
Posts: 2276
Joined: Fri Apr 26, 2013 10:21 am
Been thanked: 448 times

Re: IMX071 (D5100/D7000) Sensor Protocol

Postby coderat » Sat Dec 02, 2017 2:55 pm

Sony announces IMX021 like:
imx021anounce.gif
imx021anounce.gif (14.81 KiB) Viewed 1544 times


Unfortunately, I didn't find IMX021 datasheet. So it will be a hard job to identify "window readout" registers.
coderat
Core Developer
 
Posts: 2276
Joined: Fri Apr 26, 2013 10:21 am
Been thanked: 448 times

Re: IMX071 (D5100/D7000) Sensor Protocol

Postby coderat » Sun Jan 07, 2018 7:07 am

@astronomer
Did you have a look on 12-bit IMX071 registers that I found and documented in WIKI ?
coderat
Core Developer
 
Posts: 2276
Joined: Fri Apr 26, 2013 10:21 am
Been thanked: 448 times

Re: IMX071 (D5100/D7000) Sensor Protocol

Postby astronomer » Mon Aug 20, 2018 4:36 pm

coderat wrote:@astronomer
Did you have a look on 12-bit IMX071 registers that I found and documented in WIKI ?


Hi coderat,

Sorry, I've been busy working on other camera projects. And there's nothing I could found in the project file I have for now.

So yesterday with help of a collaborator, we sniffed the Nikon D800 and the register with different setting under FX/DX/1.2x mode is in address 0x08 ~0x0B, in two 16bit unsigned integer. The first indicates number of lines to skip. The second indicates number of lines to readout. Even Nikon D600 didn't use this function in its DX crop mode. What a shame. To enable this function, you need to set LSB at 0x01 to 1. Then presumably these two register will take effect during the scan. I believe the register map for these is similar for IMX071. We can try it on D5100.
User avatar
astronomer
Developer
 
Posts: 722
Joined: Fri Apr 06, 2012 10:06 am
Location: US
Been thanked: 292 times

PreviousNext

Return to Firmware

Who is online

Users browsing this forum: No registered users and 2 guests