Current, Power & ADC
Texas Instruments ADS1256 in the datasheet corpus
24-bit 8-channel 30 kSPS low-noise delta-sigma ADC for precision instrumentation.
VendorTexas InstrumentsCurrent, Power & ADC
InterfaceSPISPI Mode 1 (CPOL=0, CPHA=1) + DRDY pin
Record StatusCatalog profileDatasheet / behavioral twin
Driver oracle & capability record
Indexed in the CircuitTwin datasheet corpus; enforces t6 command-to-data delay and DRDY handshake timing.
| Driver reference | TI ADS1256 reference C driver |
|---|---|
| Evidence standing | provisional (register and bus behavior derived from vendor datasheet or driver oracle; not yet hardware-unit verified on two physical samples). |
| Published record | Generate or inspect locally via ct twin generate (see /docs/twin-generation). |
Key registers & reset values
| Address / Field | Register | Reset / Expected | Purpose |
|---|---|---|---|
0x00 | STATUS | ID[7:4]=0x3 | Silicon ID, byte order, ACAL and input buffer enable |
0x01 / 0x02 | MUX / ADCON | 0x01 / 0x20 | Positive/negative mux and PGA gain (1..64) |
0x03 | DRATE | 0xF0 (30 kSPS) | Output data rate from 2.5 SPS to 30,000 SPS |
Attach with ct CLI
Shell - run firmware with ADS1256
# Run compiled firmware with ADS1256 attached on nucleo-h743zi2
ct run --json --board nucleo-h743zi2 --device ads1256 build/app.elf
# Run fault-injection suite and emit JUnit XML
ct test run --json --junit results/ads1256.xml tests/ads1256-fault.suite.yamlFault-injection test snippet (suite.yaml)
tests/ads1256-fault.suite.yaml
version: 1
board: nucleo-h743zi2
firmware: build/app.elf
tests:
- name: ads1256-spi-disconnect-and-fault
faults:
- at_ms: 40
part: ads1256
kind: bus_disconnect
duration_ms: 25
expect:
console_contains: "SPI_FAULT_HANDLED"
exit_code: 0