register value for PLL clock 999MHz

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

register value for PLL clock 999MHz

跳至解决方案
1,495 次查看
ludovicleau-mer
Contributor III

Hi,

a try to get the clock signal from a custom mipi camera board on a sabrelite board. And i have found several code for PLL clock from :

标签 (1)
1 解答
1,194 次查看
ludovicleau-mer
Contributor III

Ok i found the problem :

The camera was started before the init of my module. So i change it and i set the register value 0x3a ( for  999MHz) and i received the statut 3F0 for 4 lane.

I think all is ok. Now i must be check the clock  setting hsp_clk and pixel_clk.

在原帖中查看解决方案

3 回复数
1,194 次查看
ludovicleau-mer
Contributor III

I had trying all register value between 0x00 and 0xFF for the PLL clock (mipi_csi2_write(info, 0x000000XY, CSI2_PHY_TST_CTRL1);) and for each i receive several 0x200 and finally the PHY_STATE 0x2f0.

I think i have an error in my driver. Perhaps i forgot to enable something.

The clock signal was checked in the mipi before imx6 : all is ok.

Anybody have an idea on what can be the problem ?

thanks.

0 项奖励
回复
1,195 次查看
ludovicleau-mer
Contributor III

Ok i found the problem :

The camera was started before the init of my module. So i change it and i set the register value 0x3a ( for  999MHz) and i received the statut 3F0 for 4 lane.

I think all is ok. Now i must be check the clock  setting hsp_clk and pixel_clk.

1,194 次查看
gusarambula
NXP TechSupport
NXP TechSupport

Thank you for posting your findings! I'm sure they'll help other community users!

0 项奖励
回复