SNIP_CLASSIC_LIN_SECTION_7_5_Status_Management
Wortlaut
7.5 Status Management
The LIN Interface has to be able to report communication errors on the bus in the same manner as the ISO 17987 specifications describe. However, the reporting is different. There is an internal reporting within the own node (by using the API call l_ifc_read_status defined in the ISO 17987-5 specification [21]) that sets the Error_in_response (not to be confused with the slave signal response_error) and the Successful_transfer bits. The strategy here is only to report errors and not to monitor successful transfers. The conditions for the Error_in_response will be set in the LIN Interface in the same way as described in the ISO 17987 specifications but not reported in the same way. How the Error_in_response is handled is described in chapters Section 7.1.2.1.3 and Section 7.1.3.1.2 for master nodes respectively Section 7.1.2.2.2 and Section 7.1.3.2.2 for slave nodes. 7.5.1 response_error signal (Slave only) This section is only applicable to LIN slave nodes. The response_error signal is a one bit scalar signal that is published by each slave to the master node in one of its transmitted Unconditional frames. It is used to report the communication status to the LIN cluster.
[SWS_LinIf_00763] Upstream requirements: SRS_Lin_01595
⌈The LIN Interface shall provide the autonomous handling of the response_error signal on each slave channel.⌋ Note: The configuration needs to ensure that LinIf is the only user that has write-access to the response_error signal.
[SWS_LinIf_00764] Upstream requirements: SRS_Lin_01595
⌈The LIN Interface shall call the function Com_SendSignal to update the value of the response_error signal.⌋ The conditions under which to set the response_error signal are defined in
[SWS_LinIf_00736] and [SWS_LinIf_00744]. The condition under which to clear the response_error signal is defined in
[SWS_LinIf_00747].
[SWS_LinIf_00765] ⌈Each time the response_error signal value has changed, the LIN Interface shall call the function <User_ResponseErrorSignalChanged> with the current value of the response_error signal.⌋
[SWS_LinIf_00766]
⌈The support of function <User_ResponseErrorSignalChanged> is optional and enabled at pre-compile time by the configuration parameter LinIfResponseErrorSignalChangedCallout.⌋
Versionen & Provenienz · Zugeordnete Anforderungen
Diese Angaben zeigt der Versions-Explorer.
Begründung & Zuweisungs-Evidenz
Response error signal changed callback definition
Dokumenten-Herkunft & Rückverfolgbarkeit
| Spezifikations-Dokument | SWS_LINInterface.pdf |
|---|---|
| Dokumentseite | Seite 58 |
| Ziel-Modul | lin (classic) |
| Ziel-Anforderung | SWS_LinIf_00856 |
| Semantische Rolle | heuristic |
| Automatisierungs-Konfidenz | 0.80 |