AnsweredAssumed Answered

RMII on iMX6 SoloX

Question asked by Martin Chaplet on Sep 30, 2015
Latest reply on Oct 8, 2015 by Martin Chaplet

Hi,

 

I previously used RMII on a iMX6 Solo/DualLite with "GPIO16 ref clock loopback" feature. (Generating 50MHz from iMX for internal reference AND external Phy)

 

It seems that this feature is quite different on SoloX and there is no explanation in Hardware Guide (Contrary to IMX6S/IMX6DL)

There is a 25MHz reference clock "ref_enetpll2" quite simple to configure and output through Pad Muxing.

But I don't see other references (50/100/125).

My Goal is to generate a 125MHz on signal ENET1_REF_CLK (output through pad ENET1_TX_CLK)

and a 50MHz on ENET2_REF_CLK (output through pad ENET2_TX_CLK)

 

I'm working on U-Boot 2015.07 and I already tried to activate 125MHz as done by mx6sxsabresd initialization without success.

I've tried also to implement it myself on ENET2 by :

* Setting ENET2_TX_CLK_DIR and ENET2_CLK_SEL bits to 0 in IOMUXC_GPR_GPR1 register

* Setting right Divider and starting PLL (reg CCM_ANALOG_PLL_ENET)

* Waiting for Lock -> Lock OK

* Disabling Bypass and enabling output (BM_ANADIG_PLL_ENET2_ENABLE = 1 and BM_ANADIG_PLL_ENET_BYPASS = 0)

 

All seems right but nothing on output.

Is it missing a PAD configuration ? (Like SION Mode in IMX6DL case)

 

What seems strange to me is that 25MHz is really easy to output through ENETx_RX_CLK muxing and is well working.

Why other "Enetpll" outputs are so difficult to configure in out ?

 

Thanks for any help,

 

Martin

Outcomes