Datasheet map¶
The driver follows the MCP970X family datasheet (the MCP9700, MCP9700A, MCP9700B, MCP9701 and MCP9701A). This page says which revision, where to get it, and where each part of the driver is described in it, so you can check any behaviour against the source. Section names and page numbers are the datasheet's own (the printed page numbers).
- Datasheet: MCP970X Low-Power Linear Active Thermistor ICs, Microchip Technology Inc. DS20001942, revision L
(2024-02). Get it from the vendor page or as a
PDF.
SHA-256 of the file used:
5b0e0efe173d5fdaf72c31e697591b0b1cacbd440ec6ba95d742fd587c7aff33.
| Topic | Datasheet section | Page | In the driver | Explained on |
|---|---|---|---|---|
| Pins and packages | Package Types; 3.0 Pin Descriptions, Table 3-1 | p. 2 | CtrlPin::Enable, kPackageSot23, kPackageSc70, kPackageTo92 |
Hardware, Quickstart |
| Absolute maximum ratings | 1.0 Electrical Characteristics | p. 3 | kMaxOutputCurrentUa, kMaxLoadCapacitancePf (documented limits only: no register) |
Hardware, Porting |
| Supply range and current | DC Electrical Characteristics | p. 3 | VariantSpec::vdd_min_mv, VariantSpec::vdd_max_mv, kVariantTable |
Hardware, Configuration |
| Accuracy of each device | DC Electrical Characteristics, Sensor Accuracy | p. 3 | AccuracyLimitsFor(), AccuracyBand |
Configuration, Transfer function, Limitations |
| Output current, impedance and load capacitance | DC Electrical Characteristics (I_OUT, Z_OUT, C_LOAD) | p. 4 | kMaxOutputCurrentUa, kOutputImpedanceOhm, kMaxLoadCapacitancePf |
Porting, Hardware |
| Turn-on time | DC Electrical Characteristics (t_ON) | p. 4 | Config::power_on_settle_us, kPowerOnTypicalUs |
Hardware, Configuration |
| Specified temperature ranges | Temperature Characteristics | p. 4 | TemperatureClass, VariantSpec::min_mc, VariantSpec::max_ext_mc, VariantSpec::max_high_mc |
Configuration, Hardware |
| Thermal response | DC Electrical Characteristics (t_RES) | p. 4 | Config::samples, Config::sample_interval_us, kMaxAveragingWindowUs |
Configuration, Limitations |
| Output voltage range and an output outside it | 3.2 Output Voltage Pin (VOUT) | p. 9 | Error::OutputLow, Error::OutputHigh, Config::range_margin_mc |
Hardware, Troubleshooting, Contract, Architecture |
| Transfer function: V0 and TC of each device | 4.0 Applications Information, Equation 4-1; DC Electrical Characteristics | p. 10 | OutputMvToMilliC(), MilliCToOutputMv(), ToCelsius(), Variant |
Transfer function, Configuration |
| Improving accuracy: a one-point calibration | 4.1 Improving Accuracy | p. 10 | Config::offset_cal_mc |
Configuration |
| Shutdown from an I/O pin | 4.2 Shutdown Using Microcontroller I/O Pin | p. 11 | CtrlPin::Enable, Sleep(), EnsureInitialized() |
Porting, Hardware, API guide |
| Layout and decoupling | 4.3 Layout Considerations | p. 11 | docs/hardware.yml circuits |
Hardware |
| Thermal considerations and self-heating | 4.4 Thermal Considerations | p. 11 | documented limit only (no register) | Hardware, Limitations |
| Packaging drawings and ordering codes | 5.0 Packaging Information; Product Identification System | p. 13 | docs/hardware.yml package, variants |
Hardware |
| The five devices and the packages each comes in | Product Identification System; 5.1 Package Marking | p. 23 | Variant, VariantSpec::packages, VariantSpec::high_packages |
Hardware, MCP970x Driver, Configuration |
Where the datasheet is silent or wrong¶
- No block diagram. The blocks on Hardware follow the description in section 4.0 (p. 10) and are marked unverified.
- Equation 4-2. Note 3 on p. 3 cites "Equation 4-2" for the first-order equation; the transfer function is Equation 4-1 (p. 10), and 4-2 is the self-heating equation. The driver follows 4-1.
- Turn-on time. 800 µs typical, no maximum (p. 4): the wait is a knob (Limitations).
- The High option. The table rows for the High option cover -40 to +150 °C; the datasheet does not say that an H
part also meets the Extended rows, so with
TemperatureClass::Highthe driver uses the High rows alone. - Output load regulation. The unit is missing in text extraction of p. 4; the page shows 2 Ω.
When the datasheet and the driver differ¶
The driver is written against the revision above. If you have a newer revision, compare its revision history with the topics above; a change to a pin, a register, a timing or a value the driver uses is a bug report for this repository. Where the driver deliberately goes beyond the datasheet, the Contract says so.
The repository never contains the PDF itself: vendors own their documents. Download it from the vendor, and compare its SHA-256 with the one above to confirm you have the same file.