Devolar.net
Practice · Protocols & Packet I/O

Deterministic fieldbuses, IEEE 802.1 TSN and wire-level protocol engineering

From noisy differential RS-485 and CAN-FD harnesses to sub-microsecond PTP-synchronised Ethernet and fuzz-tested binary wire protocols.

Bridging legacy industrial buses and modern deterministic Ethernet

Real industrial, automotive, energy and robotics environments rarely speak clean HTTP/JSON. Controllers exchange cyclic process data over CAN-FD, SAE J1939, CANopen, EtherCAT, PROFINET and Modbus RTU/TCP, synchronise distributed clocks via IEEE 1588 PTP (linuxptp / hardware timestamping), and increasingly converge control and telemetry onto IEEE 802.1 Time-Sensitive Networking (TSN).

We implement, bridge, optimise and fuzz-test protocol stacks from physical transceiver timing and DMA descriptors up to authenticated WireGuard or mTLS backhaul.

Protocol and networking capabilities

01 CAN, CAN-FD, J1939 & CANopen SocketCAN kernel drivers, hardware RX filters, deterministic TX scheduling, DBC code generation, UDS (ISO 14229) bootloader flashing and bus-off recovery.
02 EtherCAT, OPC-UA & Modbus gateways Cyclic EtherCAT masters on PREEMPT_RT Linux (IgH / SOEM), OPC-UA PubSub/Server information models and galvanic-isolated multi-drop RS-485 Modbus polling.
03 IEEE 802.1 TSN & 1588 PTP clock sync Hardware MAC/PHY timestamping (`ptp4l` + `phc2sys`), `tc-taprio` time-aware traffic shaping (`802.1Qbv`), credit-based shapers (`802.1Qav`) and `SO_TXTIME` launch-time sockets.
04 Custom binary protocols, XDP & WireGuard Zero-copy C/Rust parsers verified with `libFuzzer`/`cargo-fuzz`, custom Wireshark Lua/C dissectors, DPDK/XDP capture and roaming-resilient WireGuard meshes.

Industrial bus & deterministic network comparison

Each physical layer trades off cable topology, cycle time, payload size and silicon cost.

Protocol / BusTypical Cycle / SyncData RatePrimary Engineering Use Case
RS-485 / Modbus RTU10 ms – 1 s polled9.6 kbps – 1 MbpsLong cable runs, energy meters, HVAC, inverters & brownfield retrofits
CAN 2.0B / CAN-FD1 ms – 20 ms event/cyclic500 kbps – 5/8 MbpsMobile machinery (J1939), battery management (BMS), robotics actuators
EtherCAT62.5 µs – 1 ms cyclic100 Mbps / 1 GbpsMulti-axis servo motion, high-speed distributed I/O, test benches
IEEE 802.1 TSN + PTP< 1 µs clock sync1 Gbps – 10 GbpsConverged OT/IT Ethernet mixing hard real-time control and camera/sensor traffic

Networking & protocol questions

How do you protect protocol parsers exposed to untrusted buses or radio frames?

Every custom or binary parser we write uses explicit bounds-checked slices (often in `no_std` Rust or MISRA-disciplined C with ASan/UBSan) and runs continuous coverage-guided fuzzing in CI before touching hardware.

Can standard Linux NICs do IEEE 1588 PTP and TSN, or is special silicon required?

Sub-microsecond PTP and `802.1Qbv` time-aware scheduling require MAC/PHY hardware timestamping and launch-time queues — available on controllers such as Intel i210/i225/i226, NXP ENET_QOS (i.MX8MP/i.MX93) and TI CPSW/PRU-ICSSG. We help select and validate the exact NIC/SoC early.

Build rock-solid industrial bus and network stacks