This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

DM385: Iss_captResetAndRestart function not working in CSI2 mode

Part Number: DM385

Hi,

we have the configuration IMX236 -> CSI2 -> DM385 and working with the usecase mutlich_tristreamc_lowpower. So long we keep the function Iss_captResetAndRestart(NULL); uncommented we have a stable 1080P stream with 60 FPS. :)

If we work with the reset, which is needed to implement an imager resolution change during operation from 1080P to 720P we have the following unhandled exception. I guesss the function call "MSP_ISP_config(gIss_captCommonObj.pModuleInstance->hIspHandle,(MSP_INDEXTYPE) MSP_ISP_CFG_PROC_MEM_TO_MEM, &tIspParamCfg);" inside issdrv_captureApi.c fails because of someting is not prepared for the CSI2 Input.

Can someone help me?

[m3vpss ] Start csi2_wait_phy_reset
 [m3vpss ] End csi2_wait_phy_reset 
 [m3vpss ]  89549: CAMERA: Start in progress !!!
 [m3vpss ]  89550: CAMERA: Start Done !!!
 [[m3vpss ]  89650: CAMERA: Fields = 1994 (fps = 0), Total Resets = 0 (Avg 0 ms per reset)
 [m3vpss ] MSP_ISP config!!!
 [m3vpss ] Unhandled Exception:
 [m3vpss ] Exception occurred in ThreadType_Task
 [m3vpss ] handle: 0x8e3115e0.
 [m3vpss ] stack base: 0x8e311630.
 [m3vpss ] stack size: 0xa000.
 [m3vpss ] R0 = 0x00000000  R8  = 0x8ed35818
 [m3vpss ] R1 = 0x8e31b3ac  R9  = 0x00003014
 [m3vpss ] R2 = 0x00000001  R10 = 0x00000000
 [m3vpss ] R3 = 0x10000000  R11 = 0x0000001a
 [m3vpss ] R4 = 0x00000001  R12 = 0x23e30200
 [m3vpss ] R5 = 0x00000000  SP(R13) = 0x8e31b3f0
 [m3vpss ] R6 = 0x8ed35814  LR(R14) = 0x8dceee79
 [m3vpss ] R7 = 0x00000001  PC(R15) = 0x8dce06b0
 [m3vpss ] PSR = 0x21000000
 [m3vpss ] ICSR = 0x0440f803
 [m3vpss ] MMFSR = 0x00
 [m3vpss ] BFSR = 0x04
 [m3vpss ] UFSR = 0x0000
 [m3vpss ] HFSR = 0x40000000
 [m3vpss ] DFSR = 0x00000000
 [m3vpss ] MMAR = 0xe000ed34
 [m3vpss ] BFAR = 0xe000ed38
 [m3vpss ] AFSR = 0x00000000
 [m3vpss ] Terminating Execution...
: