[INSTRM-99] Add correct control of SAM power Created: 18/Feb/17 Updated: 16/Feb/18 Resolved: 16/Feb/18 |
|
| Status: | Done |
| Project: | Instrument control development |
| Component/s: | ics_xcu_rtdADIO, ics_xcuActor |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Task | Priority: | Major |
| Reporter: | cloomis | Assignee: | cloomis |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Description |
|
We added a daughterboard to the BEE+SAM power brick to allow independently toggling SAM power. The control signal uses the BEE's ADIO port, which is also used to control and monitor the gatevalve. Those signals are active high: when the port is closed or the BEE powered down, the gatevalve closes. The SAM signal is inverting: when the signal goes high the SAM power is dropped. The issue is that the default port initialization via the kernel device and our cython shim seems to drop SAM power. This is a bit surprising, hence this ticket. |
| Comments |
| Comment by cloomis [ 16/Feb/18 ] |
|
Merged in bc1900c Added `sam off` and `sam on` commands. When connecting to the controller the SAM will be powered on – I think this is a limitation of the ADIO controller chip, since neither the kernel driver nor the library actively control power when initializing the ADIO system. Under any sane circumstance this should be fine. |