In datasheet " 22.214.171.124 Express Card Hot-Plug Events":
A full Hot-plug Controller is not implemented.
Presence detection occurs when a PCI Express* device is plugged in and power is
supplied. The physical layer will detect the presence of the device, and the root port will
set the SLSTS.PDS and SLSTS.PDC bits.
if only :
SLCAP --> Hot-Plug Capable (HPC) & Hot-Plug Surprise (HPS) is set.
SLCTL_SLSTS --> Hot-Plug Interrupt Enable (HPE) & Presence Detect Changed Enable (PDE) is set
SLSTS.PDS and SLSTS.PDC is set when detection ?
But training pcie is executed while detection or we must launch manually training ?
In my case, i have fpga already connected, but not loaded with firmware. i can use hot plug detection, when fpga loaded ?
set CLIST_XCAP.SI = 1
1/ check before load fpga slsts.pds & slsts.pdc == 1
2/ load fpga
3/ check after , slsts.pds & slsts.pdc == 1
Why before load fpga pds = 1 ? how to working detection ?
yes, it is related to the braswell pcie training thread, but i create another thread because it' another way for resolve my problem.
- launch training manually after loaded fpga.
- activate hot-plug for discover after loaded fpga ( hot-plug launch automatically training ...).
Sorry for convenience.