Neural Inverse is Open Source →
DocsHardware Instruments

Hardware Instruments

Neural Inverse integrates with external hardware instruments for signal capture, power measurement, and protocol analysis.

Logic Analyzer

Supported Hardware

DeviceConnectionProtocol Decoders
Saleae Logic 2TCP port 1043023 protocols
Digilent WaveFormsPython dwfpy11 protocols

Protocol Decoders

Saleae (23 protocols): uart, spi, i2c, can, lin, i2s, jtag, swd, manchester, modbus, 1-wire, parallel, async-serial, biss-c, hdlc, hdmi-cec, i2s-pcm, jtag-raw, mdio, midi, ps2, smbus, usb-ll

Digilent (11 protocols): uart, spi, i2c, can, lin, i2s, manchester, modbus, 1-wire, parallel, async-serial

Usage

> fw_la_capture channels=0,1,2,3 duration=1s sampleRate=24MHz

Captures digital signals on specified channels.

> fw_la_decode spi captureId=abc123

Decodes a captured signal using the specified protocol.

> fw_la_trigger channel=0 edge=rising

Arms a trigger condition for the next capture.

> fw_la_export captureId=abc123 format=csv

Exports captured data.

Storage

Captures are stored in .inverse/captures/<captureId>/.

Power Analyzer

Capabilities

  • Voltage rail measurement
  • Current measurement (shunt-based)
  • Power calculation (RMS, peak, average)
  • Boot profiling (power consumption during startup)
  • Per-function power attribution (with correlated debug trace)

Usage

> fw_pa_measure duration=5s

Measures power consumption for a duration.

> fw_pa_set_voltage 3.3

Sets the voltage rail for measurement reference.

> fw_pa_record duration=10s label="deep_sleep_test"

Records a power profile with a label.

> fw_pa_profile_boot

Profiles power consumption during MCU boot sequence.

> fw_pa_trigger event=gpio_high channel=PA5

Triggers power measurement on a GPIO event.

Oscilloscope

Protocol

Uses SCPI (Standard Commands for Programmable Instruments) for universal oscilloscope compatibility.

Usage

> fw_scope_discover

Discovers connected oscilloscopes on the network/USB.

> fw_scope_capture channel=1 duration=10ms

Captures an analog waveform.

> fw_scope_measure channel=1 type=frequency

Measures signal properties (frequency, amplitude, rise time, etc.).

> fw_scope_rail_check voltage=3.3 tolerance=5%

Checks if a power rail is within tolerance.

> fw_scope_scpi "*IDN?"

Sends raw SCPI commands for advanced control.

> fw_scope_screenshot

Captures the oscilloscope display.

Coordinated Capture

Synchronize multiple instruments for correlated measurement:

> fw_capture_all logic=0,1,2,3 power=true serial=true duration=2s

Captures simultaneously from logic analyzer, power analyzer, and serial monitor. All data is time-correlated for analysis.

> fw_correlate_power_logic captureId=abc123

Correlates power consumption with digital signal activity.

Agent Tools

ToolDescription
fw_la_captureCapture digital signals
fw_la_statusLogic analyzer connection status
fw_la_triggerArm trigger condition
fw_la_decodeDecode captured protocol
fw_la_exportExport capture data
fw_pa_measureMeasure power consumption
fw_pa_statusPower analyzer status
fw_pa_recordRecord power profile
fw_pa_triggerArm power measurement trigger
fw_pa_set_voltageSet voltage rail reference
fw_pa_profile_bootProfile boot power
fw_scope_discoverFind oscilloscopes
fw_scope_captureCapture waveform
fw_scope_scpiSend raw SCPI command
fw_scope_measureMeasure signal property
fw_scope_screenshotCapture display
fw_scope_rail_checkCheck voltage rail
fw_capture_allCoordinated multi-instrument capture
fw_correlate_power_logicCorrelate power with logic

Was this page helpful?

Last edited