Add INA220 monitor to RTM_PWR line
It may be desirable to monitor RTM power consumption
No child items are currently assigned. Use child items to break down this issue into smaller parts.
Link issues together to show that they're related. Learn more.
Activity
- Maintainer
I agree, see no harm on this.
Maybe we should consider using a multi-channel measurement IC. INA3221[1] is very similar to the current one, and measures 3 channels at once. Any suggestions?
- Author Developer
I like this new IC. Apart from having 3 channels, it also has programmable alert outputs.
Maybe these outputs will be useful for MMC firmware? - Maintainer
To use these alert outputs, we may need to free some pins in the MMC. There will be some freeing due to the SCANSTA and other architectural changes, let us see if there are any left.
OTOH, polling is OK for the openMMC architecture and maybe this is not that necessary. Do you agree is more of a nice-to-have than a demanded feature??
- Developer
As Gustavo said, polling is no problem at all, since the INA sensor task runs independently on openMMC (maybe for other firmwares, this could be useful).
Those critical/warning signals are all open-drain and can be tied together to a single pin, allowing us to use a hybrid interruption-polling scheme.
This scheme is already been used in the LM75 Temperature sensors, in which all Alert signals are tied in the OVERTEMP net. - Author Developer
I agree that these alarm outputs are just a nice to have feature.
I think the final decision should be left to Henrique as he's the guru of openMMC. - Maintainer
Added in commit:3a03dbe6
- Mikolaj Sowinski assigned to @tprzywoz
assigned to @tprzywoz
- Mikolaj Sowinski changed milestone to %AFC v4.0
changed milestone to %AFC v4.0
- Developer
Same as #36 (closed) - I used INA3221 and added RTM PWR measurement.
- Developer
Solved in c961a747
- Mikolaj Sowinski closed
closed