INA260
TI INA260 current / voltage / power monitor with an integrated 2 mΩ shunt.
Live catalog
Prefer labwired_describe with the catalog id over guessing pins or addresses.
Status at a glance
| Aspect | Status |
|---|---|
| Catalog id | ina260 |
| Bus | I²C |
| Address | 0x40 (0x40–0x4F by A0/A1) |
| Source | configs/devices/ina260.yaml (declarative, no Rust model) |
| Datasheet | TI SBOS656C, §8.5.1 Table 1 and §8.6 Register Maps |
| Tier | smoke-proven (register-level tests: crates/core/tests/everyday_sensor_set.rs) |
Pins / attachment
| Pin / net | Role |
|---|---|
| SDA | I²C SDA |
| SCL | I²C SCL |
| VDD/GND | Power (digital twin) |
Support matrix
| Behavior | Status | Notes |
|---|---|---|
| Manufacturer ID 0x5449 / Die ID 0x2270 | ✅ | |
| Configuration POR 0x6127, write mask, RST | ✅ | D14:D12 fixed 110 |
| Current (1.25 mA/LSB) and bus voltage (1.25 mV/LSB) | ✅ | Two's-complement current |
| Power (10 mW/LSB) | ✅ | |
| CVRF | ⚠️ | 2.2 ms after a Configuration write; polling faster than that re-arms it |
| Averaging, conversion-time settings, alerts, power-down | ❌ | Not modelled |
Stimulus
Host inputs: bus_voltage (V), current (A).
How to run
- Place the part and an MCU in Playground, or add it to a system YAML:
- Agent:
labwired_list→labwired_describe id=ina260→ wire →labwired_validate→labwired_run/labwired_verify. - Register-level smoke:
cargo test -p labwired-core --test everyday_sensor_set— IDs, Configuration 0x6127, and 800 / 4000 / 500 counts at 1 A / 5 V. The same file's negative control proves the check fails against a part that answers only 0x00 or only 0xFF.
Limitations
- The 15 A continuous rating and shunt thermal limits are not enforced by the twin.
See the YAML header for the full datasheet trace and every named approximation.