How to read PCIe Flow Control Credits?

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

How to read PCIe Flow Control Credits?

2,191 Views
coreykirschbaum
Contributor I

I have been getting Linux AER PCIe Bus Error related with Completion Timeout when I attempt fast PCIe transactions (read).  I have tried increasing the completion timeout value.  We were able to investigated the flow control credits by probing our FPGA and saw that the credits are going down to zero.  The bus error cases the system to halt. 

We are wondering if there was a way to read the flow control credits on QorIQ LS1088A SOC so we can use this to control when to perform the next PCIe transaction.

Labels (1)
0 Kudos
Reply
1 Reply

1,357 Views
coreykirschbaum
Contributor I

I fixed this issue by updating the Xilinx AXI-to-PCIe IP bridge from the pre-production version to the production version.

Note: linux has the pci_wait_for_pending_transaction() function.

0 Kudos
Reply