Simple settings for PCIe on MPC8308

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Simple settings for PCIe on MPC8308

1,754件の閲覧回数
mad_dad
Contributor II

We have a bespoke board with a MPC8308, and I have been tasked with getting the PCIe to work.

The number of registers is scary. Is there a simple example of setting up a memory space or bus scan.

 

We are not using Linux but have our own BSP using Freescale runtime.

タグ(1)
0 件の賞賛
返信
3 返答(返信)

1,525件の閲覧回数
mad_dad
Contributor II

Re-reading the manual and following the initialisation procedure..

I have got as far as setiing up the SerDes, taking PCI out of reset, setting Outbound window and configuring the CSB registers the PEX_LTSSM_STAT status code returns 4 then 8 but never returns 16.

Code 8 is Polling Compliance, does this mean it is having trouble communicating across the transmission link.

This link is on a new card so is unproven.

0 件の賞賛
返信

1,525件の閲覧回数
mad_dad
Contributor II

Solved the first problem.

 

The clock was not enabled for the PCIe switch, can now read the switch's header.

 

Now need to work out how to do a PCI scan for End Points on the other side of the switch, using the 8308.

 

I'm sure it's something to do with the OWTAR but the ref. manual is not clear.

 

Any hints?

0 件の賞賛
返信

1,525件の閲覧回数
TomE
Specialist II

> Any hints?

 

Download a working Linux setup and then read the source to see how it handles the chipset.

 

Tom

 

0 件の賞賛
返信