Opened 10 years ago
Closed 10 years ago
#231 closed defect (invalid)
IPECamera timeout should be computed using another formula
Reported by: | Suren A. Chilingaryan | Owned by: | Matthias Vogelgesang |
---|---|---|---|
Priority: | major | Milestone: | |
Component: | libuca | Version: | |
Keywords: | Cc: | Suren A. Chilingaryan, Michele Caselle, Uros Stevanovic, Matthias Vogelgesang |
Description
Here is the message from Uros:
Full readout time = exposure time + fot + readout time FOT = (reg73 + 2*(16/number_outputs))*129*clk_per Readout time = (129 * clk_per * 16/number_outputs) * num_lines, reg73= 7 (I think, just check this) number_outputs = 16 -for 10bit, 4 - for 12bit clk_per=25ns num_lines = 1088 or 2047 or 1, depends what you set....
On top of that, there is a DMA timeout which is 50 ms according to Lorenzo.
Attachments (0)
Change History (5)
comment:2 Changed 10 years ago by
So, I adapted that formula (was using that in a different way before) but to me the timeouts seem unreasonably high.
comment:3 Changed 10 years ago by
Actually DMA timeout is a bit higher, it is 67,2 ms, according to my code. Lorenzo should confirm.
FOT stands for the Frame Overhead Time, during which the pixels are sampled and prepared for readout.
All units are unnumbered, other than the clk_per, which is a clock period. For the clock of 40 MHz, this is 25ns.
Reg73 is 20, and this value is never changed.
Number_outputs for 11-bit is also 4, Michele should confirm.
comment:4 Changed 10 years ago by
All units are unnumbered, other than the clk_per, which is a clock period.
That's the point. If I don't know which unit is supposed to be used, the formula is useless. Since the clock period is given in nanoseconds the remaining times must be in nanoseconds too, however, someone told me that's not the case.
comment:5 Changed 10 years ago by
Resolution: | → invalid |
---|---|
Status: | new → closed |
INFINITE timeouts seems to work.
What does FOT stand for? What does reg73 stand for and how can I access it by name?
One more thing, what is
number_outputs
for 11 bit? Also could someone add units? Is everything in nanoseconds?