Download as pptx, pdf, or txt
Download as pptx, pdf, or txt
You are on page 1of 20

Communication

(COM)

1. Layered Software Architecture


2. Communication (Com)
2.1 Transmission
2.2 Reception
2.3 Gateway

Documented by: ThuongT


©FPT SOFTWARE -- Internal Use 1
1. Layered Software Architecture

2
Communication stack

Within the AUTOSAR Layered Architecture the AUTOSAR COM


module is placed between RTE and the PDU Router 3
MESSAGE

• MESSAGEPROPERTY

• NOTIFICATION

• NOTIFICATIONERROR

©FPT SOFTWARE - Corporate Training Center - Internal Use 4


MESSAGEPROPERTY

©FPT SOFTWARE - Corporate Training Center - Internal Use 5


2. Communication (Com)
Functionality:
+ Provision of signal oriented data interface for
RTE the RTE
Signals
+ Packing of AUTOSAR signals to I-PDUs to
be transmitted
COM
+ Unpacking of received I-PDUs and provision
I-PDU
of received signals to RTE
PDUR + Routing of signals from received I-PDUs into
I-PDUs to become transmitted
+ Support of large and dynamic length data
types
6
Com: Transmission

7
Com: Endianess conversion
Big-endian: Motorola (0) Little-endian: Intel (1)

8
Com: Com_SendSignalGroup & Shadow Buffer

• Example with two group signals signal_a and signal_b, which


belong to group_x:

/* copy a to shadow buffer */


Com_SendSignal (signal_a, &a);

/* copy b to shadow buffer */


Com_SendSignal (signal_b, &b);

/* copy shadow buffer to I-PDU */


Com_SendSignalGroup (group_x);

©FPT SOFTWARE - Corporate Training Center - Internal Use 9


Direct Transmission Mode

10
Direct Transmission Mode

11
Periodic Transmission Mode

12
Mixer Transmission Mode

13
Com: Reception

14
Reception : Software filtering
The following attributes are
used by the set of filter
algorithms:
- new_value: current value
of the message

- old_value: last value of


the message (initialized
with the initial value of the
message, updated with
new_value if the new
message value is not
filtered out)

- mask, x, min, max,


period, offset: constant
values; and

- occurrence: a count of
the number of occurrences
of this message.

15
Com: Large data types
Transmission:
COM

16
Com: Large data types
Reception: COM

17
Com: Gateway

18
Related &Reference documentation:
• Specification of Communication
• ISO 17356-4:2005 Road vehicles -- Open interface for
embedded automotive
applications -- Part 4: OSEK/VDX Communication (COM)
• Specification of Pdu Router

19
Thank you!

20

You might also like