and build, flash firmware. with csi0.ioctl(csi.IOCTL_SET_TRIGGERED_MODE, True) (running scripts/examples/01-Camera/04-Global-Shutter/triggered_mode.py) and I can still see image in openmv IDE. Without trigger, snapshot() should throw a timeout? Thank you very much
Great find, and thanks for the clean repro method – you were right, and it’s a
driver bug, not the example. The PAG7936’s suspend command only takes effect at
the next frame boundary, and the trigger configuration written right after it
is ignored unless the sensor has actually suspended (the datasheet requires a
one-frame delay there, which the driver skipped). That’s also why the position
of the ioctl mattered: before framesize() nothing is streaming, so the
sequence latches; after, the sensor is mid-frame and ignores it. It’s frame
size dependent too – at QVGA the short frames happen to end inside the I2C
write sequence, so it accidentally works there, while VGA/HD never engage.