Hi,
I have a couple of questions as following.
Can someone help me?
Solved! Go to Solution.
Hi torus1000
>Does L4.1.15 BSP for MCIMX6Q-SDP support SSC?
no
>Is SSC enabled after reset?
no
>Is there any documents how to set following registers?
no
you can get some additional details creating service request:
How to submit a new question for NXP Support
Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
RefManual told about:
IOMUXC_GPR1 Bit 16 REF_SSP_EN
PCIe_PHY - Reference Clock Enable for SS function. Function: Enables the reference clock to the
prescaler. The phy_ref_ssp_en signal must remain deasserted until the reference clock is running at the
appropriate frequency, at which point phy_ref_ssp_en can be asserted. For lower power states,
phy_ref_ssp_en can also be deasserted.0 PCIe PHY reference clock is disabled
1 PCIe PHY reference clock is enabled
Seems like that this bit simple enable Ref_CLK to PCIe Phy Prescaler.
In-fact in Linux driver define name is IMX6Q_GPR1_PCIE_REF_CLK_EN.
So as explain in manual Linux driver turn on PCIe Phy then enable ref_clk.
file: drivers/pci/dwc/pci-imx6.c
After usleep_range i think is time to configure spread spectrum params whi PCIe_phy_register in the question
PCIE_PHY_SS_PHASE (05h) Seems not really related with SpeadSpectrum
PCIE_PHY_SS_FREQ (06h) Default value i think could just work, or a minimal effect suld just be osservabble with Scope
PCIE_PHY_SSC_OVRD_IN (13h) I think this i most important register for enable SS function,
but bit SSC_OVRD_IN_EN is really mysterious, i try set it but without result.
PCIE_PHY_SSC_ASIC_IN (1Ah) This is in only read and read it return 0.
I do it with appropiate function:
At this point i think is time tu assert phy_ref_ssp_en cit in ref manual, but this bit seems not exist.
So, is really possible enable SpreadSpectrum over PCIe ref clock?
Maybe that PCIe_phy shuld be configurate before some reset are cleared, or somethink like that.
For sure in i.MX6DL, do that before ref_clk enable cause reset.
In my case is importat spread ref_clk because 100Mhz create some subarmonics in GLONAS band (100Mhz*16) 1.60Ghz.
My idea of clock tree +--------+ +--------------+ |ENET_PLL| ---> | PCIe_phy mpll| +--------+ +--------------+ | | 100Mhz ref_clk | +---------------------+ +----------------+ phy_ref_ssp_en -| PCIe_PHY_ref_clk Gen| ------------|PCIe_PHY_ref_clk| -- Ref_clk_out +---------------------+ +----------------+ Can NXP be more clear about this, and told us if is possible enable SS.
Hi torus1000
>Does L4.1.15 BSP for MCIMX6Q-SDP support SSC?
no
>Is SSC enabled after reset?
no
>Is there any documents how to set following registers?
no
you can get some additional details creating service request:
How to submit a new question for NXP Support
Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------