CLASSIC
Modul: comm
Rolle: constitutive
Konfidenz: 95%
SNIP_CLASSIC_COMM_SECTION_7_2_ComM_channel_state_machine
Wortlaut
7.2 ComM channel state machine
[SWS_ComM_00979] Upstream requirements: SRS_ModeMgm_09243
⌈If the optional PNC functionality is enabled (see [ECUC_ComM_00839]), all PNC actions shall be performed before the channel related actions are executed.⌋
[SWS_ComM_00980] Upstream requirements: SRS_ModeMgm_09243
⌈If the parameter ComMPncNmRequest is set to TRUE (see [ECUC_ComM_00886]), if the "FULL Communication" is requested due to a change in the PNC state machine to COMM_PNC_REQUESTED (see [SWS_ComM_01068]) API Nm_NetworkRequest() shall be called, even if the current state is already "Full communication".⌋ Rationale: It is the trigger to enable the NM to transmit the NM message immediately n-times (n=configurable) to ensure a wake up and a synchronization of the PNC transceiver.
[SWS_ComM_00051] Upstream requirements: SRS_ModeMgm_09080
⌈ComM shall implement one channel state machine for every communication channel independently.⌋ Note to [SWS_ComM_00051]: The channel state maching is shown in Figure 7.7 and an overview of the requirements for the channel state machine transtions is listed in Table 7.1 Rationale for [SWS_ComM_00051]: Needed communication capability of channels may be different, thus the controlling must be independent. Use Case for [SWS_ComM_00051]: On an ECU with CAN and LIN channel, only the LIN requires full communication to request e.g. sensor values while the CAN remains inactive. COMM_FULL_COMMUNICATION COMM_NO_COMMUNICATION COMM_SILENT_COMMUNICATION COMM_FULL_COM_READY_SLEEP COMM_FULL_COM_NETWORK_REQUESTED COMM_NO_COM_NO_PENDING_REQUEST COMM_NO_COM_REQUEST_PENDING
ComM_RequestComMode(<user>, COMM_FULL_COMMUNICATION) [Communication limitation disabled] ComM_RequestComMode(<user>, COMM_FULL_COMMUNICATION) [EcuM entered RUN for the channel] [CommunicationAllowed=TRUE] ComM_<Bus>SM_BusSleepMode(ChX) [ComMNmVariant = SLAVE_ACTIVE or SLAVE_PASSIVE] ComM_RequestComMode(<user>, COMM_FULL_COMMUNICATION) [Communication limitation disabled] ComM_Nm_BusSleepMode(ChX) ComM_RequestComMode(<user>, COMM_NO_COMMUNICATION) ComM_EcuM_PNCWakeUpIndication(PNC)or ComM_EcuM_WakeUpIndication(ChX) or ComM_Nm_RestartIndication(ChX) or ComM_Nm_NetworkStartIndication(ChX) No user request ComM_RequestComMode(<user>, COMM_FULL_COMMUNICATION [ComMNmVariant = SLAVE_ACTIVE] ComM_DCM_ActiveDiagnostic(ChX)
ComM_DCM_ActiveDiagnostic(ChX) ComM_RequestComMode(<user>, COMM_NO_COMMUNICATION) Timer ComMLightTimeout has expired [ComMNmVariant = LIGHT] ComM_RequestComMode(<user>, COMM_FULL_COMMUNICATION) [Communication limitation disabled] ComM_RequestComMode(<user>, COMM_FULL_COMMUNICATION) [Communication limitation enabled] [ComMBusType = COMM_BUS_TYPE_INTERNAL] [ComMNmVariant = PASSIVE | SLAVE_PASSIVE] ComM_DCM_ActiveDiagnostic(ChX)
ComM_Nm_NetworkMode(ChX) No user request ComM_RequestComMode(<user>, COMM_FULL_COMMUNICATION) and No ComM_DCM_ActiveDiagnostic(ChX) [ComMNmVariant = FULL] ComM_Nm_BusSleepMode(ChX) Communication limitation requested [No active Diagnostic on ChX] ComM_RequestComMode(<user>, COMM_NO_COMMUNICATION) ComM_Nm_PrepareBusSleepMode(ChX) Pending request for COMM_FULL_COMMUNICATION canceled Timer ComMTMinFullComModeDuration has expired No user request ComM_RequestComMode(<user>, COMM_FULL_COMMUNICATION) and No ComM_DCM_ActiveDiagnostic(ChX) [ComMNmVariant = LIGHT | NONE] ComM_RequestComMode(<user>, COMM_FULL_COMMUNICATION) Figure 7.7: ComM channel state machine State Section / Requirement COMM_NO_COMMUNICATION Chapter 7.2.2 Entering state: [SWS_ComM_00898],
[SWS_ComM_00313], [SWS_ComM_00073],
[SWS_ComM_00288] In sub-state COMM_NO_COM_NO_PENDING_REQUEST:
[SWS_ComM_00875], [SWS_ComM_00876],
[SWS_ComM_00893], [SWS_ComM_00894],
[SWS_ComM_00694], [SWS_ComM_01014],
[SWS_ComM_01015] In sub-state COMM_NO_COM_REQUEST_PENDING:
[SWS_ComM_00895] ,[SWS_ComM_00897] COMM_SILENT_COMMUNICATION Chapter 7.2.3 Entering state: [SWS_ComM_00071] In state: [SWS_ComM_00877], [SWS_ComM_00878]
[SWS_ComM_00295], [SWS_ComM_00296] COMM_FULL_COMMUNICATION Chapter 7.2.4 Entering state: [SWS_ComM_00069] In state: [SWS_ComM_00637], [SWS_ComM_00826] Chapter 7.2.4.1 sub-state COMM_FULL_COM_NETWORK_REQUESTED: In sub-state: [SWS_ComM_00869], [SWS_ComM_00870],
[SWS_ComM_00665], [SWS_ComM_00888],
[SWS_ComM_00889], [SWS_ComM_00890] Chapter 7.2.4.2 sub-state COMM_FULL_COM_READY_SLEEP Entering sub-state: [SWS_ComM_00133] In sub-state: [SWS_ComM_00610], [SWS_ComM_00671],
[SWS_ComM_00882], [SWS_ComM_00883] Transition Requirement COMM_NO_COMMUNICATION COMM_FULL_COMMUNICATION
[SWS_ComM_00893], [SWS_ComM_00894],
[SWS_ComM_00694], [SWS_ComM_00875]
[SWS_ComM_00876], [SWS_ComM_01014],
[SWS_ComM_01015] COMM_FULL_COM_NETWORK_REQUESTED COMM_FULL_ COM_READY_SLEEP
[SWS_ComM_00665] COMM_FULL_COM_READY_SLEEP COMM_FULL_COM_ NETWORK_REQUESTED
[SWS_ComM_00882], [SWS_ComM_00883] COMM_FULL_COMMUNICATION COMM_SILENT_ COMMUNICATION
[SWS_ComM_00826] COMM_FULL_COM_READY_SLEEP COMM_NO_ COMMUNICATION
[SWS_ComM_00610], [SWS_ComM_00671] COMM_FULL_COMMUNICATION COMM_NO_COMMUNICATION
[SWS_ComM_00637] COMM_SILENT_COMMUNICATION COMM_FULL_ COMMUNICATION
[SWS_ComM_00877], [SWS_ComM_00878] COMM_SILENT_COMMUNICATION COMM_FULL_COM_ READY_SLEEP
[SWS_ComM_00296] COMM_SILENT_COMMUNICATION COMM_NO_ COMMUNICATION
[SWS_ComM_00295] Table 7.1: Link to detailed explanation of the channel state machine resp. transition
[SWS_ComM_00879] Upstream requirements: SRS_ModeMgm_09083
⌈The ComM channel state machine shall consist of the three main states corresponding to the Communication Modes: COMM_NO_COMMUNICATION, COMM_SILENT_COMMUNICATION and COMM_FULL_COMMUNICATION.⌋
Versionen & Provenienz · Zugeordnete Anforderungen
Diese Angaben zeigt der Versions-Explorer.
Begründung & Zuweisungs-Evidenz
Cited verbatim in the snippet (deterministic citation).
Dokumenten-Herkunft & Rückverfolgbarkeit
| Spezifikations-Dokument | SWS_COMManager.pdf |
|---|---|
| Dokumentseite | Seite 65 |
| Ziel-Modul | comm (classic) |
| Ziel-Anforderung | SWS_ComM_01068 |
| Semantische Rolle | constitutive |
| Automatisierungs-Konfidenz | 0.95 |