NSEE / SimuCam_Development_NFEE

SimuCam repository - NFEE version (LESIA/IAA)
3 stars 3 forks source link

SimuCam readout timing is not matching LESIA timing expectations nor theoretical timing #20

Open ericolucasm opened 5 years ago

ericolucasm commented 5 years ago

LESIA expectation: Knowing RT and knowing the size of the packets, it is possible to calculate: The packet transmission period = 5.99 ms The time for transferring one packet (ms) (with a link at 100 Mbps, i.e. 80 Mbps with SpW overhead) = 3.21 ms The dead time between two packets = 2.77 ms

Theoretical Timing (calculated considering pixel timings) Readout time: (Columns x Rows x Pixel delays) + (Rows x Line delay) (2295 x 4540 x 333ns) + (4540 x 90ns) = 3,87s

Practical results: Current readout time: 3,29s. Time between packets: 1,83ms Delay between pixels (considering that the line delay is 90ns): 200ns

rodmarfran commented 5 years ago

The HW timing generation was verified and errors were located with the source code. The configuration for the line delays was wrong and some of the adc delay states transition were badly executed. A correction for the timing generation was created and simulated, in 5f57da8dd362bd1ae544082bbc6479c19f7b35a0, and synthesized for tests in HW V20, in commit 4b551861dadf203ffcb4ed3c6f03ee44bc6efc3e.

Change Log:

Remaining:

Test Procedure:

Hardware Programming File: