driver: add docs on strange prinout bug

This commit is contained in:
morgan 2025-01-14 12:40:59 +08:00
parent f11016cbb5
commit 02913d2fda

View File

@ -227,7 +227,7 @@ _TRIG_SRC_INDEX_3 = 0x100081ac # d_479
_TRIG_ACT_INDEX_3 = 0x1000293c # d_502
_TRIG_SOFTWARE_INDEX_3 = 0x10000c34 # d_525
CXP_TRIG = True
CXP_TRIG = False
class IdleKernel(EnvExperiment):
def build(self):
@ -295,7 +295,10 @@ class IdleKernel(EnvExperiment):
# self.cxp.write_u32(_REAL_ACQ_STOP, 1) # single acq end
# self.cxp.write_u32(_REAL_ACQ_ABORT, 1) # single acq ABORT
# self.cxp.write_u32(_BSL_SENSOR_STAND_BY, 1)
for _ in range(4):
# NOTE: This may not print when using CXP hardware TRIG
# As the write_u32 trigger a packet printout that delays the CPU enough that the frame arrive
# But using hw trigger, the print is not necessory i.e. not enough time delay for the zc706 to receive the frame
cxp_debug_frame_print()
return 0