HowardALandman / QTD

Research project on Quantum Time Dilation, including theory and plans for an experiment to test it.
2 stars 1 forks source link

Timeout value does not limit measurement duration in meas_mode=1 #10

Open sebrit opened 3 years ago

sebrit commented 3 years ago

The timeout value that is set during configuration only affects only the Clock Counter Overflow register, which is only relevant for measurement mode 2.

For measurement mode 1, the Coarse Counter Overflow has to be set, e.g. by changing the related registers (0x04, 0x05) from the default maximum values of 0xFF. It's easy to do this manually with a write16 or two write8 calls, but for added comfort/cleanliness this could be integrated into the configure() function with a check for which measurement mode has been selected.