After initialization and upon capturing the first frame with the HM01B0 camera, the code appears to hang on this line [0] while waiting for VSYNC to go low. After device reset, it appears to happen 10-20% of the time. If it passes, it captures frames normally and is not an issue. Might this have something to do with timing and initialization? I increased the delay from 100 ms to 500 ms after reset and it doesn't appear to improve.
After initialization and upon capturing the first frame with the HM01B0 camera, the code appears to hang on this line [0] while waiting for VSYNC to go low. After device reset, it appears to happen 10-20% of the time. If it passes, it captures frames normally and is not an issue. Might this have something to do with timing and initialization? I increased the delay from 100 ms to 500 ms after reset and it doesn't appear to improve.
[0] https://github.com/ArduCAM/RPI-Pico-Cam/blob/518457893cc942186d2717e2f5f4b13393fa2446/rp2040_hm01b0/arducam/arducam.c#L270