Dear experts,
I want to read some registers to check the working status of CSIRX and to judge whether CSIRX receive the correct imaging data.
I have some questions about the CSIRX registers:
1. I found that some register can realize the function of reset, CSI_RX_RX_IF_VBUS2APB_SOFT_RESET(0x04504004 bit 0 and bit 1) and CSIRX_IF_VBUS2APB_STREAM0_CTRL(0x04504100 bit 4);
I want to know under what conditions it can be used.
2. when enable the bit 15 of CSI_RX_IF_VBUS2APB_STREAM0_MONITOR_CTRL(0x04504110), we can read the line length of every frame form bit 16~31 of CSI_RX_IF_VBUD2APB_STREAM0_MONITOR_FRAME(0x04504114).
how can we get the line count of every frame? Is there a corresponding register?
if the line count of frame is not right, the status in CsirxDrv_udmaCQEventCb() of Csirx_drvUdma.c will not be FVID2_FRAME_STATUS_COMPLETED.
so I think there must be a place to judge whether the line count is right.
3. How do we judge whether the dphy status is right based on the value of CSI_RX_IF_VBUS2APB_DPHY_STATUS(0x04504048)?