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

Frame Rate is not set correctly #2

Open
daveoley opened this issue Dec 15, 2023 · 1 comment
Open

Frame Rate is not set correctly #2

daveoley opened this issue Dec 15, 2023 · 1 comment

Comments

@daveoley
Copy link

The avt3_video_ops_s_frame_interval function clamps the frame rate using the FRAME_RATE_MIN/MAX registers. However, these values are not necessarily correct. The frame width/height/offset is not written to the sensor until a stream is started, so the frame rate min/max values are based on the previous frame size.

For example, I'm using the ALVIUM 1800 C-510m. On startup, the frame size is set to the maximum. I set the frame rate to 250 Hz, but the driver clamps the value to ~60 Hz. When I start the stream, the driver writes the 60 Hz frame rate into the sensor. If I stop the stream, set the frame rate again, and restart - I get the correct 250 Hz behavior.

@daveoley
Copy link
Author

image

dlangenkamp-avt added a commit that referenced this issue Sep 25, 2024
…o alvium csi2 driver

Merge in HSW_CSIDRIVER/alvium-csi2-driver from feature/UNISDK-4281-add-platform-abstraction-layer-to-alvium-csi2-driver to dev

* commit 'c6693b3e3a75fea93216bd8689bafbf4df32d4e7':
  Added nvidia platform abstraction
  Added initial version of platform abstraction layer
  WIP: Add platform abstraction layer
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