|
Posted at 7/2/2018 13:31:02
Only Author
4#
Last edited by elect123 In 7/4/2018 18:25 Editor
Dear tannyhjl
I have tried the above settings but I still get an interrupt error
Please confirm that the modified code is correct.
My target setting is 891Mhz
I modified file and function
mipi_dphy_cfg() in cif_isp10_rk3399.c
/* set clock lane */
mipi_dphy1_wr_reg(isp_cfg, 0x34, 0x00);
mipi_dphy1_wr_reg(isp_cfg, 0x44, hsfreqrange);//0x39<<1
/////////////////////This is your setting. I modified /////////////////////////////////////////
mipi_dphy1_wr_reg(isp_cfg, 0x19, 0x30);
mipi_dphy1_wr_reg(isp_cfg, 0x17, 0x01);
mipi_dphy1_wr_reg(isp_cfg, 0x18, 0x02);
mipi_dphy1_wr_reg(isp_cfg, 0x18, 0x83);
mipi_dphy1_wr_reg(isp_cfg, 0x10, 0x80 | 0x01 | (0x4 << 3));
mipi_dphy1_wr_reg(isp_cfg, 0x11, 0x06);
mipi_dphy1_wr_reg(isp_cfg, 0x12, (0xC0|0x4));
/////////////////////////////////////////////////////////////////////////////////////////////////
mipi_dphy1_wr_reg(isp_cfg, 0x54, 0);
mipi_dphy1_wr_reg(isp_cfg, 0x84, 0);
mipi_dphy1_wr_reg(isp_cfg, 0x94, 0);
mipi_dphy1_wr_reg(isp_cfg, 0x75, 0x04);
mipi_dphy1_rd_reg(isp_cfg, 0x0);
Thanks & regard !
|
|