Problem PCI RC Read_Configuration_Ready_Register from EP

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

Problem PCI RC Read_Configuration_Ready_Register from EP

482 Views
zy_mooncity
Contributor III

There are two P2020 boards in my system, one is configured as PCI root complex, and the other is configured as endpoint . The CFG_READY bit of the Read_Configuration_Ready_Register is set once the EP initialization is completed, and the PCI read operation on the EP shows the CFG_READY bit is 1.

On the PCI root complex, I want to know if the CFG_READY bit of the EP is set or not, then I try to read the Read_Configuration_Ready_Register from the RC, but the result is always 0. I read Advanced_Error_Reporting_Capability_ID_Register in the same, the expected result is returned (0x0001).

Is possible to get the value of Read_Configuration_Ready_Register on the EP from the RC?

Labels (1)
0 Kudos
1 Reply

336 Views
yipingwang
NXP TechSupport
NXP TechSupport

Hello Zuo Yun,

EP should run prior RC in order to initialize PEXIWARn and PEX_CFG_READY[CFG_READY], otherwise BARn is not write-accessible for RC.

CFG_READY is set when in EP mode, then the host can start the enumeration process. The transaction layer handles configuration requests from external hosts only after the CFG_READY bit is set.

So no need to read CFG_READY on EP from the RC.


Have a great day,
TIC

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos