sinara-hw / Sayma_AMC

AMC FPGA carrier board with FMC, dual SFP and RTM
8 stars 6 forks source link

detection of RTM hotplugging? #136

Open sbourdeauducq opened 5 years ago

sbourdeauducq commented 5 years ago

How to detect from the AMC that the RTM is being unplugged/re-plugged? Now that the AMC-RTM link is using DRTIO, we can support RTM hotplug without a lot of trouble; we just need to reload the RTM FPGA when the RTM is plugged in and make sure that the JESD core is properly reset.

kaolpr commented 5 years ago

Hotplug switch on RTM is connected to the GPIO expander, which is connected to AMC I2C subsystem. Thus you can access it using AMC MMC or FPGA I2C master.

jbqubit commented 4 years ago

Any luck with this @sbourdeauducq ?

marmeladapk commented 4 years ago

@sbourdeauducq We detect RTM using MMC and it uses FPGA_STATUS to signal this to AMC FPGA. High if RTM is detected and has enabled power, low otherwise. But first we must fix https://github.com/sinara-hw/Sayma_AMC/issues/145.

sbourdeauducq commented 4 years ago

OK, sounds good.