Connecting KSZ8863RLL to a MAC using RMII

Author
iduffy
New Member
  • Total Posts : 1
  • Reward points : 0
  • Joined: 2018/08/09 08:58:29
  • Location: 0
  • Status: offline
2018/08/10 01:28:18 (permalink)
0

Connecting KSZ8863RLL to a MAC using RMII

I'm adding a Lantronix xPico 250 to an embedded deivce to provide WiFi access. The device has an ARM based SOM which includes a PHY and there is also an external RJ45. The three are connected using a Microchip KSZ8663RLL 3-port switch. The SOM's PHY is capacitively coupled to one of the PHYs on the switch, and the external RJ45 is connected to the other. These can communicate with each other no problem. The Lantronix xPico 250 supports an RMII interface so this is connected to the RMII port on the switch. The RMII pins on the switch and the Lantronix are direcly mapped to each other by pin name. i.e. TX -> TX, RX -> RX.
It doesn't work though. I can access the xPico 250 wirelessly and accessing its internal webpages can see that the status of its ethernet link (eth0) is down. I don't have much else to go an at the moment.
I've checked the clock. The Lantronix xPico 250 expects a reference clock as an input which the switch is providing.
I've done some Googling and am aware that RMII isn't designed to work between two MACs. The datasheet for the Microchip switch refers to the RMII interface supporting both MAC and PHY modes but doesn't explain how to configure this. Every example reference design I've seen on the internet has it set up as a MAC. How can I be sure the switch is set up as an RMII PHY?
If it is actually a MAC and I'm connecting MAC to MAC, do I need to swap the signals round (ie. RX -> TX, TX -> RX etc)
 
Schematic attached.

Attached Image(s)

#1

0 Replies Related Threads

    Jump to:
    © 2018 APG vNext Commercial Version 4.5