Hi guys,
I am facing the similar problem now. I use imx6-sabresd board, and I use a 8 bit parallel sensor. I configured CSI->MEM, Gate Clock mode. Now I can dump sensor data to file using my own test tool. From the dump data, I found imx6 received all the data including active and blanking data just like below
line0: horizontal blanking data(94 bytes 0) active data(right format and width)
line1: horizontal blanking data(94 bytes 0) active data(right format and width)
......
The blanking data is what i don't want.
I have tried to configure
CSI_SENS_FRM_SIZE
CSI_ACT_FRM_SIZE
CSI_OUT_FRM_CTRL to try to skip the column blanking data, but it still behavior like that.
I also found that if I configure CSI_SENS_CONF bit31 CSI0_DATA_EN_POL to inverse csi0_data_en, i cannot got any sensor data. It seems like the data_en is still effective in imx6, it's not totally obselete? Almost all the freescale documents refering to the CSI timing don't describe DATA_EN at all.
BTW, i have check all the signal wave, there should be no problem. The Vsync is active during whole frame, Hsync is active during whole line except the blanking data, i dont connect any sensor signal to DATA_EN at all. It seems like the VYSNC signal is always valid, and csi sample the data all the time
Question1:
What's the difference between sensor frame size defined in CSI_SENS_FRM_SIZE and actual frame size in CSI_ACT_FRM_SIZE?
Question2:
I know the VSYNC trigger the start sample process of the line but he CSI how to stop sample line data? by calculate line size already received or by other signals?
How anybody could help point out how to remove the horizontal blanking data? Thanks a lot!