ls1022A PBI PCIe initialization

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

ls1022A PBI PCIe initialization

423 Views
paulhanson
Contributor I

I am unable to initialize the PCIe (PEX) registers via the PBI. The PBI initialization starts by setting the SCFG_SCFGREVCR register, then SCFG_ALTCBAR to point to the PCIe registers, or PEX1, followed by PEX1 register intialization. The PEX1 register initialization is followed by PBI initialization of DCFG_CCSR_SCRATCHRW1 to point to OCRAM1, and SCFG_ALTCBAR to point to OCRAM1. This is followed by the boot code. Using the debugger, I can see that SCFG_SCFGREVCR has been set, DCFG_CCSR_SCRATCHRW1 is set to OCRAM1, and SCFG_ALTCBAR is set to OCRAM1, but none of the PEX1 registers have been set. Any ideas on how I initialize the PEX1 registers using the PBI? The following are the PBI initialization values used prior to PEX1 register initialization (HEX):

09570200

FFFFFFFF

09570158

00000300

09610000

00000000

0 Kudos
1 Reply

341 Views
ufedor
NXP Employee
NXP Employee

Please provide:

1) descriptions for each line of the PEX initialization data

2) complete QCVS project containing the PBI in question.

0 Kudos