sinara-hw / DIOT_EEM_Adapter

DI/OT to EEM adapter. Enables utilisation of existing EEM ecosystem in CERN DI/OT chassis
8 stars 2 forks source link

LVDS mux should be controlled by servmod #16

Closed marmeladapk closed 1 year ago

marmeladapk commented 1 year ago

Controller should be able to switch LVDS lines to alternate mode. I'd like to keep this compliant with specification (link) and consistent with other boards.

mkiepiela commented 1 year ago

Controller is able to switch LVDS lines to alternate mode by setting IO expander controlled via I2C in Service Mode. This solution was chosen together with @kaolpr as more flexible than switching muxes directly by SERVMOD line. Notice that IO expander has to be controlled anyway (in Service Mode) when accessing the EEPROMs on adapter/EEM0/EEM1.

marmeladapk commented 1 year ago

Yes, but this is not compatible with DIOT, so when mixing DIOT cards and cards with adapters you'll have two ways of controlling muxes. IMO it's better to stay consistent on this behaviour.

mkiepiela commented 1 year ago

OK, I modified to keep compatibility with DIOT (switching muxes by SERVMOD as default behavior) but have some flexibility as well (possibility of switching muxes by IO expander).