Communication Bus
lager bus
Interface for Communication Busses
lager bus [OPTIONS] COMMAND [ARGS]...
can
Enable CAN Bus Decoding
lager bus can [OPTIONS]
Options
- --dut <dut>
ID of DUT
- --mcu <mcu>
- --source <NET>
Required CAN Bus signal
- --level <level>
signal threshold level
- --baud <baud>
Bus BAUD ratae
- --signal-type <signal_type>
Signal type of source data. e.g tx transceiver, raw CAN high signal, raw CAN low signal, raw differential signal
- Options:
tx | rx | can_h | can_l | diff
- --disable
i2c
Enable I2C Bus Decoding
lager bus i2c [OPTIONS]
Options
- --dut <dut>
ID of DUT
- --mcu <mcu>
- --source-scl <NET>
Required I2C Bus SCL signal
- --source-sda <NET>
Required I2C Bus SDA signal
- --level-scl <level_scl>
scl signal threshold level
- --level-sda <level_sda>
sda signal threshold level
- --rw <rw>
Decode RW bit
- Options:
on | off
- --disable
spi
Enable SPI Bus Decoding
lager bus spi [OPTIONS]
Options
- --dut <dut>
ID of DUT
- --mcu <mcu>
- --source-mosi <NET>
Required SPI Bus MOSI signal
- --source-miso <NET>
Required SPI Bus MISO signal
- --source-sck <NET>
Required SPI Bus SCK signal
- --source-cs <NET>
SPI Bus CS signal
- --level-mosi <level_mosi>
MOSI signal threshold level
- --level-miso <level_miso>
MISO signal threshold level
- --level-sck <level_sck>
SCK signal threshold level
- --level-cs <level_cs>
CS signal threshold level
- --pol-mosi <pol_mosi>
MOSI signal polarity
- Options:
pos | neg
- --pol-miso <pol_miso>
MISO signal polarity
- Options:
pos | neg
- --pol-cs <pol_cs>
CS signal polarity
- Options:
pos | neg
- --pha-sck <pha_sck>
SCK edge to sample data on
- Options:
rising | falling
- --capture <capture>
Mode to capture bus data
- Options:
timeout | cs
- --timeout <timeout>
Timeout value
- --endianness <endianness>
Endianness of data
- Options:
msb | lsb
- --data-width <data_width>
Width in bits of data
- --disable
uart
Enable UART Bus Decoding
lager bus uart [OPTIONS]
Options
- --dut <dut>
ID of DUT
- --mcu <mcu>
- --source-tx <NET>
Required UART Bus TX signal
- --source-rx <NET>
Required UART Bus RX signal
- --level-tx <level_tx>
tx signal threshold level
- --level-rx <level_rx>
rx signal threshold level
- --parity <parity>
Bus parity
- Options:
even | odd | none
- --stop-bits <stop_bits>
Bus stop bits
- Options:
1 | 1.5 | 2
- --data-bits <data_bits>
Bus stop bits
- Options:
5 | 6 | 7 | 8 | 9
- --baud <baud>
Bus baud
- --polarity <polarity>
Bus polarity. Typical is negative
- Options:
pos | neg
- --endianness <endianness>
Bus endianness
- Options:
msb | lsb
- --packet-ending <packet_ending>
Packet Ending of data
- Options:
null | cr | lf | sp | none
- --disable