register value for PLL clock 999MHz

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

register value for PLL clock 999MHz

Jump to solution
1,127 Views
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 :

Labels (1)
1 Solution
826 Views
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.

View solution in original post

3 Replies
826 Views
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 Kudos
827 Views
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.

826 Views
gusarambula
NXP TechSupport
NXP TechSupport

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

0 Kudos