IMX8MM PCIE CLK OUT

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

IMX8MM PCIE CLK OUT

1,760件の閲覧回数
story
Contributor II

Hello,

we are using imx8mm chip, bsp 5.4.3.

we need to use pcie to output 100mhhz clk, we see that evk all use other ic output, is there any related patch provided, I saw the forum by related posts, also The register test corresponding to the parameter setting, the unit cannot output clk.

0 件の賞賛
返信
2 返答(返信)

1,751件の閲覧回数
Yuri
NXP Employee
NXP Employee

@story 
Hello,

   please look at the following:

https://community.nxp.com/t5/i-MX-Processors/imx8mm-pcie-ref-clock/m-p/994867

 

Regards,
Yuri.

0 件の賞賛
返信

1,746件の閲覧回数
story
Contributor II

Hi,

I refer to that and write the corresponding register, but clk has no output.

 

 

code:

 

/* Configure the PHY to output the refclock via pad */
writel(ANA_PLL_CLK_OUT_TO_EXT_IO_EN,
imx8_phy->base + IMX8MM_PCIE_PHY_CMN_REG061);
writel(ANA_PLL_CLK_OUT_TO_EXT_IO_SEL,
imx8_phy->base + IMX8MM_PCIE_PHY_CMN_REG062);
writel(AUX_PLL_REFCLK_SEL_SYS_PLL,
imx8_phy->base + IMX8MM_PCIE_PHY_CMN_REG063);
value = ANA_AUX_RX_TX_SEL_TX | ANA_AUX_TX_TERM;
writel(value | ANA_AUX_RX_TERM_GND_EN,
imx8_phy->base + IMX8MM_PCIE_PHY_CMN_REG064);
writel(ANA_AUX_RX_TERM | ANA_AUX_TX_LVL,
imx8_phy->base + IMX8MM_PCIE_PHY_CMN_REG065);

 

 

0 件の賞賛
返信