Programmable Devices
CPLDs, FPGAs, SoC FPGAs, Configuration, and Transceivers
20644 Discussions

TSE phy-less is not possible ??

rshal2
New Contributor II
953 Views

Hello,

 

 

Is it possible to use TSE without it trying to work with phy ?

I thought that the option "include MDIO" in platform designer should do that, but it keeps failing with:

" TSEMAC SW reset bit never cleared!",

 

Any idea ?

 

Thank you!

0 Kudos
1 Solution
rshal2
New Contributor II
732 Views

Phy-less is possible.

 

This is what we I did to solve this issue:

1. In software: seems that internich can output network even if it

detects any phy , yet we forced in getPhySpeed routine to configure

the TSE controller to 1000 (the default in interniche code is 100, so

we had to change it)

2. switch is used in "unmanaged mode", i.e. it is enabled and

configured "automatically" with default configuration (marvell

default) on power.

Yet, The actual problem was with RGMII delay (clock need to be phased

shift from data, this could be solved by adding delay in fpga or in

switch. We solved it by configuring the marvell switch rx delay bit

(it is called"rx" in switch but it is actually the tx from fpga -

through switch - to the output network).

 

 Now everything works !

 

Thank you very much ,

Ran

View solution in original post

0 Kudos
4 Replies
Fawaz_Al-Jubori
Employee
732 Views

Hello,

PHY is needed to complete the ethernet protocol. MDIO is the component that will help to configure the PHY and generate the needed clock/s by TSE. If this connection (MDIO) is missing, this means you missed the configuration of the PHY, and you will not be able to get any link.

 

The only option that might help you to not use the PHY would be the internal loopback test; usually processor > MAC > processor again. This is a mechanism to test the system and make sure it is sending and receiving data.

 

Thank you,

0 Kudos
rshal2
New Contributor II
732 Views

Hi,

 

There are systems in which MAC is not required to communicate with phy, in order to start functioning.

I understand now that this is not possible with TSE ?

 

Thanks

Fawaz_Al-Jubori
Employee
732 Views

Hello,

If you are using the RGMII mode, your MAC is expecting a clock to come from the phy. If you dont have a phy, then you should use MII.

 

Thanks

0 Kudos
rshal2
New Contributor II
733 Views

Phy-less is possible.

 

This is what we I did to solve this issue:

1. In software: seems that internich can output network even if it

detects any phy , yet we forced in getPhySpeed routine to configure

the TSE controller to 1000 (the default in interniche code is 100, so

we had to change it)

2. switch is used in "unmanaged mode", i.e. it is enabled and

configured "automatically" with default configuration (marvell

default) on power.

Yet, The actual problem was with RGMII delay (clock need to be phased

shift from data, this could be solved by adding delay in fpga or in

switch. We solved it by configuring the marvell switch rx delay bit

(it is called"rx" in switch but it is actually the tx from fpga -

through switch - to the output network).

 

 Now everything works !

 

Thank you very much ,

Ran

0 Kudos
Reply