Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
13 years ago

How to provide different clock for PHY Device

My board DE2-115

My PHY Device:88E1111

My project is about simple socket server.Now I can send words or command via Telnet or Ping, when I use a router(100Mbps).

But, when I directly connect the board and PC with a cross-over cable , I failed.

Then when I fix my pc for 100Mbps and connect the board and PC with a cross-over cable, I succeed.

So if I want to use 1000Mbps, what should I do ?

I know I need to provide different clock to Marvell 88E1111 PHY Device for different speed. Such as 2.5MHz for 10mbps/ 25MHz for 100mbps /125MHz for 1000mbps.

Who can tell me how to change the clock and where to change the clock,provided for phy device.

It is the first time for me to post a thread, I hope that somebody could help me to solve this problem.

27 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Firstly try to run example project. Maybe Your cable between PC and the board has only two pairs, so the connection is 10/100.

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    I wanna ask you another problem.

    Now I can transfer data by TCP Server program in NIOS.

    But the speed is low,only about 16Mbps.

    Is there any way to raise the speed?

    PS:The cpu in sopcbuilder is fast.
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Nios is relatively slow. How much do You need? Whats the CPU speed?

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    CPU is up to 113 DMIPS.

    I want to be as faster as possible and I need use NIOS, so is there anything I can to raise the speed?
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Don't use RTOS, do bunch of optimizations, DMAs, etc... Read the thread about LwIP on Nios.

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    If you see this thread, try another board!!!

    There is nothing wrong with my project, my board is broken!!! When I change to another, I succeed!!!