Lin — Requirements
Normative
Defines what a conformant LIN driver MUST do. Requirements are clustered by severity — expand a cluster below. Keywords per Requirement Keywords; conformance per Conformance. Requirements do not carry individual status — the set-level status applies to all of them. Signatures, error codes, and configuration properties are in the API Reference, Errors, and Configuration Reference pages. Cross-module rules (types, error model, naming, memory mapping) are in General.
Mandatory (MUST) - 19 Requirements
The conformance contract — an implementation MUST satisfy every requirement here.
CHI-LIN-MUST-01 — ISO 17987 compliance
|
The driver MUST implement LIN responder behavior in conformance with ISO 17987. |
CHI-LIN-MUST-02 — Driver lifecycle
|
The driver MUST power up in |
CHI-LIN-MUST-03 — Channel power-state transitions
|
Each channel MUST follow the state machine in Concepts. |
CHI-LIN-MUST-04 — Wakeup-call state restriction
|
|
CHI-LIN-MUST-05 — Header reception
|
In |
CHI-LIN-MUST-06 — Response transaction
|
Per the reaction returned by |
CHI-LIN-MUST-07 — PID evaluation
|
The driver MUST evaluate the received protected identifier and forward it to the upper
layer. Where the hardware cannot verify PID parity, the driver MUST NOT verify it in
software (it MAY report |
CHI-LIN-MUST-08 — Frame data byte mapping
|
The driver MUST map response data bytes byte 0 first between the bus and the SDU buffer. |
CHI-LIN-MUST-09 — Data consistency
|
Data passed to |
CHI-LIN-MUST-10 — Response sequence ordering
|
The driver MUST process a header and its response in order, and MUST set up reception of the next header before or when reporting completion of the current response. |
CHI-LIN-MUST-11 — Sleep-state wakeup detection
|
In |
CHI-LIN-MUST-12 — Event handling mode
|
For each channel, event handling MUST be configurable as interrupt or polling. In interrupt
mode |
CHI-LIN-MUST-13 — Upper-layer notifications
|
Whichever mode is configured, the driver MUST invoke the upper-layer callbacks for the
corresponding events: |
CHI-LIN-MUST-14 — LIN API surface and behavior
|
The driver MUST provide |
CHI-LIN-MUST-15 — Type contract
|
The driver MUST provide the LIN types |
CHI-LIN-MUST-16 — Development error definitions
|
The driver MUST define the development errors |
CHI-LIN-MUST-17 — Development error detection
|
When development error reporting is enabled, each API MUST detect the conditions listed in
Errors and report them via |
CHI-LIN-MUST-18 — Upper-layer callback contract
|
The driver MUST call the upper-layer interfaces |
CHI-LIN-MUST-19 — Configuration model
|
The driver MUST support the configuration model in Configuration Reference — a
|
Recommended (SHOULD) - 2 Requirements
Strongly advised; an implementation that deviates should understand the implications.
CHI-LIN-SHOULD-01 — Low-power mode in sleep
|
When a channel enters |
CHI-LIN-SHOULD-02 — Hardware setup around the wakeup pulse
|
After transmitting a wakeup pulse ( |