PCIe pins direction

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

PCIe pins direction

Jump to solution
2,964 Views
tarterkit_ru
Contributor III

Hello, i want connect to i.MX6S PCIe LAN chip RTL8111E.

In RTL8111E PCIe pins is named as: HSI (input) and HSO (output) signal pair.

But i.MX6 datasheet not have information about PCIE_RX it is output or input pair.

Labels (1)
0 Kudos
Reply
1 Solution
2,226 Views
richard_zhu
NXP Employee
NXP Employee

Hi:
PCIE_TX is output, and PCIE_RX is input.

Best Regard

Richard.

View solution in original post

0 Kudos
Reply
10 Replies
2,227 Views
richard_zhu
NXP Employee
NXP Employee

Hi:
PCIE_TX is output, and PCIE_RX is input.

Best Regard

Richard.

0 Kudos
Reply
2,226 Views
andyj25
Contributor I

Hi Hongxing Zhu,

I have a question.

If the RTL8111E can be detected on the i.MX PCIe bus,  should I be able to see it on: /sys/bus/pci_express/devices  ?

Currently I see nothing there.  Does that mean there's something wrong with my hardware?

0 Kudos
Reply
2,226 Views
richard_zhu
NXP Employee
NXP Employee

At least, you can see something by lspci command in Linux consol, if your ep device had been detected by pcie rc.

Richard.

0 Kudos
Reply
2,226 Views
andyj25
Contributor I

Hi Richard,

lspci returns nothing.

Here is my schematic segment for the RTL8111E.  Can you spot anything wrong with it?  Thanks!!!

http://i.imgur.com/D4dFP3g.jpg

0 Kudos
Reply
2,226 Views
richard_zhu
NXP Employee
NXP Employee

Hi:

Welcome.

HW is out of my knowledge scope, you can make a reference to the pcie schematic of imx6 sabresd board of fsl.

I found there are some differences on the pull-down of the pcie clk signals between your schematic and fsl's reference  schematic.

Hope it is helpful.

BTW, I'm curious about your "detected” at your side, did the pcie link have been setup between pcie rc and ep,

and the pcie rc allocate the pcie memory space and so on to pcie ep?

Richard

0 Kudos
Reply
2,226 Views
andyj25
Contributor I

Hi Richard,

I'm loking at SPF-27516_C3.pdf. There's no RTL8111E on that, but there is PCIe.

Are you referring to the 49.9Ω resistors pulling down CLK1_N and CLK1_P on the sabresd reference schematic?


Andrew

0 Kudos
Reply
2,226 Views
andyj25
Contributor I

The added resistors didn't help.  Thanks for your tips though.  We will continue debugging it.

0 Kudos
Reply
2,226 Views
richard_zhu
NXP Employee
NXP Employee

Yes, it is.

0 Kudos
Reply
2,226 Views
andyj25
Contributor I

Thanks Richard,

I will patch those resistors and report back here if it works.

In that schematic segment I posted there is also LAN_CLKREQ.   I have muxed it as a GPIO, but it is not implemented anywhere in my board-mx6q_sabresd.c.

Is this pin critical for the operation of the PCIe bus?

Here's a segment from the datasheet: http://i.imgur.com/lAfSahM.png

0 Kudos
Reply
2,226 Views
richard_zhu
NXP Employee
NXP Employee

I think it is not critical for pcie if it is not used at all.

0 Kudos
Reply