Zarquin
Occasional Contributor
3 years agoHow to determine PCIe link width from AV-MM registers?
Dear community,
I'm using the avalon-mm Interface and would like to determine the link width of the PCIe connection.
Can I access the link width via some register shown in the figure below - maybe - lane_act?
I read that the link width is set during the configuration phase of link training. There is a ltssmstate register, but how to use it for my purpose is not clear to me.
Has anyone done this before?
I would be grateful for any advice.
Best regards
Figure: