This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Starterware/AM3352: How to change RGMII mode to MII mode

Part Number: AM3352

Tool/software: Starterware

Hello.

I am changing EMAC_BasicExample_skAM335x_armExampleproject of pdk_am335x_1_0_6.

The purpose is to change from RGMII mode to MII mode.

The following registers have been changed to change the RGMII mode to MII mode.

  gmii_sel Register.gmii1_sel=00
  gmii_sel Register.gmii2_sel=00

  conf_mii1_col    = 0x00000028
  conf_mii1_crs    = 0x00000028
  conf_mii1_rx_er  = 0x00000028
  conf_mii1_tx_en  = 0x00000008
  conf_mii1_rx_dv  = 0x00000028
  conf_mii1_txd_0  = 0x00000008
  conf_mii1_txd_1  = 0x00000008
  conf_mii1_txd_2  = 0x00000008
  conf_mii1_txd_3  = 0x00000008
  conf_mii1_tx_clk = 0x00000028
  conf_mii1_rx_clk = 0x00000028
  conf_mii1_rxd3   = 0x00000028
  conf_mii1_rxd2   = 0x00000028
  conf_mii1_rxd1   = 0x00000028
  conf_mii1_rxd0   = 0x00000028
  conf_rmii1_ref_clk = 0x00000027
  conf_mdio          = 0x00000030
  conf_mdc           = 0x00000010


Values changed when checked in the CCS register window.
However, the TXD waveform is not output in MII mode.

It is a question.
Are there registers to change other than the above?

Best Regards

AKA

  • aka,

    I've asked someone with knowledge on changing the modes to chime in. In the meantime, please take a look at this thread, perhaps it has some info that may be of help e2e.ti.com/.../921662

    Lali
  • Hi Lali

     It has not been completed yet.

     I am waiting for good information.

    Best Regards

    AKA

  • Hi Lali

    I still have questions.

    In order to output data from TXD 0 - 3 in MII mode, the registers are set as follows.
      · Gmii_sel Register.miix_io_clk_en = input (1).
      · Gmii_sel Register.gmiix_sel = MII (0).
         (See ① of the attached file)
     
      ·Conf_module_pin Register.conf_module_pin_mmode = MII (0).
         (See ② of the attached file)
     
    With the above register setting, no data is output from TXD 0 - 3.
    However, if gmi_sel is set to RGMII in the gmii_sel register in the above state, a waveform will be output.
    Conf_module_pin It seems that the register mode is not set to MII.
     
    Confirming in the register window of CCS conf_module_pin_mmode is in MII mode.
    (See ② PAD of the attached file)
     
    Is there any other setting required?


    Best Regards

    AKA