LS1043 PCI-Ex Completion Timeout

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

LS1043 PCI-Ex Completion Timeout

866 Views
sahinduran
Contributor II

Greetings all!

I was investigating the completion timeout behavior on PCI-EX. I tried to change the completion timeout interval via following steps below:

1- Removed the link on the corresponding lane. (No device is attached, no link present).

2- Configured the iATUs to issue config and memory transactions.

3- Programmed the Device Control 2 Register with appropriate various combinations.

4- Enabled the advanced error capture capabilities.

 

I observed the following results:

1- Single "load" instruction from configuration or memory space of the PEX took 50ms to complete, which stated as the default timeout of PCI-EX 3 base specification.

2- Completion timeout fail is reported via root error register and advanced error status register. (as expected)

No matter what values I wrote to Device Control 2 Register, completion timeout did not change.

I utilized PMC of Cortex A53 to measure elapsed time. I used different measurement means, yet the result is same. 

Is this the correct behavior or are we missing something?

Thanks is advance!

Labels (1)
0 Kudos
Reply
1 Reply

764 Views
yipingwang
NXP TechSupport
NXP TechSupport

Please try modifying the timeout interval after the link is up with the PCIe device and repeat the same experiment. It might be switching to the default timeout interval after the link is up.

0 Kudos
Reply
%3CLINGO-SUB%20id%3D%22lingo-sub-2191191%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ELS1043%20PCI-Ex%20Completion%20Timeout%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2191191%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EGreetings%20all!%3C%2FP%3E%3CP%3EI%20was%20investigating%20the%20completion%20timeout%20behavior%20on%20PCI-EX.%20I%20tried%20to%20change%20the%20completion%20timeout%20interval%20via%20following%20steps%20below%3A%3C%2FP%3E%3CP%3E1-%20Removed%20the%20link%20on%20the%20corresponding%20lane.%20(No%20device%20is%20attached%2C%20no%20link%20present).%3C%2FP%3E%3CP%3E2-%20Configured%20the%20iATUs%20to%20issue%20config%20and%20memory%20transactions.%3C%2FP%3E%3CP%3E3-%20Programmed%20the%20Device%20Control%202%20Register%20with%20appropriate%20various%20combinations.%3C%2FP%3E%3CP%3E4-%20Enabled%20the%20advanced%20error%20capture%20capabilities.%3C%2FP%3E%3CBR%20%2F%3E%3CP%3EI%20observed%20the%20following%20results%3A%3C%2FP%3E%3CP%3E1-%20Single%20%22load%22%20instruction%20from%20configuration%20or%20memory%20space%20of%20the%20PEX%20took%2050ms%20to%20complete%2C%20which%20stated%20as%20the%20default%20timeout%20of%20PCI-EX%203%20base%20specification.%3C%2FP%3E%3CP%3E2-%20Completion%20timeout%20fail%20is%20reported%20via%20root%20error%20register%20and%20advanced%20error%20status%20register.%20(as%20expected)%3C%2FP%3E%3CP%3ENo%20matter%20what%20values%20I%20wrote%20to%26nbsp%3BDevice%20Control%202%20Register%2C%20completion%20timeout%20did%20not%20change.%3C%2FP%3E%3CP%3EI%20utilized%20PMC%20of%20Cortex%20A53%20to%20measure%20elapsed%20time.%20I%20used%20different%20measurement%20means%2C%20yet%20the%20result%20is%20same.%26nbsp%3B%3C%2FP%3E%3CP%3EIs%20this%20the%20correct%20behavior%20or%20are%20we%20missing%20something%3F%3C%2FP%3E%3CP%3EThanks%20is%20advance!%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2191191%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CLINGO-LABEL%3EEmbedded%20Components%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2196585%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20LS1043%20PCI-Ex%20Completion%20Timeout%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2196585%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%3CSPAN%3EPlease%20try%20modifying%20the%20timeout%20interval%20after%20the%20link%20is%20up%20with%20the%20PCIe%20device%20and%20repeat%20the%20same%20experiment.%20It%20might%20be%20switching%20to%20the%20default%20timeout%20interval%20after%20the%20link%20is%20up.%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E