Environment & Temperature

Analog Devices / Maxim MAX31865 in the datasheet corpus

15-bit RTD-to-digital converter for PT100 / PT1000 platinum probes with open/short fault detection.

standing: provisionalSPISPI Mode 1 or 3 (write address = reg | 0x80)
VendorAnalog Devices / MaximEnvironment & Temperature
InterfaceSPISPI Mode 1 or 3 (write address = reg | 0x80)
Record StatusCatalog profileDatasheet / behavioral twin

Driver oracle & capability record

Indexed in the CircuitTwin datasheet corpus (temperature class); supports Callendar-Van Dusen conversion and fault register sweeps.

Driver referenceZephyr maxim,max31865 / Adafruit MAX31865
Evidence standingprovisional (register and bus behavior derived from vendor datasheet or driver oracle; not yet hardware-unit verified on two physical samples).
Published recordGenerate or inspect locally via ct twin generate (see /docs/twin-generation).

Key registers & reset values

Address / FieldRegisterReset / ExpectedPurpose
0x00 / 0x80CONFIG0x00VBIAS, auto-conversion, 3-wire select and 50/60 Hz filter
0x01-0x02RTD_MSB / LSB15-bit + faultRTD ratio word; bit 0 flags fault status register
0x07FAULT_STATUS0x00High/low threshold, RTDIN- open and over/undervoltage bits

Attach with ct CLI

Shell - run firmware with MAX31865
# Run compiled firmware with MAX31865 attached on nucleo-f767zi
ct run --json --board nucleo-f767zi --device max31865 build/app.elf

# Run fault-injection suite and emit JUnit XML
ct test run --json --junit results/max31865.xml tests/max31865-fault.suite.yaml

Fault-injection test snippet (suite.yaml)

tests/max31865-fault.suite.yaml
version: 1
board: nucleo-f767zi
firmware: build/app.elf
tests:
  - name: max31865-spi-disconnect-and-fault
    faults:
      - at_ms: 40
        part: max31865
        kind: bus_disconnect
        duration_ms: 25
    expect:
      console_contains: "SPI_FAULT_HANDLED"
      exit_code: 0

Compatible board twins

More in Environment & Temperature