@gustavo.bruno Do you think current monitoring as implemented by Tomasz is enough? Do we need voltage monitoring circut as mentioned by Greg (though it seems that it does not sense for 9V):
INA3221 supplies both, right? It should be enough, I don't believe we need the speed of the above circuit. @Greg , you mean we need the extra voltage monitoring or just the usual monitoring provided by the INA is enough?
I'd even argue that voltage monitoring is more important than current monitoring, which is already provided to satisfaction by the PM. IMO, the fast circuit should only be used if we need to free one of the INA inputs.
My colleague from GSI who wrote the MMC firmware wanted to know that power failure will come. In such cases Payload power goes off first, followed by management power. In such case the CPU has time to finish all the FLASH operations without corrupting the memory. I'm not sure if this justifies yet another circuit.
THe INA3221 must be connected in sych way that it monitors the payload power even when RTM and FMCs are off.
Yes, INA3221 is a shunt and bus voltage monitor. Each channel is independent during measurement so we will be able to read voltage and current of P12V0 from register all the time. There is a potential problem only with Power Valid Alert feature - because all 3 channels must exceed common limit value - even unused channels. Without RTM we can't use it.
By the way, I changed input pins assignment of INA3221 to keep FMCs signals together. It will be released in v4 community review 3.