Testing stability of I2C register writing
This calibration tests the stability of the I2C register writing and reading. A set of registers is written and read back for CIC, MPA, SSA and CBC. A certain pattern is written and read back, checking that what is written and what is read are the same. To make sure that each iteration is successful it alternates a pattern and its negations at each iteration.
To run the calibration:
runCalibration -f settings/THEXMLFILE.xml -c OTRegisterTester
The pattern and the number of iterations can be configured in the XML:
<Setting name="OTRegisterTester_NumberOfIterations">1000</Setting>
<Setting name="OTRegisterTester_Pattern">0xAA</Setting>
The registers that are written/read span different blocks and pages or registers covering the whole chip or specific channels.
For 1000 iterations it takes about 7 minutes for PS and 2.5 minutes for 2S.