Hi,
I have some problems when writing a RAW data camera driver on AM/DM37x. Hope your kindly helps !
I want to capture raw data from parallel input of CCDC and output directly to the memory ,but I don't know what is the nessssary step to configure the CCDC and CSIPHY.
Followings are my configuration.
1. The cam_mclk have been set and workwell.I can get
HS_VS interrupt from CCDC.but I couldn't get any data from memory that set by CCDC_SDR_ADDR .
2. CONTROL_CAMERA_PHY_CTRL[1:0] = 11 (GPI mode)
CONTROL_CAMERA_PHY_CTRL[2:3] = 11 (GPI mode)
CCDC_SYN_MODE[18] VP2SDR = 0x1
CCDC_SYN_MODE[17] WEN = 0x1
CCDC_SYN_MODE[16] VDHDEN = 0x1
CCDC_SYN_MODE [13:12] INPMOD = 0
CCDC_SYN_MODE [10:8] DATSIZ = 0x6
(CCDC_SYN_MODE[31:0] = 0x70604)
CCDC_REC656IF[0] R656ON = 0x0
CCDC_SDR_ADDR [31:0] ADDR = 0x86094000 ( allocated physical memory address )
ISP_CTRL[31:0 ] = 0x9C100
3, I didn't get any data in the allcated momery( 0x86094000 ) when HS_VS interrupt occur.
So,Could do you please tell me how to let the CCDC read the data from parallel input and write the data to memory ?
Should I set the "CSI1/CCP2B or CSI2 Receiver Associated PHY" and how to setup it ?
Thanks
Fan