EP1399831A2 - Vorrichtung und verfahren zur umsetzung einer diagnoseschnittstelle auf standard-spi - Google Patents
Vorrichtung und verfahren zur umsetzung einer diagnoseschnittstelle auf standard-spiInfo
- Publication number
- EP1399831A2 EP1399831A2 EP02754180A EP02754180A EP1399831A2 EP 1399831 A2 EP1399831 A2 EP 1399831A2 EP 02754180 A EP02754180 A EP 02754180A EP 02754180 A EP02754180 A EP 02754180A EP 1399831 A2 EP1399831 A2 EP 1399831A2
- Authority
- EP
- European Patent Office
- Prior art keywords
- input
- data
- electronic unit
- output
- microprocessor
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- F—MECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
- F02—COMBUSTION ENGINES; HOT-GAS OR COMBUSTION-PRODUCT ENGINE PLANTS
- F02D—CONTROLLING COMBUSTION ENGINES
- F02D41/00—Electrical control of supply of combustible mixture or its constituents
- F02D41/24—Electrical control of supply of combustible mixture or its constituents characterised by the use of digital means
- F02D41/26—Electrical control of supply of combustible mixture or its constituents characterised by the use of digital means using computer, e.g. microprocessor
- F02D41/28—Interface circuits
-
- F—MECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
- F02—COMBUSTION ENGINES; HOT-GAS OR COMBUSTION-PRODUCT ENGINE PLANTS
- F02D—CONTROLLING COMBUSTION ENGINES
- F02D41/00—Electrical control of supply of combustible mixture or its constituents
- F02D41/22—Safety or indicating devices for abnormal conditions
-
- F—MECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
- F02—COMBUSTION ENGINES; HOT-GAS OR COMBUSTION-PRODUCT ENGINE PLANTS
- F02D—CONTROLLING COMBUSTION ENGINES
- F02D41/00—Electrical control of supply of combustible mixture or its constituents
- F02D41/24—Electrical control of supply of combustible mixture or its constituents characterised by the use of digital means
- F02D41/26—Electrical control of supply of combustible mixture or its constituents characterised by the use of digital means using computer, e.g. microprocessor
- F02D41/266—Electrical control of supply of combustible mixture or its constituents characterised by the use of digital means using computer, e.g. microprocessor the computer being backed-up or assisted by another circuit, e.g. analogue
Definitions
- the invention relates to a device and a method for converting a diagnostic interface to standard SPI.
- Control devices in motor vehicles are used, for example, to control ignition output stages external to the control device.
- the control devices are usually controlled by a microprocessor.
- a function monitoring i.e. Read out status reports and diagnostic information from the control unit, evaluate them and, if necessary, then initiate appropriate measures.
- Diagnostic device that can be connected to one another at an interface. Furthermore, a test device is provided which, instead of the diagnostic device, can be connected to the test device via the interface.
- the device described represents a simple device for testing a motor vehicle system. It enables the user to make a statement as to whether there is a fault in the diagnostic device or within the test device.
- the device has at least one fault detection logic connected in parallel with the output stage.
- a reference potential is applied to the connection point between the switch and the consumer.
- the potentials of the input and output terminals of the output stage and the reference potential can be applied to the error detection logic. Based on the potentials present, the fault detection logic distinguishes between the short-circuit to positive pole, load drop and short-circuit to earth errors.
- an additional circuit is provided for storing the error status and reading in an error log by a control unit.
- the conventional diagnostic interface has a data input, a data output, an input for the clock signal (CLK) and an input for synchronization (SYNC).
- CLK clock signal
- SYNC input for synchronization
- the SPI interface (serial peripheral interface) now enables, for example, communication between a microprocessor and an electronic unit, such as an IC.
- Communication begins by setting a synchronization input of the electronic unit through the microprocessor with a so-called slave select (SS).
- SS slave select
- the synchronization input is usually set to "low” in order to start communication.
- the clock signal (CLK) is then applied, with which the data transmission is synchronized.
- the data input of the electrical unit is called MOSI (mater out slave in) and the data output MISO (master in slave out).
- the SPI interface is supported by microcontrollers or microprocessors. Sending and receiving is done by writing and reading registers.
- the operation of the diagnostic interface either leads to the programming of waiting loops in order to comply with the bit times, or to the operation in a 1 ms grid, for example, to a function call per bit. This ties up a lot of microprocessor resources, which of course should be avoided.
- the diagnostic interface used is located in the control unit and, in the event of a fault, is used to provide repair work with assistance in troubleshooting. Furthermore, errors can be reacted to while driving. Errors that are recognized are, for example, errors in gasoline injection. For example, gasoline injection for a cylinder can be hidden if it is determined that no spark is being generated for it. Another option is to hide the bar control.
- the diagnostic interface has a data input, a data output, an input for the clock signal and an input for synchronization.
- the protocol of the diagnostic interface is very similar to the protocol of the SPI interface. So with the synchronization line (SYNC) at the diagnostic interface or the slave select signal (SS) the block is addressed to the SPI interface and the diagnostic registers are saved or output. Like MISO at the SPI, the data output of the diagnostic interface sends the data to the microprocessor.
- SYNC synchronization line
- SS slave select signal
- the data input of the diagnostic interface differs from the MOSI of the SPI interface. While the data input of the diagnostic interface is used to cascade different slave modules, the MOSI is to write data from the microprocessor into the slave module (s). This function did not exist for blocks with the diagnostic interface.
- the data output is pulled to "low ⁇ " for ICs with a diagnostic interface .
- the output may only be active, ie "low” or "high”, if the block is addressed via SS.
- a buffer unit is therefore switched at the data output of the electronic unit. The output is then tri-state or active via a disable signal or activation signal. For that the
- the output for ICs with a diagnostic interface is opencollector.
- a pull-up resistor must therefore be provided at the data output of the electronic unit if, for reasons of the baud rate, the logic level at the data input is not sufficient or is not available.
- the SPI interface is usually designed for 2 to 5 Mbaud. Many ICs with a diagnostic interface are only designed for 500 kBaud. Therefore, the baud rate may have to be switched accordingly when accessing the diagnostic interface.
- the first data bit is output when the SY C is set. With SPI only with the clock edge. This means that the first data bit is lost when converting to SPI. Therefore, the
- Data output can be given to the data input.
- the cascading then sends the lost data bit at the end.
- the microprocessor must shift the received string by 1 bit or evaluate the bits accordingly.
- the device according to the invention for converting a diagnostic interface to standard SPI has an electronic unit, for example an IC of a control unit and a buffer unit.
- the electronic unit has a data input, a data output, a synchronization input, a clock input and a register, preferably a shift register.
- the diagnostic information that is to be read out is stored in the register.
- the buffer unit has a signal input, a signal output and an activation input.
- the data input and the data output of the electronic unit are connected to one another via a first data line.
- the data output of the electronic unit is connected to the signal input of the buffer unit via a second data line.
- the additional circuitry allows the electronic unit to be connected to the SPI interface of a microcontroller using a conventional diagnostic interface.
- the synchronization input of the electronic unit and the activation input of the buffer unit are connected to one another via a third data line. Both inputs can be set simultaneously by applying a signal using the microprocessor.
- the pullup i.e. the logical level at the data input of the electronic unit is insufficient or is not present is preferred, since the data output is open collector, a pull-up resistor is switched at the data output.
- the device according to the invention it can be cascaded.
- the data output of the last slave block is transferred to the data input of the first slave block.
- the method according to the invention for converting a diagnostic interface to standard SPI can be carried out using a device as described above and a microprocessor. First the microprocessor sets the
- Synchronization input of the electronic unit and the activation input of the buffer unit i.e. the microprocessor applies an active signal to these inputs.
- the inputs are advantageously connected to one another, so that a signal from the microprocessor sets the two addressed inputs simultaneously.
- a clock signal is also applied to the clock input of the electronic unit. Synchronized with this clock signal, the data is stored or output in the shift register.
- the data from the shift register are then output via the buffer unit that is activated and read in by the microprocessor via the MISO.
- the first data bit is sent via the first data line from the data output to the data input and is thus sent at the end.
- the microprocessor evaluates the data bits read accordingly, for example by shifting the received string by 1 bit.
- the additional circuitry allows ICs to be connected to the SPI interface using the conventional diagnostic interface. This means that ICs for which there is no reason for a redesign apart from the interface can continue to be used.
- the electronic unit is designed for a baud rate that does not correspond to that of the SPI interface of the microprocessor, this is expediently Baud rate switched accordingly on the part of the microprocessor.
- a computer program according to the invention comprises all program code means in order to carry out all steps of the method according to the invention.
- the computer program can be stored on suitable data carriers, such as EEPROMs, flash memories, but also CD-ROMs, floppy disks or hard disk drives.
- the computer program is processed by an electronic computing unit, here for example the microprocessor.
- Figure 1 shows a preferred embodiment of the device according to the invention in a schematic
- Figure 2 shows a preferred embodiment of the method according to the invention in the flow chart.
- FIG. 1 shows a device according to the invention in a schematic representation.
- An electronic unit generally designated 10, a pull-up resistor 11 and a buffer unit 12 can be seen.
- the electronic unit 10 is used to control ignition output stages external to the control unit. In this case, there is no need to send data from the microprocessor to the electronic unit 10.
- the SPI should be used to diagnose the electrical unit 10, which are read out in a diagnostic register 13, typically a shift register, in which the electronic unit 10 is stored.
- the electronic unit 10 would only have to be revised because of the interface. In addition to development costs, costs arise from the administration of a second type part number and the number of pieces.
- a single gate can serve as the buffer unit 12.
- the pullup resistor 11 should - if required at all - be in the range of 10 kOhm, depending on the desired baud rate.
- the electronic unit 10 has a data input 14, a synchronization input 15, a clock input 16 and a data output 17.
- the data output 17 is connected to the data input 14 via a first data line 18.
- Pull-up resistor 11 is provided at data output 17 and is connected between data output 17 and supply voltage VCC.
- the electronic unit 10 has a number of inputs, which are designated here with INI to IN6, and a series of outputs, here with OUT1 to OUT6.
- the inputs are used for communication with the microprocessor. They represent a parallel interface.
- the outputs are used, for example, to control ignition output stages.
- the buffer unit 12 has a signal input 19, a signal output 20 and an activation input 21.
- the signal input 19 of the buffer unit 12 is connected to the data output 17 of the electronic unit 10 via a second data line 22.
- Activation input 21 is connected to the synchronization input 15 of the electronic unit 10 via a third data line 23.
- the signal output 20 serves as MISO. This means that the diagnostic data of the electronic unit are read out via the signal output 20.
- the method according to the invention is shown in FIG. 2 using a flow chart.
- Synchronization input 13 set. This addresses the electronic unit 10 and at the same time activates the buffer unit 12.
- a clock signal is applied. This is used to synchronize the data input and output.
- the data bits are output via MISO, the first data bit being output last.
- the data bit which represents diagnostic information, is evaluated accordingly by the microprocessor.
- SPI interface by ICs with a standard interface has proven to be advantageous. So it is possible to support the hardware of the SPI Interface. Pins on the microprocessor can also be saved. It is particularly advantageous that ICs with a conventional diagnostic interface can continue to be used if there are no other functional reasons that make it necessary to revise the IC.
Abstract
Description
Claims
Applications Claiming Priority (3)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
DE10128753A DE10128753A1 (de) | 2001-06-13 | 2001-06-13 | Vorrichtung und ein Verfahren zur Umsetzung einer Diagnoseschnittstelle auf Standard-SPI |
DE10128753 | 2001-06-13 | ||
PCT/DE2002/002023 WO2002101349A2 (de) | 2001-06-13 | 2002-06-04 | Vorrichtung und ein verfahren zur umsetzung einer diagnoseschnittstelle auf standard-spi |
Publications (2)
Publication Number | Publication Date |
---|---|
EP1399831A2 true EP1399831A2 (de) | 2004-03-24 |
EP1399831B1 EP1399831B1 (de) | 2005-03-16 |
Family
ID=7688191
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
EP02754180A Expired - Lifetime EP1399831B1 (de) | 2001-06-13 | 2002-06-04 | Vorrichtung und verfahren zur umsetzung einer diagnoseschnittstelle auf standard-spi |
Country Status (5)
Country | Link |
---|---|
US (1) | US7188010B2 (de) |
EP (1) | EP1399831B1 (de) |
JP (1) | JP4394438B2 (de) |
DE (2) | DE10128753A1 (de) |
WO (1) | WO2002101349A2 (de) |
Families Citing this family (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7823015B2 (en) * | 2001-02-20 | 2010-10-26 | Siemens Aktiengesellschaft | Method and device for determining a full error description for at least on part of a technical system computer program element and computer-readable storage medium |
DE102007008383A1 (de) | 2007-02-21 | 2008-08-28 | Robert Bosch Gmbh | Steuergerät für den Personenschutz und Verfahren zur Ansteuerung von Mitteln zum Personenschutz |
DE102007018830A1 (de) * | 2007-04-20 | 2008-12-24 | Continental Automotive Gmbh | Anordnung zur Datenübertragung |
TWI369610B (en) * | 2008-04-25 | 2012-08-01 | Novatek Microelectronics Corp | Serial peripheral interface (spi) circuit and display using the same |
DE102009028103A1 (de) | 2009-07-30 | 2011-02-03 | Robert Bosch Gmbh | Verfahren zur Durchführung einer Kommunikation |
WO2017183555A1 (ja) * | 2016-04-19 | 2017-10-26 | 日本精機株式会社 | 車両用表示装置 |
CN113534995B (zh) * | 2021-06-24 | 2023-02-28 | 合肥松豪电子科技有限公司 | 一种spi接口共用的tddi芯片 |
Family Cites Families (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
DE4012109C2 (de) * | 1990-04-14 | 1999-06-10 | Bosch Gmbh Robert | Vorrichtung zur Funktionsüberwachung eines elektrischen/elektronischen Schaltmittels, seines angeschlossenen Verbrauchers, einer Ansteuerung und seiner Verbindungsleitung |
DE4032926A1 (de) | 1990-10-17 | 1992-04-23 | Bosch Gmbh Robert | Vorrichtung zum pruefen eines kraftfahrzeugtestsystems |
JP3801247B2 (ja) * | 1994-12-23 | 2006-07-26 | エスティーマイクロエレクトロニクス,インコーポレイテッド | 電気装置再起動回路 |
IT1291499B1 (it) | 1997-02-05 | 1999-01-11 | Magneti Marelli Spa | Dispositivo atto a consentire la condivisione di una linea di comunicazione |
DE19733748C2 (de) * | 1997-08-04 | 1999-07-15 | Bosch Gmbh Robert | Datenübertragungsvorrichtung |
US6813777B1 (en) * | 1998-05-26 | 2004-11-02 | Rockwell Collins | Transaction dispatcher for a passenger entertainment system, method and article of manufacture |
DE19837242C1 (de) * | 1998-08-17 | 2000-03-02 | Siemens Ag | Bussystem in einem Fahrzeug und Verfahren zur Übertragung von Nachrichten |
US7248597B2 (en) * | 2001-05-02 | 2007-07-24 | Nvidia Corporation | General purpose input/output controller |
-
2001
- 2001-06-13 DE DE10128753A patent/DE10128753A1/de not_active Withdrawn
-
2002
- 2002-06-04 EP EP02754180A patent/EP1399831B1/de not_active Expired - Lifetime
- 2002-06-04 DE DE50202492T patent/DE50202492D1/de not_active Expired - Lifetime
- 2002-06-04 WO PCT/DE2002/002023 patent/WO2002101349A2/de active IP Right Grant
- 2002-06-04 JP JP2003504062A patent/JP4394438B2/ja not_active Expired - Fee Related
- 2002-06-04 US US10/477,812 patent/US7188010B2/en not_active Expired - Fee Related
Non-Patent Citations (1)
Title |
---|
See references of WO02101349A2 * |
Also Published As
Publication number | Publication date |
---|---|
DE10128753A1 (de) | 2002-12-19 |
WO2002101349A3 (de) | 2004-01-15 |
JP4394438B2 (ja) | 2010-01-06 |
US20040139369A1 (en) | 2004-07-15 |
US7188010B2 (en) | 2007-03-06 |
WO2002101349A2 (de) | 2002-12-19 |
JP2004533070A (ja) | 2004-10-28 |
EP1399831B1 (de) | 2005-03-16 |
DE50202492D1 (de) | 2005-04-21 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
DE3942661C2 (de) | ||
EP0895682B1 (de) | Bussystem für die übertragung von nachrichten | |
DE2335785A1 (de) | Schaltungsanordnung zum pruefen einer matrixverdrahtung | |
DE102016220197A1 (de) | Verfahren zum Verarbeiten von Daten für ein automatisiertes Fahrzeug | |
DE3001331A1 (de) | Einrichtung zum seriellen uebertragenvon daten in und/oder aus einem kraftfahrzeug | |
DE3501194C2 (de) | Verfahren und Vorrichtung zum Datenaustausch zwischen Mikroprozessoren | |
DE2508716A1 (de) | Pruefmodul fuer komplexes pruefsystem | |
EP1399831B1 (de) | Vorrichtung und verfahren zur umsetzung einer diagnoseschnittstelle auf standard-spi | |
EP0920154A2 (de) | Verfahren und Schaltungsanordnung zur selektiven digitalen seriellen Übertragung | |
DE19515194A1 (de) | Kommunikationsnetzwerk und Steuervorrichtung für ein Fahrzeug | |
DE2534454A1 (de) | Schaltungspruefgeraet | |
DE10040050A1 (de) | Prümodul | |
DE10155847A1 (de) | Verfahren zur Diagnose von Endstufen in Steuergeräten | |
EP0338290B1 (de) | Verfahren zum Laden einer für den Betrieb einer mikroprozessorgesteuerten elektrischen Einrichtung erforderlichen Betriebs-Steuerbefehlsfolge | |
DE10330037B3 (de) | Adapterkarte zum Anschließen an einen Datenbus in einer Datenverarbeitungseinheit und Verfahren zum Betreiben eines DDR-Speichermoduls | |
EP0090162B1 (de) | Zweikanaliges Fail-Safe-Mikrocomputerschaltwerk, insbesondere für Eisenbahnsicherungsanlagen | |
DE4223398C2 (de) | Verfahren und Vorrichtung zur Programmierung von nichtflüchtigen Speichern | |
DE3308610C2 (de) | ||
DE19543817C2 (de) | Verfahren und Anordnung zum Prüfen und Überwachen der Arbeitsweise wenigstens zweier Datenverarbeitungseinrichtungen mit Rechnerstruktur | |
EP0088916A1 (de) | Schaltungsanordnung zum Prüfen von elektrischen, insbesondere elektronischen Einrichtungen | |
EP0410117A2 (de) | Verfahren zur Erhöhung der Sicherheit der Signalübertragung in Gleisstromkreisen sowie Schaltungsanordnung zur Durchführung des Verfahrens | |
DE2606669C2 (de) | Verfahren zum Testen digitaler Systeme und Vorrichtung zur Durchführung des Verfahrens | |
DE2524957C3 (de) | Anordnung zur Auswahl von Ein- und Ausgabeeinheiten mittels Adressen | |
WO2006069734A1 (de) | Testgerät zum einsatz in einem testsystem zur überprüfung von übertragungsvorgängen innerhalb eines mobilfunknetzes sowie verfahren zum betrieb eines derartigen testgeräts | |
DE19946548A1 (de) | Verfahren und Vorrichtung zur Auswahl von unterschiedlichen Funktionen zur Realisierung an einem Anschluß einer Steuereinheit |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PUAI | Public reference made under article 153(3) epc to a published international application that has entered the european phase |
Free format text: ORIGINAL CODE: 0009012 |
|
AK | Designated contracting states |
Kind code of ref document: A2 Designated state(s): AT BE CH CY DE DK ES FI FR GB GR IE IT LI LU MC NL PT SE TR |
|
17P | Request for examination filed |
Effective date: 20040715 |
|
GRAP | Despatch of communication of intention to grant a patent |
Free format text: ORIGINAL CODE: EPIDOSNIGR1 |
|
GRAS | Grant fee paid |
Free format text: ORIGINAL CODE: EPIDOSNIGR3 |
|
GRAA | (expected) grant |
Free format text: ORIGINAL CODE: 0009210 |
|
AK | Designated contracting states |
Kind code of ref document: B1 Designated state(s): DE FR GB |
|
REG | Reference to a national code |
Ref country code: GB Ref legal event code: FG4D Free format text: NOT ENGLISH |
|
REG | Reference to a national code |
Ref country code: IE Ref legal event code: FG4D Free format text: GERMAN |
|
REF | Corresponds to: |
Ref document number: 50202492 Country of ref document: DE Date of ref document: 20050421 Kind code of ref document: P |
|
GBT | Gb: translation of ep patent filed (gb section 77(6)(a)/1977) |
Effective date: 20050711 |
|
PLBE | No opposition filed within time limit |
Free format text: ORIGINAL CODE: 0009261 |
|
STAA | Information on the status of an ep patent application or granted ep patent |
Free format text: STATUS: NO OPPOSITION FILED WITHIN TIME LIMIT |
|
ET | Fr: translation filed | ||
26N | No opposition filed |
Effective date: 20051219 |
|
PGFP | Annual fee paid to national office [announced via postgrant information from national office to epo] |
Ref country code: GB Payment date: 20130620 Year of fee payment: 12 |
|
PGFP | Annual fee paid to national office [announced via postgrant information from national office to epo] |
Ref country code: FR Payment date: 20140617 Year of fee payment: 13 |
|
GBPC | Gb: european patent ceased through non-payment of renewal fee |
Effective date: 20140604 |
|
PG25 | Lapsed in a contracting state [announced via postgrant information from national office to epo] |
Ref country code: GB Free format text: LAPSE BECAUSE OF NON-PAYMENT OF DUE FEES Effective date: 20140604 |
|
REG | Reference to a national code |
Ref country code: FR Ref legal event code: ST Effective date: 20160229 |
|
PG25 | Lapsed in a contracting state [announced via postgrant information from national office to epo] |
Ref country code: FR Free format text: LAPSE BECAUSE OF NON-PAYMENT OF DUE FEES Effective date: 20150630 |
|
PGFP | Annual fee paid to national office [announced via postgrant information from national office to epo] |
Ref country code: DE Payment date: 20170809 Year of fee payment: 16 |
|
REG | Reference to a national code |
Ref country code: DE Ref legal event code: R119 Ref document number: 50202492 Country of ref document: DE |
|
PG25 | Lapsed in a contracting state [announced via postgrant information from national office to epo] |
Ref country code: DE Free format text: LAPSE BECAUSE OF NON-PAYMENT OF DUE FEES Effective date: 20190101 |