← Tatvon curriculum
PRACTICE LABSEngineering system understanding
Private build
LEARN → CONFIGURE → VERIFY → DEBUG

Practical engineering investigations.
Real engineering depth.

Five production-style lessons showing how Tatvon turns theory into architecture, code, configuration, measurement, failure isolation and interview-ready explanation.

Core AUTOSAR · 45 min

COM signal to CAN frame

Trace one application value through every software boundary and diagnose why it does not reach the bus.

01 · UNDERSTAND

What exactly are we learning?

THE CONCEPTHow one vehicle signal becomes a CAN frame
WHY IT MATTERSA value can be correct inside the SWC and still disappear at a disabled or incorrectly mapped boundary.
AFTER THIS LESSONYou will identify which module owns data, packing, routing, channel state and hardware transmission.

The SWC writes a data element through RTE. COM applies signal rules and packs it into an I-PDU. PduR selects the route, CanIf selects the L-PDU and controller, and the CAN Driver requests hardware transmission.

Com_SendSignal updates the signal buffer. Transmission depends on transfer property, transmission mode, I-PDU group state, minimum delay time and the cyclic COM main function.

STEP 01 · SWC

Runnable calculates VehicleMode = SPORT and calls Rte_Write.

Evidence: Debugger: runnable executed; value = 0x02.

02 · CONFIGURE

What the engineer sets

  1. Map the SWC data element to a SystemSignal and COM signal.
  2. Set bit position, length, endianness, initial value and transfer property.
  3. Configure I-PDU, transmission mode, repetition and minimum delay time.
  4. Create PduR routes and CanIf Tx PDU mapping.
  5. Start the I-PDU group and enable the ComM channel through BswM.
TOOL PRACTICE

Review COM/PduR/CanIf references in EB tresos or DaVinci. In CANoe, filter the CAN ID, decode the signal and compare request-to-frame timing.

EB tresosDaVinciCANoeWireshark
03 · VERIFY

Observe every boundary

01Rte_Write return
02COM buffer and group
03PduR route ID
04CanIf PDU mode
05CAN Tx confirmation
06CANoe timestamp
04 · DEBUG · COMPLETE ROOT-CAUSE WALKTHROUGH

SPORT-mode gateway signal is present on the source bus and inside the application, but absent from the destination CAN bus only in SPORT mode.

EXPECTED

After the mode change, CAN ID 0x5A2 should transmit within the configured cycle time.

OBSERVED

Rte_Write returns OK and the COM signal buffer changes, but no PduR transmit call and no 0x5A2 frame appear.

Known good evidenceFirst broken contractRoot causeVerification
01

Confirm the symptom with one synchronized capture

Evidence found: Source frame present; destination 0x5A2 absent only in SPORT.

Decision: The source ECU and physical destination bus are not the first suspect.

02

Prove application and RTE execution

Evidence found: Runnable executes; VehicleMode=0x02; Rte_Write=OK.

Decision: Move the boundary to COM.

03

Inspect COM runtime gates

Evidence found: Signal buffer updates, but SPORT Tx I-PDU group state = STOPPED.

Decision: This is the first missing enabling condition.

04

Compare NORMAL and SPORT configuration

Evidence found: NORMAL action list starts the group; SPORT action list omits it.

Decision: Configuration delta explains the mode-specific failure.

05

Confirm downstream health

Evidence found: Manually starting the group causes PduR, CanIf and Can_Write activity.

Decision: Downstream routing and hardware are healthy.

ROOT CAUSE

A late BswM configuration change omitted Com_IpduGroupStart for the SPORT-mode action list.

CORRECTION

Restore the SPORT action, regenerate configuration, review all drive-mode I-PDU group transitions and add a mode-switch integration test.

PROOF OF FIX

Repeat 100 mode transitions; confirm group STARTED, frame 0x5A2 present, timing within budget and no DET/DEM side effects.

05 · EXPLAIN

Does Com_SendSignal always put a frame on CAN immediately?

No. It updates COM data and may trigger transmission only when configuration and runtime gates permit it. Packing, routing, CanIf state, driver availability and confirmation remain separate responsibilities.

06 · ASSESS

The signal changes but its I-PDU group is stopped. What happens first?