KW71 Protocol Description
KW71 is part of the broader Keyword Protocol notes.
Background
Protocol exchange, called KeyWord Protocol KW-71, describes the interaction of diagnostic tools (DS) with electronic blocks BMW cars produced before 1995. The DS is used via propriatery BMW ADS cable connector, which stands for “Aktiven Diagnose Stecker” (see BMW Acronyms). These include model E30, E32, E34, E36.
KW-71 protocol is used on early Bosch Engine ECUs (BMW, Opel, Peugeot/Citroen, Volkswagen).
The protocol works by implementing two-line bus serial communication, using a shared 1-wire TxD/RxD busline.
The physical implementation of the Protocol (Keyword-9141) is based on the interaction of two lines, called K and L. In doing so, K-Line is a bidirectional data, and it can be transferred as of DS (Diagnostic Tool) in the car, and from the car to the DS (Diagnostic Tool). Line L is an unidirectional data line, for which data is transmitted only from diagnostic system in the car.
The data on the K and L lines are compatible with the common protocol description of RS232C. Levels of these signals indicates logical operations, meaning that: logical “0” corresponds to the line-circuiting “land”, and a logical “1” corresponds in line to the 12.
Getting Started
The protocol implements a listen-only mode by default, until awakened; which can be done sending a “WAKE UP” request on L-line (RxD).
In vehicle daignostics, the ECUs and other vehicle electronic blocks (EBU, ECM, ABS, Airbag) are all connected in parallel. All of them are inactive until the DS (Diagnostic Service) is instructed to activate the diagnostic features for a specified electronic block. This procedure sent to desired unit is called “WAKE UP” procedure.
Each vehicle has dignostic block which contains unique code (address), for example, EBU contains address 0x10 for engine. If the DS (Diagnostic Service) is going to connect with the EBU, the “WAKE UP” must be sent to the EBUs L-Line via this address, in a sequential code. Doing so allows DS to ensure low-speed diagnostic communication and exchange.
Protocol Description
Below are details of the KW-71 Protocol when addressing one of the DME’s in the BMW E31 850i (EML and EGS uses diff messages).
These ECUs support KW71 protocol:
- BMW DME 1.x
- BMW DME 3.x
- BMW DDE 1.x
Vehicle Bus Signal Data
Busline Operation
Establish Communication
Message Bytes
Thats it for now. See References below for more details.
References
- BMW E31 KW-71 Protocol
- KeyWord Protocol KW-71 Notes
- BMW ADS Technical Documentation (PDF)
- BMW Sensors Specification
Projects Implementation
- OBD2 COMM on K-Line DIY
- Circuit to convert K-Line to Full-Duplex UART
- BMW Instrument Cluster Communication, from RPi Car Audio
- @kaihara/kwp71scan