Horizontal and Vertical Sync
H and V sync signals can be enabled by adding
Code: Select all
imx477_hv_sync_enable=1
The following settings for these pulses can be changed by adding the appropriate parameters to config.txt:
Code: Select all
# H/V sync polarity. Set to 0 for active low, 1 for active high.
imx477_hsync_polarity
imx477_vsync_polarity
# Pulse width, proportional to the pixel clock frequency.
# Valid values are 0 (smallest width) to 7 (largest width)
imx477_hsync_width
imx477_vsync_width
A flash strobe signal can be enabled by adding
Code: Select all
imx477_fstrobe_enable=1
The following settings for flash strobe can be changed by adding the appropriate parameters to config.txt:
Code: Select all
# Set to 0 for single strobe pulse, or 1 for continuous pulses every frame.
imx477_fstrobe_cont_trig
# Number of lines to delay before triggering the pulse.
# Set this to the frame height if you want all lines to be exposing for the flash strobe.
imx477_fstrobe_delay
# Set to 1 to only trigger the pulse in stills capture mode.
imx477_fstrobe_stills_only
# Width of the pulse, in units of the INCLK period.
imx477_fstrobe_width
It is possible to synchronise the readouts of two or more imx477 sensors by wiring their XVS test points together. These devices can be on separate Pi boards, or can be on a Compute Module (CM) board with two sensors attached.
One camera must act as a trigger source, and the others act as trigger sinks. To set this up, the following parameter must be set in config.txt:
Code: Select all
# Set to 0 to disable.
# Set to 1 to act as a trigger source device on a non-CM board.
# Set to 2 to act as a trigger sync device on a non-CM board.
#
# For a CM board, use imx477_trigger_mode:0=1 to set camera 0 as trigger source, or imx477_trigger_mode:0=2 to set camera 0 as trigger sync.
# Similarly, use imx477_trigger_mode:1=1 to set camera 1 as trigger source, or imx477_trigger_mode:1=2 to set camera 1 as trigger sync.
imx477_trigger_mode