Trigger error in Lab_2_1

All good there. I ran more experiments and it looks like what’s happening here is that the target is sensitive to getting its clock disturbed by the scope.clock.adc_src = "clkgen_x1" call. The solution is to reset the target after changing the clock setting: