TWR-SER2 Ethernet

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

TWR-SER2 Ethernet

730 Views
priyagupta
Contributor II

I am working on TWR-K60F120M tower board and TWR-SER2 for Ethernet Connectivity.

I am able to establish connectivity with ETH-A port (using MQX RTOS demo code eth_to_serial).

Now, my requirement is to create a daisy chain Ethernet switch as below:

pastedImage_1.png

Due to less ports on Ethernet HUB, I want to provide Ethernet connectivity to PC via TWR-SER2 board.

Can anyone please let me know, is it possible to implement this using TWR boards?

How can I achieve the same? Will there be any update on transceiver driver files(dp83xxxx.c and dp83xxxx.h).

What implementation needed on K60 side?

As its my first time with ethernet, please help me by clarifying my concepts. 

Thanks a lot!!

0 Kudos
3 Replies

510 Views
mjbcswitzerland
Specialist V

Hi Priya

The TWR-SER2 has an (old) National Instruments / Texas Instruments DP83849I PHY, which is a dual port PHY used to connect two Ethernet controllers to two Ethernet ports. Since the K60 has only one interface you can only use one of the Ethernet ports.

What you need is a switch, such as the Micrel KSZ8863, which is a three-port PHY/switch but allows connecting just one Ethernet controller to two Ethernet ports. This allows the PHY to operate as a switch (saving the need for a Hub/external switch) and also allows (with tail-tagging mode) one Ethernet controller to act as two separate Ethernet ports on different IP addresses or networks.

This functionality is included in the Open Source uTasker K60 project and an overview can be found in http://www.utasker.com/docs/uTasker/uTaskerNetworking.pdf - see especially the appendix B which details the KSZ8863 tail-tagging mode.

Regards

Mark

0 Kudos

510 Views
priyagupta
Contributor II

Hello Mark,

Thanks for reply. I would like to know, how can I implement the switch with 'KSZ8863' without uTasker.. 

I need driver files for 'KSZ8863', which I can include in bsp_twrk60f120m/enet/phy project.

0 Kudos

510 Views
mjbcswitzerland
Specialist V

Hi

You can either copy the code from the files in the uTasker project or write your own to do the same thing.
For MQX you can contact MQX to see whether they sell an extension for your requirements.

Regards

Mark

0 Kudos