Syncpt timeout error occurs when launching application with higher fps


I am working on a camera sensor driver on Jetson TK1 board running linux kernel l4t 21.5.
Camera streaming works properly initially when opening the application. When the application is closed with lower exposure level and restarted either in the same or different resolution, syncpt timeout error occurs. Once the timeout error occurs, the issue persists even if the application is closed and opened with higher exposure levels.

Application works properly again only when camera sensor driver and tegra_camera driver is unloaded and reloaded. The same issue repeats if the application is closed after lowering the exposure levels.

The only factor I could think of during lower exposure levels is increase in fps. Could anyone let me know the cause of this issue ?

Note: The same camera sensor driver works fine on l4t 21.4 without the above mentioned issue

The syncpt error log is:

[ 878.762649] vi vi.0: CSI_A syncpt timeout, syncpt = 10218, err = -11
[ 878.769316] TEGRA_CSI_CSI_CIL_A_STATUS 0x00000000
[ 878.774026] TEGRA_CSI_CSI_CILA_STATUS 0x00000000
[ 878.778647] TEGRA_CSI_CSI_CIL_B_STATUS 0x00000000
[ 878.783345] TEGRA_CSI_CSI_CIL_C_STATUS 0x00000000
[ 878.788043] TEGRA_CSI_CSI_CIL_D_STATUS 0x00000000
[ 878.792788] TEGRA_CSI_CSI_CIL_E_STATUS 0x00000000
[ 878.797489] TEGRA_CSI_CSI_PIXEL_PARSER_A_STATUS 0x00000000
[ 878.802973] TEGRA_CSI_CSI_PIXEL_PARSER_B_STATUS 0x00000000
[ 878.808456] TEGRA_VI_CSI_0_ERROR_STATUS 0x00000000
[ 878.813243] TEGRA_VI_CSI_1_ERROR_STATUS 0x00000000

Thanks in advance

hello ganeshraja,

please note that we should follow this rule: exposure time <= frame length
please check your sensor drive and dump the sensor settings for the syncpt timeout error.