Creating the custom driver SIPL: CDI_CONFIG_MAX96712_CHECK_CSIPLL_LOCK Error

Please provide the following info (check/uncheck the boxes after clicking “+ Create Topic”):
Software Version
DRIVE OS Linux 5.2.0
DRIVE OS Linux 5.2.0 and DriveWorks 3.5
NVIDIA DRIVE™ Software 10.0 (Linux)
NVIDIA DRIVE™ Software 9.0 (Linux)
other DRIVE OS version
other

Target Operating System
Linux
QNX
other

Hardware Platform
NVIDIA DRIVE™ AGX Xavier DevKit (E3550)
NVIDIA DRIVE™ AGX Pegasus DevKit (E3550)
other

SDK Manager Version
1.5.0.7774
other

Host Machine Version
native Ubuntu 18.04
other
Dear Nvidia experts,
Continude with last topic, Create customized camera driver AR0231 + Max9295 with SIPL, I created adriver for Ar0231+ Max9295. We have previous version driver for this camera module in OS 5.1. I ported all configuration step by step from this old driver to SIPL. But when I run sample, although it can detect MAX96712/MAX9295/AR0231, it still occurs error blow, I carefully checked all step but can not resolve. Can you please advise me about this error:

./nvsipl_camera -c CUSTOM_DPHY_x2 -m “0x0010 0x0000 0x0000 0x0000” -s
MAX96712: Revision 2 detected
MAX96712 Rev 2: Link 1: Tx amplitude 0x28, 0x68, 0xb3, 0x72, 0xd2
MAX96712 Rev 2 manual adaptation on the link 1 (31)
MAX9295: Revision 8 detected!
Sensor AR0231 RCCB Rev7 detected!
Module_id 22 Severity 6 : NvMediaICPCreateEx 76
Module_id 22 Severity 6 : T19x VI version 0x000019
[Init:132] CNvSIPLMaster Init() end
nvsipl_camera: Opened NITO file for module “CUSTOM”
Warning : CheckCSIPLLLock 2582: CSIPLL Unlocked 0x0
Warning : CheckCSIPLLLock 2582: CSIPLL Unlocked 0x0
Warning : CheckCSIPLLLock 2582: CSIPLL Unlocked 0x0
Warning : CheckCSIPLLLock 2582: CSIPLL Unlocked 0x0
nvmedia: ERROR: CheckCSIPLLLock: CSI PLL unlock 0x0
nvmedia: ERROR: MAX9295: CDI_CONFIG_MAX96712_CHECK_CSIPLL_LOCK failed
DEVBLK_WORKER_0: CNvMMax96712.cpp: 400: Start: CDI_CONFIG_MAX96712_CHECK_CSIPLL_LOCK failed! with NvMedia error: 7
Enter ‘les’ followed by sensor ID to enable LED
Enter ‘lds’ followed by sensor ID to disable LED
Enter ‘q’ to quit the application
Output
Sensor1_Out1 Frame rate (fps): 0
Sensor1_Out2 Frame rate (fps): 0
Output
Sensor1_Out1 Frame rate (fps): 0
Sensor1_Out2 Frame rate (fps): 0

Thanks in advance,
Hung.

Hi @v.HungNV99 ,

These messages are from the following source file. CSIPLL_LOCK error happens if no valid video streams are coming into the deserializer.

~/nvidia/nvidia_sdk/DRIVE_OS_5.2.0_SDK_Linux_OS_DDPX/DRIVEOS/drive-t186ref-linux/samples/nvmedia/nvsipl/devblk/devices/MAX96712DeserializerDriver/cdi_max96712.c

Hi @VickNV ,
I fixed CSIPLL_LOCK error, but it can not capture image with flag: NOTIF_WARN_ICP_CAPTURE_TIMEOUT. Can you explain something about this issue? I searched in forums/documentation but have not enough information.

Thank you for letting us know.
Please help to create another topic for NOTIF_WARN_ICP_CAPTURE_TIMEOUT question for other developers having the same issue in the furture to easily find it.
Sorry for any inconvenience.