CAN, Ethernet & Transceivers
Analog Devices / Maxim MAX3485 in the datasheet corpus
3.3 V half-duplex RS-485 / RS-422 transceiver (10 Mbps) with DE/RE direction control.
VendorAnalog Devices / MaximCAN, Ethernet & Transceivers
InterfaceUART + DE/REHalf-duplex differential A/B with DE active-high, /RE active-low
Record StatusCatalog profileDatasheet / behavioral twin
Driver oracle & capability record
Indexed in the CircuitTwin datasheet corpus (rs485-rs232 class); catches premature DE drop truncating the last Modbus byte.
| Driver reference | Modbus RTU / RS-485 DE turnaround firmware |
|---|---|
| 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 |
|---|---|---|---|
Pin DE / /RE | DIR_CTRL | DE=1 TX, /RE=0 RX | Must stay high until UART TC (transmission complete), not TXE |
Bus A/B | DIFF_PAIR | 120 Ohm term | Multi-drop RS-485 bus with collision detection |
Attach with ct CLI
Shell - run firmware with MAX3485
# Run compiled firmware with MAX3485 attached on nucleo-f446re
ct run --json --board nucleo-f446re --device max3485 build/app.elf
# Run fault-injection suite and emit JUnit XML
ct test run --json --junit results/max3485.xml tests/max3485-fault.suite.yamlFault-injection test snippet (suite.yaml)
tests/max3485-fault.suite.yaml
version: 1
board: nucleo-f446re
firmware: build/app.elf
tests:
- name: max3485-uart-timeout-and-retry
faults:
- at_ms: 120
part: max3485
kind: uart_drop_rx
duration_ms: 250
expect:
console_contains: "UART_RETRY_OK"
exit_code: 0