Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Intermittent deadlock while waiting for VSYNC to fall #7

Open
jar opened this issue Aug 4, 2021 · 0 comments
Open

Intermittent deadlock while waiting for VSYNC to fall #7

jar opened this issue Aug 4, 2021 · 0 comments

Comments

@jar
Copy link

jar commented Aug 4, 2021

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]

while (gpio_get(config->pin_vsync) == true);

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant