write-register does not allow proper IMUX reading
I am trying to read IMUX using write-register
tool.
Here are the issues I observe:
- turn on module
- start by sending full config using
scanConsole
with e.g.- chip1: MonitorV: 1 , MonitorI: 0
- chip2: MonitorV: 63, MonitorI: 0
- chip3: MonitorV: 63, MonitorI: 0
- chip4: MonitorV: 63, MonitorI: 0
- here I read IREF on chip1 correctly
- leaving the module ON, I use
write-register
to:- chip1: MonitorV: 63
- chip3: MonitorV: 63
- chip4: MonitorV: 63
- chip2: MonitorV: 1
- chip2: MonitorI: 0
- I do not read the correct value
this can be fixed by instead sending:
- leaving the module ON, I use
write-register
to:- chip1: MonitorV: 63
- chip2: MonitorV: 63
- chip3: MonitorV: 63
- chip4: MonitorV: 63
- chip2: MonitorV: 1
- chip2: MonitorI: 0
- I do read the correct value
then I can read any IMUX value on chip 2.
However I did not find a way to read IMUX values on the other chips apart from rerunning scanConsole
.
@fcrescio commented: "I think that write-register should read the chip register first, then perform the named register write, this should fix everything"
Thanks in advance