WO2002101349A2 - Vorrichtung und ein verfahren zur umsetzung einer diagnoseschnittstelle auf standard-spi - Google Patents
Vorrichtung und ein verfahren zur umsetzung einer diagnoseschnittstelle auf standard-spi Download PDFInfo
- Publication number
- WO2002101349A2 WO2002101349A2 PCT/DE2002/002023 DE0202023W WO02101349A2 WO 2002101349 A2 WO2002101349 A2 WO 2002101349A2 DE 0202023 W DE0202023 W DE 0202023W WO 02101349 A2 WO02101349 A2 WO 02101349A2
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- input
- data
- electronic unit
- output
- microprocessor
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims description 12
- 230000004913 activation Effects 0.000 claims abstract description 11
- 238000004590 computer program Methods 0.000 claims description 7
- 238000012360 testing method Methods 0.000 description 7
- 238000004891 communication Methods 0.000 description 5
- 230000006870 function Effects 0.000 description 5
- 230000008901 benefit Effects 0.000 description 3
- 238000001514 detection method Methods 0.000 description 3
- 238000002347 injection Methods 0.000 description 2
- 239000007924 injection Substances 0.000 description 2
- 238000012544 monitoring process Methods 0.000 description 2
- 230000001360 synchronised effect Effects 0.000 description 2
- 230000005540 biological transmission Effects 0.000 description 1
- 239000000969 carrier Substances 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000003745 diagnosis Methods 0.000 description 1
- 230000015654 memory Effects 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 230000008569 process Effects 0.000 description 1
- 230000008439 repair process Effects 0.000 description 1
- 238000013024 troubleshooting Methods 0.000 description 1
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.
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Computer Hardware Design (AREA)
- Chemical & Material Sciences (AREA)
- Combustion & Propulsion (AREA)
- Mechanical Engineering (AREA)
- Microelectronics & Electronic Packaging (AREA)
- Test And Diagnosis Of Digital Computers (AREA)
- Tests Of Electronic Circuits (AREA)
- Communication Control (AREA)
Abstract
Description
Claims
Priority Applications (4)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
EP02754180A EP1399831B1 (de) | 2001-06-13 | 2002-06-04 | Vorrichtung und verfahren zur umsetzung einer diagnoseschnittstelle auf standard-spi |
US10/477,812 US7188010B2 (en) | 2001-06-13 | 2002-06-04 | Device and method for converting a diagnostic interface to SPI standard |
DE50202492T DE50202492D1 (de) | 2001-06-13 | 2002-06-04 | Vorrichtung und verfahren zur umsetzung einer diagnoseschnittstelle auf standard-spi |
JP2003504062A JP4394438B2 (ja) | 2001-06-13 | 2002-06-04 | 診断インターフェイスを標準spiに変換する装置及び方法 |
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
DE10128753.4 | 2001-06-13 | ||
DE10128753A DE10128753A1 (de) | 2001-06-13 | 2001-06-13 | Vorrichtung und ein Verfahren zur Umsetzung einer Diagnoseschnittstelle auf Standard-SPI |
Publications (2)
Publication Number | Publication Date |
---|---|
WO2002101349A2 true WO2002101349A2 (de) | 2002-12-19 |
WO2002101349A3 WO2002101349A3 (de) | 2004-01-15 |
Family
ID=7688191
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/DE2002/002023 WO2002101349A2 (de) | 2001-06-13 | 2002-06-04 | Vorrichtung und ein 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 |
---|---|---|---|---|
WO2002067119A2 (de) * | 2001-02-20 | 2002-08-29 | Siemens Aktiengesellschaft | Verfahren und anordnung zur ermittlung einer gesamtfehlerbeschreibung zumindest eines teils eines technischen systems, computer programm-element und computerlesbares speichermedium |
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 |
EP3446927B1 (de) | 2016-04-19 | 2022-11-23 | Nippon Seiki Co., Ltd. | Fahrzeuganzeigevorrichtung |
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 DE DE50202492T patent/DE50202492D1/de not_active Expired - Lifetime
- 2002-06-04 US US10/477,812 patent/US7188010B2/en not_active Expired - Fee Related
- 2002-06-04 JP JP2003504062A patent/JP4394438B2/ja not_active Expired - Fee Related
- 2002-06-04 WO PCT/DE2002/002023 patent/WO2002101349A2/de active IP Right Grant
- 2002-06-04 EP EP02754180A patent/EP1399831B1/de not_active Expired - Lifetime
Also Published As
Publication number | Publication date |
---|---|
EP1399831A2 (de) | 2004-03-24 |
US20040139369A1 (en) | 2004-07-15 |
EP1399831B1 (de) | 2005-03-16 |
US7188010B2 (en) | 2007-03-06 |
JP2004533070A (ja) | 2004-10-28 |
DE50202492D1 (de) | 2005-04-21 |
DE10128753A1 (de) | 2002-12-19 |
JP4394438B2 (ja) | 2010-01-06 |
WO2002101349A3 (de) | 2004-01-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
DE2918053C2 (de) | ||
DE3942661C2 (de) | ||
DE69322372T2 (de) | Für zwei verschiedene Protokollstandards geeignete Schnittstellenschaltung zwischen einem Steuerbus und einer integrierten Schaltung | |
DE69301632T2 (de) | Verfahren zur Prüfung der Funktionsfähigkeit einer ASIC-Schaltung und darauf bezogene ASIC-Schaltung | |
DE602005006248T2 (de) | Datenkommunikationsmodul zur bereitstellung von fehlertoleranz und vergrösserter stabilität | |
DE2508716A1 (de) | Pruefmodul fuer komplexes pruefsystem | |
DE3501194C2 (de) | Verfahren und Vorrichtung zum Datenaustausch zwischen Mikroprozessoren | |
DE3001331A1 (de) | Einrichtung zum seriellen uebertragenvon daten in und/oder aus einem kraftfahrzeug | |
EP1399831B1 (de) | Vorrichtung und verfahren zur umsetzung einer diagnoseschnittstelle auf standard-spi | |
DE69905238T2 (de) | Einrichtung zur vollständigen Diagnose eines Treibers | |
DE10040050A1 (de) | Prümodul | |
DE10330037B3 (de) | Adapterkarte zum Anschließen an einen Datenbus in einer Datenverarbeitungseinheit und Verfahren zum Betreiben eines DDR-Speichermoduls | |
EP0338290A2 (de) | Verfahren zum Laden einer für den Betrieb einer mikroprozessorgesteuerten elektrischen Einrichtung erforderlichen Betriebs-Steuerbefehlsfolge | |
EP0090162B1 (de) | Zweikanaliges Fail-Safe-Mikrocomputerschaltwerk, insbesondere für Eisenbahnsicherungsanlagen | |
DE102016203270B3 (de) | Mikrocontroller und Verfahren zum Testen eines Mikrocontrollers | |
DE3308610C2 (de) | ||
DE69427277T2 (de) | Verfahren zur Programmierung und Prüfung eines nichtflüchtigen Speichers | |
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 | |
DE2524957C3 (de) | Anordnung zur Auswahl von Ein- und Ausgabeeinheiten mittels Adressen | |
DE2606669C2 (de) | Verfahren zum Testen digitaler Systeme und Vorrichtung zur Durchführung des Verfahrens | |
EP1745386B1 (de) | Steuerungsschaltung für eine busplatine eines computersystems | |
DE19946548A1 (de) | Verfahren und Vorrichtung zur Auswahl von unterschiedlichen Funktionen zur Realisierung an einem Anschluß einer Steuereinheit | |
DE4223398A1 (de) | Verfahren und Vorrichtung zur Programmierung von nichtflüchtigen Speichern | |
DE9005697U1 (de) | Integrierter Schaltkreis |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
AK | Designated states |
Kind code of ref document: A2 Designated state(s): JP US |
|
AL | Designated countries for regional patents |
Kind code of ref document: A2 Designated state(s): AT BE CH CY DE DK ES FI FR GB GR IE IT LU MC NL PT SE TR |
|
121 | Ep: the epo has been informed by wipo that ep was designated in this application | ||
DFPE | Request for preliminary examination filed prior to expiration of 19th month from priority date (pct application filed before 20040101) | ||
WWE | Wipo information: entry into national phase |
Ref document number: 2002754180 Country of ref document: EP |
|
WWE | Wipo information: entry into national phase |
Ref document number: 10477812 Country of ref document: US |
|
WWE | Wipo information: entry into national phase |
Ref document number: 2003504062 Country of ref document: JP |
|
WWP | Wipo information: published in national office |
Ref document number: 2002754180 Country of ref document: EP |
|
WWG | Wipo information: grant in national office |
Ref document number: 2002754180 Country of ref document: EP |