What is correct way to reset mipi dphy frequency on the fly?

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

What is correct way to reset mipi dphy frequency on the fly?

ソリューションへジャンプ
1,206件の閲覧回数
wallyyeh
Contributor V

Hi, guys:

    It takes me so long to figure out i.MX6 mipi csi controller must set correct dphy frequency to match the mipi device output.

    My question is,  how can I just set mipi dphy frequency without reload my driver? since ADV7480 can transfer any resolution, it's not convenient to reload the module for change i.MX6 mipi csi controller's dphy freq register.

    I tried only calling mipi_csi2_write(info, 0x00000014, CSI2_PHY_TST_CTRL1);  by replacing the 0x14 to another value, but it won't work.

    Any suggestions is welcome, thanks.

ラベル(1)
タグ(1)
0 件の賞賛
返信
1 解決策
878件の閲覧回数
igorpadykov
NXP Employee
NXP Employee

Hi Wally

I am afraid there ia no way to reset i.MX6 mipi phy just for frequency,

MIPI_CSI_CSI2_RESETN is described in

sect.40.6.5 CSI2 controller reset (MIPI_CSI_CSI2_RESETN)

i.MX6DQ Reference Manual (rev.3  7/2015)

http://cache.freescale.com/files/32bit/doc/ref_manual/IMX6DQRM.pdf

Best regards

igor

元の投稿で解決策を見る

0 件の賞賛
返信
4 返答(返信)
878件の閲覧回数
igorpadykov
NXP Employee
NXP Employee

Hi Wally

one can power down phy or reset with MIPI_CSI_CSI2_RESETN,

then reconfigure pll with steps given in

Some Experience When Enable MIPI Camera

Best regards

igor

-----------------------------------------------------------------------------------------------------------------------

Note: If this post answers your question, please click the Correct Answer button. Thank you!

-----------------------------------------------------------------------------------------------------------------------

0 件の賞賛
返信
878件の閲覧回数
wallyyeh
Contributor V

Hi, Igor:

   thanks, but I already read them, couldn't find the sequence of correct way to reset i.MX6 mipi phy just for frequency.

   could you tell me the detail sequence of register command? or I must do all steps in mipi_csi2_reset() ?

0 件の賞賛
返信
879件の閲覧回数
igorpadykov
NXP Employee
NXP Employee

Hi Wally

I am afraid there ia no way to reset i.MX6 mipi phy just for frequency,

MIPI_CSI_CSI2_RESETN is described in

sect.40.6.5 CSI2 controller reset (MIPI_CSI_CSI2_RESETN)

i.MX6DQ Reference Manual (rev.3  7/2015)

http://cache.freescale.com/files/32bit/doc/ref_manual/IMX6DQRM.pdf

Best regards

igor

0 件の賞賛
返信
878件の閲覧回数
wallyyeh
Contributor V

Thanks, pal. if there's no way to do this, I just doing mipi_csi2_reset() again. then turn ADV7480's CSI-TXA signal on.

0 件の賞賛
返信