Please identify the sensor so we can at least know which of Sony's product ranges we're discussing, and if necessary I can ask Sony for the relevant datasheets. I'm guessing Starvis or Starvis2 based on what you've said.
Compare the register sets between the two modes. Are they really changing the clock setup as it's more normal to change the blanking only. Is it changing the pixel array clocking as well as the MIPI clocking, as that will change the exposure calculations as well.
IMX327/290/462 have predefined modes for different frame rates, but actually have VBLANK and HBLANK type registers that work in the normal manner.
The way that libcamera on the Pi is expecting to drive sensors doesn't allow for 2 modes of the same resolution with different frame rates.
If the pixel rate is consistent and hence not needing to recompute exposure registers, then you could frig it via a VBLANK control that had min value equivalent to the 90fps mode, max for the 60fps mode, and step of max-min.
Compare the register sets between the two modes. Are they really changing the clock setup as it's more normal to change the blanking only. Is it changing the pixel array clocking as well as the MIPI clocking, as that will change the exposure calculations as well.
IMX327/290/462 have predefined modes for different frame rates, but actually have VBLANK and HBLANK type registers that work in the normal manner.
The way that libcamera on the Pi is expecting to drive sensors doesn't allow for 2 modes of the same resolution with different frame rates.
If the pixel rate is consistent and hence not needing to recompute exposure registers, then you could frig it via a VBLANK control that had min value equivalent to the 90fps mode, max for the 60fps mode, and step of max-min.
Statistics: Posted by 6by9 — Sat Oct 19, 2024 11:58 am