Automotive Network
194 skill files covering network domain for automotive software engineering.
Applicable Standards
- ASPICE Level 3
- AUTOSAR 4.4
- ISO 21434
- ISO 26262
Use Cases
- NETWORK system development
- Bandwidth Optimization optimization
- Production ECU implementation
- Bus Monitoring optimization
- Can optimization
- Can Fd optimization
- Ethernet optimization
- Flexray optimization
- Gateway optimization
- Lin optimization
- Message Scheduling optimization
- Most optimization
- Network Management optimization
- Routing optimization
Topics Covered
Bandwidth Optimization
- bandwidth-optimization-001
- bandwidth-optimization-002
- bandwidth-optimization-003
- bandwidth-optimization-004
- bandwidth-optimization-005
- bandwidth-optimization-006
- bandwidth-optimization-007
- bandwidth-optimization-008
- bandwidth-optimization-009
- bandwidth-optimization-010
- bandwidth-optimization-011
- bandwidth-optimization-012
- bandwidth-optimization-013
- bandwidth-optimization-014
- bandwidth-optimization-015
- bandwidth-optimization-016
Bus Monitoring
- bus-monitoring-001
- bus-monitoring-002
- bus-monitoring-003
- bus-monitoring-004
- bus-monitoring-005
- bus-monitoring-006
- bus-monitoring-007
- bus-monitoring-008
- bus-monitoring-009
- bus-monitoring-010
- bus-monitoring-011
- bus-monitoring-012
- bus-monitoring-013
- bus-monitoring-014
- bus-monitoring-015
- bus-monitoring-016
Can
- can-001
- can-002
- can-003
- can-004
- can-005
- can-006
- can-007
- can-008
- can-009
- can-010
- can-011
- can-012
- can-013
- can-014
- can-015
- can-016
Can Fd
- can-fd-001
- can-fd-002
- can-fd-003
- can-fd-004
- can-fd-005
- can-fd-006
- can-fd-007
- can-fd-008
- can-fd-009
- can-fd-010
- can-fd-011
- can-fd-012
- can-fd-013
- can-fd-014
- can-fd-015
- can-fd-016
Ethernet
- ethernet-001
- ethernet-002
- ethernet-003
- ethernet-004
- ethernet-005
- ethernet-006
- ethernet-007
- ethernet-008
- ethernet-009
- ethernet-010
- ethernet-011
- ethernet-012
- ethernet-013
- ethernet-014
- ethernet-015
- ethernet-016
Flexray
- flexray-001
- flexray-002
- flexray-003
- flexray-004
- flexray-005
- flexray-006
- flexray-007
- flexray-008
- flexray-009
- flexray-010
- flexray-011
- flexray-012
- flexray-013
- flexray-014
- flexray-015
- flexray-016
Gateway
- gateway-001
- gateway-002
- gateway-003
- gateway-004
- gateway-005
- gateway-006
- gateway-007
- gateway-008
- gateway-009
- gateway-010
- gateway-011
- gateway-012
- gateway-013
- gateway-014
- gateway-015
- gateway-016
Lin
- lin-001
- lin-002
- lin-003
- lin-004
- lin-005
- lin-006
- lin-007
- lin-008
- lin-009
- lin-010
- lin-011
- lin-012
- lin-013
- lin-014
- lin-015
- lin-016
Message Scheduling
- message-scheduling-001
- message-scheduling-002
- message-scheduling-003
- message-scheduling-004
- message-scheduling-005
- message-scheduling-006
- message-scheduling-007
- message-scheduling-008
- message-scheduling-009
- message-scheduling-010
- message-scheduling-011
- message-scheduling-012
- message-scheduling-013
- message-scheduling-014
- message-scheduling-015
- message-scheduling-016
Most
- most-001
- most-002
- most-003
- most-004
- most-005
- most-006
- most-007
- most-008
- most-009
- most-010
- most-011
- most-012
- most-013
- most-014
- most-015
- most-016
Network Management
- network-management-001
- network-management-002
- network-management-003
- network-management-004
- network-management-005
- network-management-006
- network-management-007
- network-management-008
- network-management-009
- network-management-010
- network-management-011
- network-management-012
- network-management-013
- network-management-014
- network-management-015
- network-management-016
Routing
- routing-001
- routing-002
- routing-003
- routing-004
- routing-005
- routing-006
- routing-007
- routing-008
- routing-009
- routing-010
- routing-011
- routing-012
- routing-013
- routing-014
- routing-015
- routing-016
Constraints
- AUTOSAR architecture adherence
- ISO 26262 functional safety compliance
- Real-time performance requirements
- Resource constraints (CPU/Memory)
Required Tools
- AUTOSAR toolchain
- MATLAB/Simulink
- Static analyzer (Polyspace/Klocwork)
- Vector CANoe/CANalyzer
- bridge-utils (optional, legacy)
- docker for container networking
- ethtool for interface statistics
- iproute2 (ip command)
- iptables or nftables
- tc (traffic control, part of iproute2)
- tcpdump for packet capture
Instructions
bandwidth-optimization-001
Core Competencies
Expert in bandwidth optimization for automotive network systems.
Approach
- Analyze requirements against automotive standards
- Design solution following AUTOSAR patterns
- Implement with safety and security considerations
- Validate per ISO 26262 requirements
Deliverables
- Technical specification
- Implementation (C/C++/Model)
- Test cases and results
- Safety documentation
bandwidth-optimization-002
Core Competencies
Expert in bandwidth optimization for automotive network systems.
Approach
- Analyze requirements against automotive standards
- Design solution following AUTOSAR patterns
- Implement with safety and security considerations
- Validate per ISO 26262 requirements
Deliverables
- Technical specification
- Implementation (C/C++/Model)
- Test cases and results
- Safety documentation
bandwidth-optimization-003
Core Competencies
Expert in bandwidth optimization for automotive network systems.
Approach
- Analyze requirements against automotive standards
- Design solution following AUTOSAR patterns
- Implement with safety and security considerations
- Validate per ISO 26262 requirements
Deliverables
- Technical specification
- Implementation (C/C++/Model)
- Test cases and results
- Safety documentation
bandwidth-optimization-004
Core Competencies
Expert in bandwidth optimization for automotive network systems.
Approach
- Analyze requirements against automotive standards
- Design solution following AUTOSAR patterns
- Implement with safety and security considerations
- Validate per ISO 26262 requirements
Deliverables
- Technical specification
- Implementation (C/C++/Model)
- Test cases and results
- Safety documentation
bandwidth-optimization-005
Core Competencies
Expert in bandwidth optimization for automotive network systems.
Approach
- Analyze requirements against automotive standards
- Design solution following AUTOSAR patterns
- Implement with safety and security considerations
- Validate per ISO 26262 requirements
Deliverables
- Technical specification
- Implementation (C/C++/Model)
- Test cases and results
- Safety documentation
bandwidth-optimization-006
Core Competencies
Expert in bandwidth optimization for automotive network systems.
Approach
- Analyze requirements against automotive standards
- Design solution following AUTOSAR patterns
- Implement with safety and security considerations
- Validate per ISO 26262 requirements
Deliverables
- Technical specification
- Implementation (C/C++/Model)
- Test cases and results
- Safety documentation
bandwidth-optimization-007
Core Competencies
Expert in bandwidth optimization for automotive network systems.
Approach
- Analyze requirements against automotive standards
- Design solution following AUTOSAR patterns
- Implement with safety and security considerations
- Validate per ISO 26262 requirements
Deliverables
- Technical specification
- Implementation (C/C++/Model)
- Test cases and results
- Safety documentation
bandwidth-optimization-008
Core Competencies
Expert in bandwidth optimization for automotive network systems.
Approach
- Analyze requirements against automotive standards
- Design solution following AUTOSAR patterns
- Implement with safety and security considerations
- Validate per ISO 26262 requirements
Deliverables
- Technical specification
- Implementation (C/C++/Model)
- Test cases and results
- Safety documentation
bandwidth-optimization-009
Core Competencies
Expert in bandwidth optimization for automotive network systems.
Approach
- Analyze requirements against automotive standards
- Design solution following AUTOSAR patterns
- Implement with safety and security considerations
- Validate per ISO 26262 requirements
Deliverables
- Technical specification
- Implementation (C/C++/Model)
- Test cases and results
- Safety documentation
bandwidth-optimization-010
Core Competencies
Expert in bandwidth optimization for automotive network systems.
Approach
- Analyze requirements against automotive standards
- Design solution following AUTOSAR patterns
- Implement with safety and security considerations
- Validate per ISO 26262 requirements
Deliverables
- Technical specification
- Implementation (C/C++/Model)
- Test cases and results
- Safety documentation
bandwidth-optimization-011
Core Competencies
Expert in bandwidth optimization for automotive network systems.
Approach
- Analyze requirements against automotive standards
- Design solution following AUTOSAR patterns
- Implement with safety and security considerations
- Validate per ISO 26262 requirements
Deliverables
- Technical specification
- Implementation (C/C++/Model)
- Test cases and results
- Safety documentation
bandwidth-optimization-012
Core Competencies
Expert in bandwidth optimization for automotive network systems.
Approach
- Analyze requirements against automotive standards
- Design solution following AUTOSAR patterns
- Implement with safety and security considerations
- Validate per ISO 26262 requirements
Deliverables
- Technical specification
- Implementation (C/C++/Model)
- Test cases and results
- Safety documentation
bandwidth-optimization-013
Core Competencies
Expert in bandwidth optimization for automotive network systems.
Approach
- Analyze requirements against automotive standards
- Design solution following AUTOSAR patterns
- Implement with safety and security considerations
- Validate per ISO 26262 requirements
Deliverables
- Technical specification
- Implementation (C/C++/Model)
- Test cases and results
- Safety documentation
bandwidth-optimization-014
Core Competencies
Expert in bandwidth optimization for automotive network systems.
Approach
- Analyze requirements against automotive standards
- Design solution following AUTOSAR patterns
- Implement with safety and security considerations
- Validate per ISO 26262 requirements
Deliverables
- Technical specification
- Implementation (C/C++/Model)
- Test cases and results
- Safety documentation
bandwidth-optimization-015
Core Competencies
Expert in bandwidth optimization for automotive network systems.
Approach
- Analyze requirements against automotive standards
- Design solution following AUTOSAR patterns
- Implement with safety and security considerations
- Validate per ISO 26262 requirements
Deliverables
- Technical specification
- Implementation (C/C++/Model)
- Test cases and results
- Safety documentation
bandwidth-optimization-016
Core Competencies
Expert in bandwidth optimization for automotive network systems.
Approach
- Analyze requirements against automotive standards
- Design solution following AUTOSAR patterns
- Implement with safety and security considerations
- Validate per ISO 26262 requirements
Deliverables
- Technical specification
- Implementation (C/C++/Model)
- Test cases and results
- Safety documentation
bus-monitoring-001
Core Competencies
Expert in bus monitoring for automotive network systems.
Approach
- Analyze requirements against automotive standards
- Design solution following AUTOSAR patterns
- Implement with safety and security considerations
- Validate per ISO 26262 requirements
Deliverables
- Technical specification
- Implementation (C/C++/Model)
- Test cases and results
- Safety documentation
bus-monitoring-002
Core Competencies
Expert in bus monitoring for automotive network systems.
Approach
- Analyze requirements against automotive standards
- Design solution following AUTOSAR patterns
- Implement with safety and security considerations
- Validate per ISO 26262 requirements
Deliverables
- Technical specification
- Implementation (C/C++/Model)
- Test cases and results
- Safety documentation
bus-monitoring-003
Core Competencies
Expert in bus monitoring for automotive network systems.
Approach
- Analyze requirements against automotive standards
- Design solution following AUTOSAR patterns
- Implement with safety and security considerations
- Validate per ISO 26262 requirements
Deliverables
- Technical specification
- Implementation (C/C++/Model)
- Test cases and results
- Safety documentation
bus-monitoring-004
Core Competencies
Expert in bus monitoring for automotive network systems.
Approach
- Analyze requirements against automotive standards
- Design solution following AUTOSAR patterns
- Implement with safety and security considerations
- Validate per ISO 26262 requirements
Deliverables
- Technical specification
- Implementation (C/C++/Model)
- Test cases and results
- Safety documentation
bus-monitoring-005
Core Competencies
Expert in bus monitoring for automotive network systems.
Approach
- Analyze requirements against automotive standards
- Design solution following AUTOSAR patterns
- Implement with safety and security considerations
- Validate per ISO 26262 requirements
Deliverables
- Technical specification
- Implementation (C/C++/Model)
- Test cases and results
- Safety documentation
bus-monitoring-006
Core Competencies
Expert in bus monitoring for automotive network systems.
Approach
- Analyze requirements against automotive standards
- Design solution following AUTOSAR patterns
- Implement with safety and security considerations
- Validate per ISO 26262 requirements
Deliverables
- Technical specification
- Implementation (C/C++/Model)
- Test cases and results
- Safety documentation
bus-monitoring-007
Core Competencies
Expert in bus monitoring for automotive network systems.
Approach
- Analyze requirements against automotive standards
- Design solution following AUTOSAR patterns
- Implement with safety and security considerations
- Validate per ISO 26262 requirements
Deliverables
- Technical specification
- Implementation (C/C++/Model)
- Test cases and results
- Safety documentation
bus-monitoring-008
Core Competencies
Expert in bus monitoring for automotive network systems.
Approach
- Analyze requirements against automotive standards
- Design solution following AUTOSAR patterns
- Implement with safety and security considerations
- Validate per ISO 26262 requirements
Deliverables
- Technical specification
- Implementation (C/C++/Model)
- Test cases and results
- Safety documentation
bus-monitoring-009
Core Competencies
Expert in bus monitoring for automotive network systems.
Approach
- Analyze requirements against automotive standards
- Design solution following AUTOSAR patterns
- Implement with safety and security considerations
- Validate per ISO 26262 requirements
Deliverables
- Technical specification
- Implementation (C/C++/Model)
- Test cases and results
- Safety documentation
bus-monitoring-010
Core Competencies
Expert in bus monitoring for automotive network systems.
Approach
- Analyze requirements against automotive standards
- Design solution following AUTOSAR patterns
- Implement with safety and security considerations
- Validate per ISO 26262 requirements
Deliverables
- Technical specification
- Implementation (C/C++/Model)
- Test cases and results
- Safety documentation
bus-monitoring-011
Core Competencies
Expert in bus monitoring for automotive network systems.
Approach
- Analyze requirements against automotive standards
- Design solution following AUTOSAR patterns
- Implement with safety and security considerations
- Validate per ISO 26262 requirements
Deliverables
- Technical specification
- Implementation (C/C++/Model)
- Test cases and results
- Safety documentation
bus-monitoring-012
Core Competencies
Expert in bus monitoring for automotive network systems.
Approach
- Analyze requirements against automotive standards
- Design solution following AUTOSAR patterns
- Implement with safety and security considerations
- Validate per ISO 26262 requirements
Deliverables
- Technical specification
- Implementation (C/C++/Model)
- Test cases and results
- Safety documentation
bus-monitoring-013
Core Competencies
Expert in bus monitoring for automotive network systems.
Approach
- Analyze requirements against automotive standards
- Design solution following AUTOSAR patterns
- Implement with safety and security considerations
- Validate per ISO 26262 requirements
Deliverables
- Technical specification
- Implementation (C/C++/Model)
- Test cases and results
- Safety documentation
bus-monitoring-014
Core Competencies
Expert in bus monitoring for automotive network systems.
Approach
- Analyze requirements against automotive standards
- Design solution following AUTOSAR patterns
- Implement with safety and security considerations
- Validate per ISO 26262 requirements
Deliverables
- Technical specification
- Implementation (C/C++/Model)
- Test cases and results
- Safety documentation
bus-monitoring-015
Core Competencies
Expert in bus monitoring for automotive network systems.
Approach
- Analyze requirements against automotive standards
- Design solution following AUTOSAR patterns
- Implement with safety and security considerations
- Validate per ISO 26262 requirements
Deliverables
- Technical specification
- Implementation (C/C++/Model)
- Test cases and results
- Safety documentation
bus-monitoring-016
Core Competencies
Expert in bus monitoring for automotive network systems.
Approach
- Analyze requirements against automotive standards
- Design solution following AUTOSAR patterns
- Implement with safety and security considerations
- Validate per ISO 26262 requirements
Deliverables
- Technical specification
- Implementation (C/C++/Model)
- Test cases and results
- Safety documentation
can-001
Core Competencies
Expert in can for automotive network systems.
Approach
- Analyze requirements against automotive standards
- Design solution following AUTOSAR patterns
- Implement with safety and security considerations
- Validate per ISO 26262 requirements
Deliverables
- Technical specification
- Implementation (C/C++/Model)
- Test cases and results
- Safety documentation
can-002
Core Competencies
Expert in can for automotive network systems.
Approach
- Analyze requirements against automotive standards
- Design solution following AUTOSAR patterns
- Implement with safety and security considerations
- Validate per ISO 26262 requirements
Deliverables
- Technical specification
- Implementation (C/C++/Model)
- Test cases and results
- Safety documentation
can-003
Core Competencies
Expert in can for automotive network systems.
Approach
- Analyze requirements against automotive standards
- Design solution following AUTOSAR patterns
- Implement with safety and security considerations
- Validate per ISO 26262 requirements
Deliverables
- Technical specification
- Implementation (C/C++/Model)
- Test cases and results
- Safety documentation
can-004
Core Competencies
Expert in can for automotive network systems.
Approach
- Analyze requirements against automotive standards
- Design solution following AUTOSAR patterns
- Implement with safety and security considerations
- Validate per ISO 26262 requirements
Deliverables
- Technical specification
- Implementation (C/C++/Model)
- Test cases and results
- Safety documentation
can-005
Core Competencies
Expert in can for automotive network systems.
Approach
- Analyze requirements against automotive standards
- Design solution following AUTOSAR patterns
- Implement with safety and security considerations
- Validate per ISO 26262 requirements
Deliverables
- Technical specification
- Implementation (C/C++/Model)
- Test cases and results
- Safety documentation
can-006
Core Competencies
Expert in can for automotive network systems.
Approach
- Analyze requirements against automotive standards
- Design solution following AUTOSAR patterns
- Implement with safety and security considerations
- Validate per ISO 26262 requirements
Deliverables
- Technical specification
- Implementation (C/C++/Model)
- Test cases and results
- Safety documentation
can-007
Core Competencies
Expert in can for automotive network systems.
Approach
- Analyze requirements against automotive standards
- Design solution following AUTOSAR patterns
- Implement with safety and security considerations
- Validate per ISO 26262 requirements
Deliverables
- Technical specification
- Implementation (C/C++/Model)
- Test cases and results
- Safety documentation
can-008
Core Competencies
Expert in can for automotive network systems.
Approach
- Analyze requirements against automotive standards
- Design solution following AUTOSAR patterns
- Implement with safety and security considerations
- Validate per ISO 26262 requirements
Deliverables
- Technical specification
- Implementation (C/C++/Model)
- Test cases and results
- Safety documentation
can-009
Core Competencies
Expert in can for automotive network systems.
Approach
- Analyze requirements against automotive standards
- Design solution following AUTOSAR patterns
- Implement with safety and security considerations
- Validate per ISO 26262 requirements
Deliverables
- Technical specification
- Implementation (C/C++/Model)
- Test cases and results
- Safety documentation
can-010
Core Competencies
Expert in can for automotive network systems.
Approach
- Analyze requirements against automotive standards
- Design solution following AUTOSAR patterns
- Implement with safety and security considerations
- Validate per ISO 26262 requirements
Deliverables
- Technical specification
- Implementation (C/C++/Model)
- Test cases and results
- Safety documentation
can-011
Core Competencies
Expert in can for automotive network systems.
Approach
- Analyze requirements against automotive standards
- Design solution following AUTOSAR patterns
- Implement with safety and security considerations
- Validate per ISO 26262 requirements
Deliverables
- Technical specification
- Implementation (C/C++/Model)
- Test cases and results
- Safety documentation
can-012
Core Competencies
Expert in can for automotive network systems.
Approach
- Analyze requirements against automotive standards
- Design solution following AUTOSAR patterns
- Implement with safety and security considerations
- Validate per ISO 26262 requirements
Deliverables
- Technical specification
- Implementation (C/C++/Model)
- Test cases and results
- Safety documentation
can-013
Core Competencies
Expert in can for automotive network systems.
Approach
- Analyze requirements against automotive standards
- Design solution following AUTOSAR patterns
- Implement with safety and security considerations
- Validate per ISO 26262 requirements
Deliverables
- Technical specification
- Implementation (C/C++/Model)
- Test cases and results
- Safety documentation
can-014
Core Competencies
Expert in can for automotive network systems.
Approach
- Analyze requirements against automotive standards
- Design solution following AUTOSAR patterns
- Implement with safety and security considerations
- Validate per ISO 26262 requirements
Deliverables
- Technical specification
- Implementation (C/C++/Model)
- Test cases and results
- Safety documentation
can-015
Core Competencies
Expert in can for automotive network systems.
Approach
- Analyze requirements against automotive standards
- Design solution following AUTOSAR patterns
- Implement with safety and security considerations
- Validate per ISO 26262 requirements
Deliverables
- Technical specification
- Implementation (C/C++/Model)
- Test cases and results
- Safety documentation
can-016
Core Competencies
Expert in can for automotive network systems.
Approach
- Analyze requirements against automotive standards
- Design solution following AUTOSAR patterns
- Implement with safety and security considerations
- Validate per ISO 26262 requirements
Deliverables
- Technical specification
- Implementation (C/C++/Model)
- Test cases and results
- Safety documentation
CAN Network Analysis Skills
CAN Network Analysis Guide
Overview
Controller Area Network (CAN) is the dominant serial bus in automotive systems, connecting ECUs for powertrain, chassis, body, and infotainment. CAN analysis involves capturing, decoding, filtering, and simulating CAN traffic to validate communication, diagnose faults, and verify timing requirements.
CAN Protocol Fundamentals
CAN 2.0A Frame (Standard 11-bit ID):
┌─────┬────────┬─────┬─────┬──────────┬─────┬─────┬─────┬─────┐
│ SOF │ 11-bit │ RTR │ IDE │ DLC(4b) │Data │ CRC │ ACK │ EOF │
│ │ ID │ │ │ │0-8B │ 15b │ │ 7b │
└─────┴────────┴─────┴─────┴──────────┴─────┴─────┴─────┴─────┘
CAN 2.0B Frame (Extended 29-bit ID):
┌─────┬────────┬─────┬─────┬──────────┬────────┬─────┬──────────┬─────┬─────┬─────┐
│ SOF │ 11-bit │ SRR │ IDE │ 18-bit │ RTR │ DLC │ Data │ CRC │ ACK │ EOF │
│ │ Base │ │ │ Extended │ │ │ 0-8B │ │ │ │
└─────┴────────┴─────┴─────┴──────────┴────────┴─────┴──────────┴─────┴─────┴─────┘
CAN FD Frame (up to 64 bytes):
┌─────┬────────┬─────┬─────┬──────────┬─────┬─────┬──────────┬─────┬─────┬─────┐
│ SOF │ ID │ FDF │ BRS │ DLC(4b) │ ESI │ │ Data │ CRC │ ACK │ EOF │
│ │ 11/29b │ │ │ │ │ │ 0-64B │ │ │ │
└─────┴────────┴─────┴─────┴──────────┴─────┴─────┴──────────┴─────┴─────┴─────┘
DBC File Format
DBC (DataBase CAN) files define message and signal definitions:
VERSION ""
NS_ :
BS_:
BU_: ECM TCM BCM ABS
BO_ 256 EngineData: 8 ECM
SG_ EngineRPM : 0|16@1+ (0.25,0) [0|16383.75] "rpm" TCM,BCM
SG_ CoolantTemp : 16|8@1+ (1,-40) [-40|215] "degC" BCM
SG_ ThrottlePos : 24|8@1+ (0.392157,0) [0|100] "%" TCM
BO_ 512 TransmissionData: 4 TCM
SG_ GearPosition : 0|4@1+ (1,0) [0|15] "" ECM,BCM
SG_ TorqueRequest : 4|12@1+ (0.5,0) [0|2047.5] "Nm" ECM
Key DBC elements:
- BO_: Message definition (ID, name, DLC, sender)
- SG_: Signal definition (name, bit_position|bit_length@byte_order value_type)
- Byte order:
1= little-endian (Intel),0= big-endian (Motorola) - Value type:
+= unsigned,-= signed - Scaling:
(factor, offset)wherephysical = raw * factor + offset - Range:
[min|max]
Signal Encoding and Decoding
Decoding: physical_value = raw_value * factor + offset
Encoding: raw_value = (physical_value - offset) / factor
Example: EngineRPM signal
Raw bytes: 0x1A 0x0B (little-endian) = 0x0B1A = 2842
Physical: 2842 * 0.25 + 0 = 710.5 RPM
Bit extraction for Motorola (big-endian) byte order requires careful bit numbering. The start bit refers to the MSB position in Motorola format, unlike Intel format where it refers to the LSB position.
Bus Load Calculation
Bus load (%) = (total_bits_per_second / baudrate) * 100
Bits per CAN frame (worst case, with bit stuffing):
Standard: 44 + 8*DLC + stuff bits (~5 per 4 data bits)
Extended: 64 + 8*DLC + stuff bits
Example at 500 kbit/s:
Message 0x100 (8 bytes) at 100 Hz:
Bits per frame ≈ 44 + 64 + ~25 stuffing = ~133 bits
Load contribution = (133 * 100) / 500000 = 2.66%
A CAN bus should not exceed 70-80% load for reliable operation; above this threshold, lower-priority messages experience significant latency.
CAN FD Differences
| Feature | CAN 2.0 | CAN FD |
|---|---|---|
| Max data | 8 bytes | 64 bytes |
| Arbitration rate | Up to 1 Mbit/s | Up to 1 Mbit/s |
| Data phase rate | Same as arbitration | Up to 8 Mbit/s |
| DLC encoding | Linear (0-8) | Non-linear (0,1,..,8,12,16,20,24,32,48,64) |
| CRC | 15-bit | 17-bit (<=16B) or 21-bit (>16B) |
| Error detection | Standard | Improved (ISO CRC) |
Error Frame Types
| Error Type | Description | Cause |
|---|---|---|
| Bit Error | Transmitted bit differs from monitored | Bus contention, driver fault |
| Stuff Error | 6+ consecutive same-polarity bits | Noise, clock drift |
| CRC Error | Received CRC does not match calculated | Data corruption |
| Form Error | Fixed-form bit field has wrong value | Protocol violation |
| ACK Error | No receiver acknowledges the frame | No listener, bus disconnected |
Trace File Formats
- ASC: Vector ASCII trace (human-readable, timestamps + frames)
- BLF: Vector Binary Logging Format (compressed, efficient for large captures)
- CSV: Comma-separated (portable but large)
- MDF/MF4: ASAM Measurement Data Format (signal-level, not frame-level)
- PCAP: Wireshark capture (for SocketCAN on Linux)
Linux SocketCAN Setup
# Load CAN kernel modules
modprobe can
modprobe can_raw
modprobe vcan # Virtual CAN for testing
# Create virtual CAN interface
ip link add dev vcan0 type vcan
ip link set up vcan0
# Configure real CAN interface
ip link set can0 type can bitrate 500000
ip link set up can0
# CAN FD configuration
ip link set can0 type can bitrate 500000 dbitrate 2000000 fd on
# Send/receive with cansend/candump
cansend vcan0 123#DEADBEEF
candump vcan0
Best Practices
- Always validate DBC files before use (check for duplicate IDs, overlapping signals)
- Monitor bus load continuously during integration testing
- Use CAN FD for ECUs that need to transfer large payloads (e.g., diagnostics, calibration)
- Log error frames alongside data frames for complete analysis
- Verify message timing (cycle time, jitter) against the network design specification
- Use virtual CAN (vcan) for unit testing CAN application logic without hardware
- Filter captures early to reduce trace file sizes in long-duration tests
can-fd-001
Core Competencies
Expert in can fd for automotive network systems.
Approach
- Analyze requirements against automotive standards
- Design solution following AUTOSAR patterns
- Implement with safety and security considerations
- Validate per ISO 26262 requirements
Deliverables
- Technical specification
- Implementation (C/C++/Model)
- Test cases and results
- Safety documentation
can-fd-002
Core Competencies
Expert in can fd for automotive network systems.
Approach
- Analyze requirements against automotive standards
- Design solution following AUTOSAR patterns
- Implement with safety and security considerations
- Validate per ISO 26262 requirements
Deliverables
- Technical specification
- Implementation (C/C++/Model)
- Test cases and results
- Safety documentation
can-fd-003
Core Competencies
Expert in can fd for automotive network systems.
Approach
- Analyze requirements against automotive standards
- Design solution following AUTOSAR patterns
- Implement with safety and security considerations
- Validate per ISO 26262 requirements
Deliverables
- Technical specification
- Implementation (C/C++/Model)
- Test cases and results
- Safety documentation
can-fd-004
Core Competencies
Expert in can fd for automotive network systems.
Approach
- Analyze requirements against automotive standards
- Design solution following AUTOSAR patterns
- Implement with safety and security considerations
- Validate per ISO 26262 requirements
Deliverables
- Technical specification
- Implementation (C/C++/Model)
- Test cases and results
- Safety documentation
can-fd-005
Core Competencies
Expert in can fd for automotive network systems.
Approach
- Analyze requirements against automotive standards
- Design solution following AUTOSAR patterns
- Implement with safety and security considerations
- Validate per ISO 26262 requirements
Deliverables
- Technical specification
- Implementation (C/C++/Model)
- Test cases and results
- Safety documentation
can-fd-006
Core Competencies
Expert in can fd for automotive network systems.
Approach
- Analyze requirements against automotive standards
- Design solution following AUTOSAR patterns
- Implement with safety and security considerations
- Validate per ISO 26262 requirements
Deliverables
- Technical specification
- Implementation (C/C++/Model)
- Test cases and results
- Safety documentation
can-fd-007
Core Competencies
Expert in can fd for automotive network systems.
Approach
- Analyze requirements against automotive standards
- Design solution following AUTOSAR patterns
- Implement with safety and security considerations
- Validate per ISO 26262 requirements
Deliverables
- Technical specification
- Implementation (C/C++/Model)
- Test cases and results
- Safety documentation
can-fd-008
Core Competencies
Expert in can fd for automotive network systems.
Approach
- Analyze requirements against automotive standards
- Design solution following AUTOSAR patterns
- Implement with safety and security considerations
- Validate per ISO 26262 requirements
Deliverables
- Technical specification
- Implementation (C/C++/Model)
- Test cases and results
- Safety documentation
can-fd-009
Core Competencies
Expert in can fd for automotive network systems.
Approach
- Analyze requirements against automotive standards
- Design solution following AUTOSAR patterns
- Implement with safety and security considerations
- Validate per ISO 26262 requirements
Deliverables
- Technical specification
- Implementation (C/C++/Model)
- Test cases and results
- Safety documentation
can-fd-010
Core Competencies
Expert in can fd for automotive network systems.
Approach
- Analyze requirements against automotive standards
- Design solution following AUTOSAR patterns
- Implement with safety and security considerations
- Validate per ISO 26262 requirements
Deliverables
- Technical specification
- Implementation (C/C++/Model)
- Test cases and results
- Safety documentation
can-fd-011
Core Competencies
Expert in can fd for automotive network systems.
Approach
- Analyze requirements against automotive standards
- Design solution following AUTOSAR patterns
- Implement with safety and security considerations
- Validate per ISO 26262 requirements
Deliverables
- Technical specification
- Implementation (C/C++/Model)
- Test cases and results
- Safety documentation
can-fd-012
Core Competencies
Expert in can fd for automotive network systems.
Approach
- Analyze requirements against automotive standards
- Design solution following AUTOSAR patterns
- Implement with safety and security considerations
- Validate per ISO 26262 requirements
Deliverables
- Technical specification
- Implementation (C/C++/Model)
- Test cases and results
- Safety documentation
can-fd-013
Core Competencies
Expert in can fd for automotive network systems.
Approach
- Analyze requirements against automotive standards
- Design solution following AUTOSAR patterns
- Implement with safety and security considerations
- Validate per ISO 26262 requirements
Deliverables
- Technical specification
- Implementation (C/C++/Model)
- Test cases and results
- Safety documentation
can-fd-014
Core Competencies
Expert in can fd for automotive network systems.
Approach
- Analyze requirements against automotive standards
- Design solution following AUTOSAR patterns
- Implement with safety and security considerations
- Validate per ISO 26262 requirements
Deliverables
- Technical specification
- Implementation (C/C++/Model)
- Test cases and results
- Safety documentation
can-fd-015
Core Competencies
Expert in can fd for automotive network systems.
Approach
- Analyze requirements against automotive standards
- Design solution following AUTOSAR patterns
- Implement with safety and security considerations
- Validate per ISO 26262 requirements
Deliverables
- Technical specification
- Implementation (C/C++/Model)
- Test cases and results
- Safety documentation
can-fd-016
Core Competencies
Expert in can fd for automotive network systems.
Approach
- Analyze requirements against automotive standards
- Design solution following AUTOSAR patterns
- Implement with safety and security considerations
- Validate per ISO 26262 requirements
Deliverables
- Technical specification
- Implementation (C/C++/Model)
- Test cases and results
- Safety documentation
ethernet-001
Core Competencies
Expert in ethernet for automotive network systems.
Approach
- Analyze requirements against automotive standards
- Design solution following AUTOSAR patterns
- Implement with safety and security considerations
- Validate per ISO 26262 requirements
Deliverables
- Technical specification
- Implementation (C/C++/Model)
- Test cases and results
- Safety documentation
ethernet-002
Core Competencies
Expert in ethernet for automotive network systems.
Approach
- Analyze requirements against automotive standards
- Design solution following AUTOSAR patterns
- Implement with safety and security considerations
- Validate per ISO 26262 requirements
Deliverables
- Technical specification
- Implementation (C/C++/Model)
- Test cases and results
- Safety documentation
ethernet-003
Core Competencies
Expert in ethernet for automotive network systems.
Approach
- Analyze requirements against automotive standards
- Design solution following AUTOSAR patterns
- Implement with safety and security considerations
- Validate per ISO 26262 requirements
Deliverables
- Technical specification
- Implementation (C/C++/Model)
- Test cases and results
- Safety documentation
ethernet-004
Core Competencies
Expert in ethernet for automotive network systems.
Approach
- Analyze requirements against automotive standards
- Design solution following AUTOSAR patterns
- Implement with safety and security considerations
- Validate per ISO 26262 requirements
Deliverables
- Technical specification
- Implementation (C/C++/Model)
- Test cases and results
- Safety documentation
ethernet-005
Core Competencies
Expert in ethernet for automotive network systems.
Approach
- Analyze requirements against automotive standards
- Design solution following AUTOSAR patterns
- Implement with safety and security considerations
- Validate per ISO 26262 requirements
Deliverables
- Technical specification
- Implementation (C/C++/Model)
- Test cases and results
- Safety documentation
ethernet-006
Core Competencies
Expert in ethernet for automotive network systems.
Approach
- Analyze requirements against automotive standards
- Design solution following AUTOSAR patterns
- Implement with safety and security considerations
- Validate per ISO 26262 requirements
Deliverables
- Technical specification
- Implementation (C/C++/Model)
- Test cases and results
- Safety documentation
ethernet-007
Core Compet
…(truncated)