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.

Does WinCE6.0 BSP EMAC driver support operation of 10Base-T on AM3505?

Guru 10570 points
Other Parts Discussed in Thread: AM3505

Hello,

I am evaluating AM3505 on WindowsCE6.0 with WINCE_SDK 01_01_00_Patch01.
Although I would like to operate EMAC via 10Base hub, it have failed on AM3517EVM.
(I can access the network via 100Base hub.)

 - Does WinCE6.0 BSP EMAC driver support operation of 10Base-T on AM35xx?

Best regards,
RY

  • Hello,
    Will you advise me someone?
    Please let me know if I should check.

    Best regards,
    RY

  • RY,

    Please advise the manufacturer/model of the hub which you are trying to use.

    Also, how are you configuring the network connection so it stays locked at 10M?

     

     

    Thanks,

    Ken

  • Hello Ken,

    Thank you so much for your reply.
    I will get back to you after checking.
    Wait a while, please

    Best regards,
    RY

     

  • RY,

        As far as I can tell from the code, it does not support 10 Mbps. If you look at file Emac_Adapter.c (in COMMON_TI), line 723, it is hard-coding RMII interface speed to be 100 Mpbs:

    pEmacRegs->MACCONTROL |= (EMAC_MACCONTROL_MIIEN_ENABLE | EMAC_MACCONTROL_RMII_SPEED);

    As a quick check, you can reset the highlighted bit and see if it works.

    Ideally you should modify code to read negotiated link speed and set this bit accordingly

     

    thanks

    Atul

     

  • Additional to Atul's comments, the KITL Ethernet driver does have the speed set according to the link speed.

    You can refer to the code in EMACInit() (cpgmac.c):

        g_pEmacMod->MACCONTROL = EMAC_MACCONTROL_MIIEN_ENABLE |
            (fullduplex ? EMAC_MACCONTROL_FULLDUPLEX_ENABLE : 0) |
            ((speed == SPEED_100MBPS) ? EMAC_MACCONTROL_RMII_SPEED : 0);

    Thanks,

    Tao