DE102004039219B3 - Timing adjustment circuit for interface, has microcontroller connected to an integrated circuit through series peripheral interface with both having a clock generator and with a calibration unit - Google Patents

Timing adjustment circuit for interface, has microcontroller connected to an integrated circuit through series peripheral interface with both having a clock generator and with a calibration unit Download PDF

Info

Publication number
DE102004039219B3
DE102004039219B3 DE200410039219 DE102004039219A DE102004039219B3 DE 102004039219 B3 DE102004039219 B3 DE 102004039219B3 DE 200410039219 DE200410039219 DE 200410039219 DE 102004039219 A DE102004039219 A DE 102004039219A DE 102004039219 B3 DE102004039219 B3 DE 102004039219B3
Authority
DE
Germany
Prior art keywords
signal
peripheral interface
spi
serial peripheral
microcontroller
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.)
Expired - Fee Related
Application number
DE200410039219
Other languages
German (de)
Inventor
Kuno Reis
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Infineon Technologies AG
Original Assignee
Infineon Technologies AG
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Infineon Technologies AG filed Critical Infineon Technologies AG
Priority to DE200410039219 priority Critical patent/DE102004039219B3/en
Application granted granted Critical
Publication of DE102004039219B3 publication Critical patent/DE102004039219B3/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/42Bus transfer protocol, e.g. handshake; Synchronisation
    • G06F13/4282Bus transfer protocol, e.g. handshake; Synchronisation on a serial bus, e.g. I2C bus, SPI bus
    • G06F13/4291Bus transfer protocol, e.g. handshake; Synchronisation on a serial bus, e.g. I2C bus, SPI bus using a clocked protocol

Abstract

A circuit comprises a microcontroller (mu C) connected to an IC through a series peripheral interface (SPI), both with clock generators (1, 2) giving signals (SCK , ICCLK) of frequencies (f1, f2) and a pulse generator. A device (7) calibrates the second clock generator (2) from the frequency of the first through the interface and calibrates the pulse. Independent claims are included for : (1) a method for operating a circuit arrangement with a microcontroller and IC linked by an SPI; and (2) use of the circuit or method of the invention for increasing the accuracy of a dither circuit in a current regulator IC with setpoint defined via an SPI.

Description

Die Erfindung betrifft eine Schaltungsanordnung mit einem Mikrocontroller und mit einem über ein Serial Peripheral Interface mit dem Mikrocontroller verbundenen integrierten Schaltkreis nach dem Oberbegriff des Patentanspruchs 1 sowie ein Verfahren zum Betrieb einer derartigen Schaltungsanordnung nach dem Oberbegriff des Patentanspruchs 10.The The invention relates to a circuit arrangement with a microcontroller and with one over one Serial Peripheral Interface connected to the microcontroller integrated circuit according to the preamble of the claim 1 and a method for operating such a circuit arrangement according to the preamble of claim 10.

Die Erfindung geht von einer Schaltungsanordnung mit einem Mikrocontroller und mit einem über ein Serial Peripheral Interface mit dem Mikrocontroller verbundenen integrierten Schaltkreis aus, bei der der Mikrocontroller einen ersten Taktgeber zum Erzeugen eines ersten oszillierenden Signals mit einer ersten Frequenz und der integrierte Schaltkreis einen zweiten Taktgeber zum Erzeugen eines zweiten oszillierenden Signals mit einer zweiten Frequenz aufweisen. Es wird davon ausgegangen, dass der Mikrocontroller und der integrierte Schaltkreis jeweils eine entsprechende Sende- und/oder Empfangseinrichtung zum Senden und/oder Empfangen von Daten über das Serial Peripheral Interface aufweisen.The The invention relates to a circuit arrangement with a microcontroller and with one over a serial peripheral interface connected to the microcontroller integrated circuit, in which the microcontroller a first clock for generating a first oscillating signal with a first frequency and the integrated circuit a second Clock for generating a second oscillating signal with have a second frequency. It is assumed that the Microcontroller and the integrated circuit each have a corresponding Transmitting and / or receiving device for transmitting and / or receiving Data about have the Serial Peripheral Interface.

Exemplarisch zeigen die 4 und 5 ein Blockschaltbild des Bausteins TLE 7209-2R der Infineon Technologies AG, München, welcher einen integrierten Schaltkreis der gattungsgemäßen Art repräsentiert, und dessen aus dem Stand der Technik bekannte Verschaltung mit einem Mikrocontroller μC.Exemplary show the 4 and 5 a block diagram of the device TLE 7209-2R Infineon Technologies AG, Munich, which represents an integrated circuit of the generic type, and its known from the prior art interconnection with a microcontroller .mu.C.

Der Baustein TLE 7209-2R ist dazu vorgesehen DC-Motoren und Steppermotoren anzusteuern.Of the Module TLE 7209-2R is intended for DC motors and stepper motors head for.

Je nach Art und Einsatz des integrierten Schaltkreises braucht dieser eine genaue Zeitbasis.ever according to the type and use of the integrated circuit this needs an exact timebase.

In Fällen, in denen die Frequenzgenauigkeit des Taktgebers des integrierten Schaltkreises (IC = Akronym für integrated circuit) nicht ausreichend ist, ist es gemäß dem Stand der Technik üblich, einen externen Quarzoszillator als Taktgeber vorzusehen. Bei manchen ICs sind jedoch keine Pins für einen Quarz vorgesehen und häufig ist eine entsprechende Verschaltung auch zu teuer, so dass diese Lösung oft ausscheidet.In cases in which the frequency accuracy of the clock of the integrated Circuit (IC = acronym for Integrated circuit) is not sufficient, it is in accordance with the state the technique is common, to provide an external crystal oscillator as a clock. For some However, ICs are not pins for a quartz provided and common an appropriate interconnection is also too expensive, so this solution often excretes.

Als Alternative ist gemäß dem Stand der Technik auch vorgesehen, dem IC einen externen Takt mit höherer Frequenzgenauigkeit einzuspeisen. Viele ICs weisen jedoch keinen entsprechenden Pin zur Einspeisung des externen Takts auf und/oder die Leistung eines vorhandenen Oszillators (z.B. des Taktgebers im Mikrocontroller) reicht nicht aus, um den IC mit dem entsprechenden Takt zu treiben und/oder die Verschaltung ist vergleichsweise kompliziert und/oder aufwändig und damit zu teuer, so dass auch diese Lösung nur in ganz bestimmten Fällen gewählt werden kann.When Alternative is according to the state The technology also provided the IC an external clock with higher frequency accuracy feed. However, many ICs do not have a corresponding pin Injecting the external clock on and / or the power of an existing one Oscillator (e.g., the clock in the microcontroller) is not enough to drive the IC with the appropriate clock and / or the Interconnection is comparatively complicated and / or complex and so too expensive, so even this solution only in very specific make chosen can be.

Die DE 196 00 569 A1 beschreibt ein Verfahren und eine Vorrichtung zur Impulsbreitenmessung, wobei mit Hilfe eines Taktgebers die Impulsbreite der Signale einer seriellen peripheren Schnittstelle gemessen wird.The DE 196 00 569 A1 describes a method and a device for pulse width measurement, wherein the pulse width of the signals of a serial peripheral interface is measured by means of a clock.

Die Aufgabe der Erfindung besteht demzufolge darin, eine Schaltungsanordnung umfassend einen Mikrocontroller und einen über ein Serial Peripheral Interface mit dem Mikrocontroller verbundenen integrierten Schaltkreis vorzustellen, bei der der integrierte Schaltkreis mit einer genaueren Zeitbasis betrieben werden kann, als sie von dem Taktgeber des integrierten Schaltkreises bereitgestellt werden kann. Darüber hinaus soll ein Verfahren zum Betrieb einer derartigen Schaltungsanordnung vorgestellt werden, welches universell einsetzbar und einfach implementierbar ist.The The object of the invention is therefore to provide a circuit arrangement comprising a microcontroller and via a serial peripheral interface to introduce integrated circuits connected to the microcontroller, where the integrated circuit operates at a more accurate time base can be as they are from the clock of the integrated circuit can be provided. About that In addition, a method for operating such a circuit arrangement which is universally applicable and easy to implement is.

Diese Aufgabe wird durch eine Schaltungsanordnung mit den Merkmalen des Patentanspruchs 1 sowie ein Verfahren mit den Merkmalen des Patentanspruchs 10 erfindungsgemäß gelöst.These Task is achieved by a circuit arrangement with the characteristics of Patent claim 1 and a method having the features of the claim 10 solved according to the invention.

Vorteilhafte Ausführungen und Weiterbildungen der Erfindung sind in den Unteransprüchen angegeben.advantageous versions and further developments of the invention are specified in the subclaims.

Weiterhin wird eine bevorzugte Verwendung einer erfindungsgemäßen Schaltungsanordnung bzw. eines erfindungsgemäßen Verfahrens vorgestellt.Farther is a preferred use of a circuit arrangement according to the invention or a method according to the invention presented.

Bei der Schaltungsanordnung der gattungsgemäßen Art ist erfindungsgemäß vorgesehen, dass der zweite Taktgeber über das Serial Peripheral Interface (Akronym: SPI) auf eine von der Frequenz des ersten Signals des ersten Taktgebers abgeleitete Frequenz kalibriert wird. Zu diesem Zweck weist die Schaltungsanordnung erfindungsgemäß eine Kalibriereinrichtung auf, welche den zweiten Taktgeber über das Serial Peripheral Interface auf die von der Frequenz des ersten Signals des ersten Taktgebers abgeleitete Frequenz kalibriert.at the circuit arrangement of the generic type is provided according to the invention, that the second clock over the Serial Peripheral Interface (acronym: SPI) on one of the Frequency of the first signal of the first clock derived frequency is calibrated. For this purpose, the circuit arrangement according to the invention comprises a calibration device on which the second clock via the Serial Peripheral Interface to that derived from the frequency of the first signal of the first clock Frequency calibrated.

Ist anstelle des zweiten Taktgebers oder zusätzlich zu diesem zweiten Taktgeber ein Pulsgeber vorgesehen, welcher einen einzelnen Puls einer bestimmten Pulsdauer oder eine aus mehreren Einzelpulsen bestehende Pulsfolge einer bestimmten Pulsfolgedauer erzeugt, so ist erfindungsgemäß vorgesehen, dass der Pulsgeber über das Serial Peripherial Interface auf eine von der Frequenz des ersten Signals des ersten Taktgebers abgeleitete Pulsdauer oder Pulsfolgedauer kalibriert wird. Zu diesem Zweck weist die Schaltungsanordnung eine Kalibriereinrichtung auf, welche den Pulsgeber über das Serial Peripheral Interface auf die von der Frequenz des ersten Signals des ersten Taktgebers abgeleitete Pulsdauer oder Pulsfolgedauer kalibriert.If a pulse generator is provided instead of the second clock or in addition to this second clock, which generates a single pulse of a specific pulse duration or a pulse train of a specific pulse duration consisting of a plurality of individual pulses, it is provided according to the invention that the pulse generator via the serial peripheral interface to one of the pulse duration derived from the frequency of the first signal of the first clock or pulse duration is calibrated. For this purpose, the circuit arrangement has a calibration device, which calibrates the pulse generator via the serial peripheral interface to the pulse duration or pulse train duration derived from the frequency of the first signal of the first clock.

Die Vorteile der Erfindung bestehen darin, dass das ohnehin vorhandene Serial Peripheral Interface genutzt wird und keine zusätzlichen Pins, keine zusätzlichen Leitungen und keine zusätzlichen externen Bauteile vorgesehen sein müssen. Es ist eine einfache Implementierung durch eine sinnvolle Aufteilung der Aufgaben auf den integrierten Schaltkreis (Akronym: IC) und den Mikrocontroller (Akronym: μC) möglich, ohne die ohnehin vorhandene Systemkonfiguration zu ändern. Die Genauigkeit der zur Taktung des Mikrocontrollers verwendeten Zeitbasis wird quasi auf die ebenfalls vorhandene Zeitbasis des ICs „vererbt". Der Takt des Mikrocontrollers muss also den IC nicht selbst treiben, so dass dessen Leistungsaufnahme unverändert bleibt. Ein zusätzlicher Treiber ist ebenfalls nicht erforderlich.The Advantages of the invention are that the already existing Serial Peripheral Interface is used and no additional Pins, no additional Lines and no additional must be provided external components. It is a simple one Implementation through a sensible division of tasks the integrated circuit (acronym: IC) and the microcontroller (Acronym: μC) possible without to change the already existing system configuration. The accuracy of time base used to clock the microcontroller becomes quasi must be "inherited" to the existing time base of the IC, the clock of the microcontroller must So do not drive the IC itself, so its power consumption unchanged remains. An additional driver is also not required.

In einer einfachen und damit besonders vorteilhaften Ausführungsvariante der Erfindung ist vorgesehen, dass eine Anzahl von Oszillationen des zweiten Signals während einer Zeitdauer (beispielsweise mittels eines Zählers) gezählt wird, in welcher das erste Signal eine vorgegebene Anzahl an Oszillationen ausführt und dass anhand des Verhältnisses aus der Anzahl der Oszillationen des zweiten Signals und der Anzahl der Oszillationen des ersten Signals der zweite Taktgeber auf die von der Frequenz des ersten Signals des ersten Taktgebers abgeleitete Frequenz kalibriert wird.In a simple and thus particularly advantageous embodiment The invention provides that a number of oscillations of the second signal during a period of time (for example by means of a counter) is counted, in which the first Signal performs a predetermined number of oscillations and that based on the ratio of the number of oscillations of the second signal and the number the oscillations of the first signal the second clock on the frequency derived from the frequency of the first signal of the first clock is calibrated.

Ein Kalibrieren des zweiten Taktgebers kann erfindungsgemäß dadurch erfolgen, dass die zweite Frequenz des zweiten Signals in Abhängigkeit von dem Verhältnis aus der Anzahl der Oszillationen des zweiten Signals und der Anzahl der Oszillationen des ersten Signals geändert wird. Da dem Mikrocontroller Informationen über die Taktfrequenz des ersten Taktgebers vorliegen, kann er in diesem Fall die Ansteuerung des integrierten Schaltkreises in einer an den Anwendungsfall angepassten Weise ändern.One Calibration of the second clock can according to the invention thereby take place that the second frequency of the second signal in dependence from the relationship from the number of oscillations of the second signal and the number the oscillations of the first signal is changed. Because the microcontroller information about the Clock frequency of the first clock, he can in this Case the control of the integrated circuit in one Change the use case adapted.

Die vorstehend angegebenen Verfahren lassen sich beispielsweise dadurch realisieren, dass zunächst von dem Mikrocontroller über das Serial Peripheral Interface ein Befehl zum Zählen der Anzahl der Oszillationen des zweiten Signals an den integrierten Schaltkreis übermittelt wird. Als Antwort wird hierauf von dem integrierten Schaltkreis über das Serial Peripheral Interface die Anzahl der während der Zeitdauer gezählten Oszillationen des zweiten Signals an den Mikrocontroller übermittelt. Danach wird von dem Mikrocontroller über das Serial Peripheral Interface ein Befehl zum Ändern der zweiten Frequenz des zweiten Signals des zweiten Taktgebers an den integrierten Schaltkreis übermittelt.The The above-mentioned methods can be characterized, for example realize that first from the microcontroller over the Serial Peripheral Interface is a command to count the number of oscillations transmitted the second signal to the integrated circuit becomes. In response, this is done by the integrated circuit via the Serial Peripheral Interface the number of oscillations counted during the time period the second signal is transmitted to the microcontroller. After that is from the microcontroller over the Serial Peripheral Interface a command to change the second frequency the second signal of the second clock transmitted to the integrated circuit.

Es hat sich jedoch als besonders vorteilhaft herausgestellt, wenn der integrierte Schaltkreis von sich aus oder ausgelöst durch den Beginn der Übermittlung einer über das Serial Peripheral Interface übertragenen Signals insbesondere Befehls (z. B. eine ansteigende oder abfallende Flanke) die Anzahl der Oszillationen des zweiten Taktgebers zählt. Anstelle des Befehls zum Zählen wird von dem Mikrocontroller ein Befehl zum Übermitteln der Anzahl der gezählten Oszillationen via Serial Peripheral Interface an den integrierten Schaltkreis übermittelt. Als Antwort wird hierauf von dem integrierten Schaltkreis über das Serial Peripheral Interface die Anzahl der während der Zeitdauer gezählten Oszillationen des zweiten Signals an den Mikrocontroller übermittelt. Danach wird von dem Mikrocontroller über das Serial Peripheral Interface ein Befehl zum Ändern der zweiten Frequenz des zweiten Signals des zweiten Taktgebers an den integrierten Schaltkreis übermittelt.It However, has proved to be particularly advantageous if the integrated circuit on its own or triggered by the beginning of the transmission one over transmit the Serial Peripheral Interface Signal in particular command (for example, a rising or falling Edge) counts the number of oscillations of the second clock. Instead of of the command to count the microcontroller issues a command to transmit the number of counted oscillations transmitted via serial peripheral interface to the integrated circuit. In response, this is done by the integrated circuit via the Serial Peripheral Interface the number of oscillations counted during the time period the second signal is transmitted to the microcontroller. After that is from the microcontroller over the Serial Peripheral Interface a command to change the second frequency the second signal of the second clock transmitted to the integrated circuit.

Obwohl grundsätzlich eine weitgehend beliebige Ansteuerung über jegliche zur Verfügung stehende SPI-Anschlüsse, nämlich CS (Akronym für Chip Select), SDI (Akronym für Serial Data In), SDO (Akronym für Serial Data Out) und SCK (Akronym für Serial Clock), zum Realisieren des obigen Verfahrens möglich ist, hat es sich aufgrund dessen Einfachheit als vorteilhaft herausgestellt, wenn der Befehl zum Zählen bzw. Übermitteln der Anzahl der Oszillationen des zweiten Signals über die Serial Data In-Leitung des Serial Peripheral Interface übermittelt wird, wenn die Antwort über die Serial Data Out-Leitung des Serial Peripheral Interface übermittelt wird und wenn der Befehl zum Ändern der zweiten Frequenz über die Serial Data In-Leitung des Serial Peripheral Interface übermittelt wird.Even though in principle a largely arbitrary control over any available SPI ports, namely CS (acronym for chip Select), SDI (acronym for Serial Data In), SDO (acronym for Serial Data Out) and SCK (acronym for Serial Clock), to be realized of the above method possible it has proved to be advantageous because of its simplicity, if the command to count or submit the number of oscillations of the second signal over the Serial Data In-line of the Serial Peripheral Interface is transmitted, if the answer is over transmits the Serial Data Out line of the Serial Peripheral Interface and if the command to change the second frequency over transmits the Serial Data In line of the Serial Peripheral Interface becomes.

Die oben beschriebene Vorrichtung bzw. das oben beschriebene Verfahren eignet sich beispielsweise zum Erhöhen der Frequenzgenauigkeit eines Dithers in einem Stromregler-IC mit via Serial Peripheral Interface vorgegebenem Setpoint. Dither bezeichnet einen dem mittleren Strom überlagerten Strom mit dem Ziel ein elektro-mechanisches Ventil ständig in Bewegung zu halten um den Übergang von Haft- auf Gleitreibung zu verhindern. Die Anforderung an die Frequenzgenauigkeit des Dithers ist, durch Neuentwicklungen auf dem Ventilsektor, steigend.The above-described device or the method described above is suitable, for example, for increasing the frequency accuracy a dither in a current controller IC with via serial peripheral Interface preset setpoint. Dither refers to a middle one Electricity superimposed electricity with the goal of keeping an electro-mechanical valve constantly in motion to the transition from sticking to sliding friction. The request to the Frequency accuracy of dithering is due to new developments the valve sector, rising.

Bei einer Reihe von Anwendungen ist – wie vorstehend bereits angedeutet wurde – im integrierten Schaltkreis anstelle eines Taktgebers oder zusätzlich zu diesem ein Pulsgeber vorhanden, der ausgelöst durch ein bestimmtes Ereignis einen Puls vorgegebener Dauer oder eine Pulssequenz mit mehreren Einzelpulsen aber vorgegebener Pulsfolgedauer erzeugt. So wie der Taktgeber im integrierten Schaltkreis im allgemeinen nur eine Zeitbasis mit für bestimmte Anwendungszwecke nicht hinreichender Genauigkeit aufweist, ist es für manche Anwendungen wünschenswert, wenn die Dauer des von dem Pulsgeber erzeugten Pulses oder die Dauer der von diesem erzeugten Pulsfolge genauer vorgegeben ist bzw. vorgegeben werden kann.In a number of applications - as already indicated above - in the integrated circuit instead of a clock or in addition to this a pulser is present, which triggered by a particular event a pulse of predetermined duration or a pulse sequence with a plurality of individual pulses but given Pulsfol generated. Just as the clock in the integrated circuit generally has only a time base with insufficient accuracy for certain applications, it is desirable for some applications when the duration of the pulse generated by the pulser or the duration of the pulse sequence generated by this pulse is specified or can be specified.

Erfindungsgemäß ist in einer besonders vorteilhaften Ausführungsvariante vorgesehen, dass eine Anzahl von Oszillationen des ersten Signals während der Dauer des einzelnen Pulses oder der Pulsfolge gezählt werden und dass der Pulsgeber anhand der Anzahl der während der Dauer gezählten Oszillationen des ersten Signals auf die von der Frequenz des ersten Signals des ersten Taktgebers abgeleitete Pulsdauer oder Pulsfolgedauer kalibriert wird.According to the invention is in a particularly advantageous embodiment variant provided that a number of oscillations of the first signal during the Duration of the individual pulse or the pulse sequence are counted and that the pulser based on the number of oscillations counted during the duration of the first signal to that of the frequency of the first signal of the first pulse derived pulse duration or pulse duration is calibrated.

Insbesondere lässt sich das Zählen der Oszillationen des ersten Signals während der Pulsdauer bzw. Pulsfolgedauer und das nachfolgende Kalibrieren wie folgt realisieren:
Von dem Mikrocontroller wird in einem ersten Schritt über das Serial Peripheral Interface ein Signal zum Triggern des Pulsgebers an den integrierten Schaltkreis übermittelt. Von dem Mikrocontroller wird in einem zweiten Schritt über das Serial Peripheral Interface ein Befehl zum Übermitteln der Anzahl der während der Pulsdauer oder der Pulsfolgedauer gezählten Oszillationen des ersten Signals an den integrierten Schaltkreis übermittelt. Von dem integrierten Schaltkreis wird in einem dritten Schritt als Antwort über das Serial Peripheral Interface die Anzahl der während der Pulsdauer oder der Pulsfolgedauer gezählten Oszillationen des ersten Signals an den Mikrocontroller übermittelt. In einem vierten Schritt wird von dem Mikrocontroller über das Serial Peripheral Interface ein Befehl zum Ändern der Pulsdauer oder der Pulsfolgedauer des Pulses oder der Pulsfolge des Pulsgebers an den integrierten Schaltkreis übermittelt.
In particular, the counting of the oscillations of the first signal during the pulse duration or pulse repetition time and the subsequent calibration can be realized as follows:
The microcontroller transmits a signal for triggering the pulse generator to the integrated circuit in a first step via the serial peripheral interface. In a second step, the microcontroller sends a command via the serial peripheral interface for transmitting the number of oscillations of the first signal counted during the pulse duration or the pulse repetition time to the integrated circuit. In a third step, the integrated circuit transmits the number of oscillations of the first signal counted during the pulse duration or the pulse repetition duration to the microcontroller as a response via the serial peripheral interface. In a fourth step, a command for changing the pulse duration or the pulse repetition duration of the pulse or the pulse train of the pulse generator is transmitted to the integrated circuit by the microcontroller via the serial peripheral interface.

Obwohl sich grundsätzlich alle SPI-Leitungen zum Übertragen der o.a. Befehle oder Signale eignen, hat es sich als besonders vorteilhaft herausgestellt, wenn das Signal zum Triggern des Pulsgebers über die Chip Select Leitung oder die Serial Clock Leitung des serial Peripheral Interface übermittelt wird, wenn der Befehl zum Übermitteln der Anzahl der Oszillationen des ersten Signals über die Serial Data In-Leitung des Serial Peripheral Interface übermittelt wird, wenn die Antwort über die Serial Data Out-Leitung des Serial Peripheral Interface übermittelt wird und wenn der Befehl zum Ändern der Pulsdauer oder der Pulsfolgedauer über die Serial Data In-Leitung des Serial Peripheral Interface übermittelt wird.Even though basically all SPI lines for transmission the o.a. Commands or signals are appropriate, it has to be special Advantageously, when the signal for triggering the pulser over the Chip select line or the serial clock line of the serial peripheral Interface is transmitted, if the command to submit the number of oscillations of the first signal over the Serial Data In line of the Serial Peripheral Interface will if the answer over transmits the Serial Data Out line of the Serial Peripheral Interface and if the command to change the pulse duration or the pulse train duration via the Serial Data In line of the Serial Peripheral interface is transmitted.

Die Erfindung wird nunmehr anhand der Zeichnung näher beschrieben. Es zeigen:The Invention will now be described with reference to the drawing. Show it:

1: ein Blockschaltbild eines ersten Ausführungsbeispiels einer erfindungsgemäßen Schaltungsanordnung mit einem Mikrocontroller und mit einem über ein Serial Peripheral Interface mit dem Mikrocontroller verbundenen integrierten Schaltkreis, 1 3 shows a block diagram of a first exemplary embodiment of a circuit arrangement according to the invention with a microcontroller and with an integrated circuit connected to the microcontroller via a serial peripheral interface,

2: den integrierten Schaltkreis nach 1 im Detail, 2 : the integrated circuit after 1 in detail,

3: ein SPI-Kommunikationsdiagramm (timing diagram) eines nach einer ersten erfindungsgemäßen Verfahrensvariante erfolgenden Datentransfers über das Serial Peripheral Interface der Schaltungsanordnung nach der 1, 3 FIG. 2: an SPI communication diagram (timing diagram) of a data transfer taking place according to a first method variant according to the invention via the serial peripheral interface of the circuit arrangement according to FIG 1 .

4: ein Blockschaltbild des integrierten Schaltkreises TLE 7209-2R der Infineon Technologies AG (Stand der Technik) 4 : a block diagram of the integrated circuit TLE 7209-2R Infineon Technologies AG (prior art)

5: ein Blockschaltbild einer Schaltungsanordnung mit Mikrocontroller und integriertem Schaltkreis TLE 7209-2R der Infineon Technologies AG (Stand der Technik) 5 : a block diagram of a circuit arrangement with microcontroller and integrated circuit TLE 7209-2R of Infineon Technologies AG (prior art)

6: ein SPI-Kommunikationsdiagramm (timing diagram) eines nach einer zweiten erfindungsgemäßen Verfahrensvariante erfolgenden Datentransfers über ein SPI einer Schaltungsanordnung mit in einem IC integrierten monostabilen Multivibrator (one shot) 6 : an SPI communication diagram (timing diagram) of a data transfer taking place according to a second variant of the invention via an SPI of a circuit arrangement with a monostable multivibrator integrated in an IC (one shot)

Die 1 zeigt eine Schaltungsanordnung mit einem Mikrocontroller μC und mit einem über ein Serial Peripheral Interface SPI mit dem Mikrocontroller μC verbundenen integrierten Schaltkreis IC. Der Mikrocontroller μC umfasst einen ersten Taktgeber 1 zum Erzeugen eines ersten oszillierenden Signals SCK mit einer ersten Frequenz f1. Der integrierte Schaltkreis IC umfasst einen zweiten Taktgeber 2 zum Erzeugen eines zweiten oszillierenden Signals ICCLK mit einer zweiten Frequenz f2. Sowohl der Mikrocontroller μC als auch der integrierte Schaltkreis IC weisen im vorliegenden Ausführungsbeispiel je weils eine Sende- und Empfangseinrichtung 3, 4 zum Senden und Empfangen von Daten über das Serial Peripheral Interface SPI auf.The 1 1 shows a circuit arrangement with a microcontroller .mu.C and with an integrated circuit IC connected to the microcontroller .mu.C via a serial peripheral interface SPI. The microcontroller μC includes a first clock 1 for generating a first oscillating signal SCK with a first frequency f 1 . The integrated circuit IC includes a second clock 2 for generating a second oscillating signal ICCLK having a second frequency f 2 . Both the microcontroller .mu.C and the integrated circuit IC each have in the present embodiment, a transmitting and receiving device 3 . 4 for sending and receiving data via the Serial Peripheral Interface SPI.

Es wird nunmehr davon ausgegangen, dass der integrierte Schaltkreis IC eine relativ ungenaue aber abstimmbare Zeitbasis 1 aufweist.It will now be assumed that the integrated circuit IC is a relatively inaccurate but tunable time base 1 having.

Erfindungsgemäß ist daher eine Kalibriereinrichtung 7 vorgesehen, welche den zweiten Taktgeber 2 über das Serial Peripheral Interface SPI auf die Frequenz f1 des ersten Signals SCK des ersten Taktgebers 1 kalibriert.Therefore, according to the invention, a calibration device 7 provided, which the second clock 2 via the serial peripheral interface SPI to the frequency f 1 of the first signal SCK of the first clock encoder 1 calibrated.

Um einen Kalibriervorgang durchführen zu können, ist im integrierten Schaltkreis IC beispielsweise ein Zähler 5 vorgesehen (vgl. 2). Der Zähleingang 18 dieses Zählers 5 ist mit dem Ausgang des Taktgebers 2 über eine Leitung 6 verbunden. Weiterhin weist der Zähler 5 einen Aktiviereingang 19 auf, über den der Zähler 5 ein- oder ausgeschaltet werden kann.In order to be able to carry out a calibration process, a counter is, for example, in the integrated circuit IC 5 provided (cf. 2 ). The counting input 18 this counter 5 is with the output of the clock 2 over a line 6 connected. Furthermore, the counter points 5 an activation input 19 on, over which the counter 5 can be switched on or off.

Der Zähler 5 ist geeignet, die Anzahl n von Oszillationen des zweiten Signals ICCLK während einer bestimmten Zeitdauer zu zählen.The counter 5 is suitable to count the number n of oscillations of the second signal ICCLK during a certain period of time.

Diese Zeitdauer (in 3 ist diese Zeitdauer durch das Bezugszeichen tcount gekennzeichnet) ist im Ausführungsbeispiel durch die Dauer bestimmt, in welcher das erste Signal SCK eine vorgegebene Anzahl N an Oszillationen ausführt.This period of time (in 3 is this period of time by the reference numeral t count ) is determined in the embodiment by the duration in which the first signal SCK performs a predetermined number N of oscillations.

Die Kalibriereinrichtung 7 ist nunmehr ausgebildet, anhand eines Verhältnisses aus der Anzahl n der Oszillationen des zweiten Signals ICCLK und der Anzahl N der Oszillationen des ersten Signals SCK den zweiten Taktgeber 2 auf die Frequenz f1 des ersten Signals SCK des ersten Taktgebers 1 zu kalibrieren.The calibration device 7 is now formed, based on a ratio of the number n of the oscillations of the second signal ICCLK and the number N of the oscillations of the first signal SCK the second clock 2 to the frequency f 1 of the first signal SCK of the first clock 1 to calibrate.

Ein derartiger Kalibriervorgang könnte zum Beispiel unter Bezugnahme auf die Zeichnungsfigur 3 in der nachfolgend beschriebenen Weise erfolgen:
Über den Serial Data In-Eingang SDI der SP-Schnittstelle SPI wird dem integrierten Schaltkreis IC ein Befehl command measure zum Zählen der Anzahl n der Oszillationen des zweiten Signals ICCLK übermittelt.
Such a calibration process could, for example, with reference to the drawing figure 3 in the manner described below:
Via the serial data in input SDI of the SP interface SPI, a command command measure for counting the number n of oscillations of the second signal ICCLK is transmitted to the integrated circuit IC.

Der Zählerstand des Zählers 5 wird daraufhin zu Beginn des SPI-Kommandos command measure beispielsweise durch eine ansteigende Flanke 13 eines Serial Clock SCK-Pulses ausgelöste abfallende Flanke 11 eines ein Zählen ermöglichenden Count Enable CNT_EN-Signals zurückgesetzt. Der Zähler 5 zählt dann z.B. für die Dauer von N = 16 Takten des SPI Clock Signals SCK die Anzahl n der Takte der Zeitbasis 2. Die Zähldauer tcount kann beispielsweise über eine entsprechende Steuerleitung z. B. mittels des Count Enable-Signals CNT_EN am Zähler 5 eingestellt werden. Die Dauer des Count Enable-Signals CNT_EN kann beispielsweise wie im vorliegenden Ausführungsbeispiel durch eine von einer ansteigenden Flanke 14 des Serial Clock-Signals SCK abgeleitete ansteigende Flanke 15 definiert werden.The counter reading of the counter 5 is then command measure at the beginning of the SPI command, for example, by a rising edge 13 of a serial clock SCK pulse triggered falling edge 11 of a count enabling Count Enable CNT_EN signal reset. The counter 5 For example, for the duration of N = 16 clocks of the SPI clock signal SCK, count the number n of clocks of the time base 2 , The count duration t count can, for example, via a corresponding control line z. B. by means of the count enable signal CNT_EN at the counter 5 be set. The duration of the count enable signal CNT_EN, for example, as in the present embodiment by one of a rising edge 14 of the serial clock signal SCK derived rising edge 15 To be defined.

Von dem integrierten Schaltkreis IC wird als Antwort response count auf das SPI-Kommando Command measure über die Serial Data Out-Leitung SDO des Serial Peripheral Interface SPI die Anzahl n der während der Zeitdauer tcount gezählten Oszillationen des zweiten Signals ICCLK an den Mikrocontroller μC übermittelt.The number n of oscillations of the second signal ICCLK counted during the time period t count is transmitted from the integrated circuit IC to the microcontroller μC in response to the SPI command command measure via the serial data out line SDO of the serial peripheral interface SPI ,

Da die Dauer tcount der N = 16 Takte des SPI Clock Signals SCK dem Mikrocontroller μC genau bekannt ist (Genauigkeit des μC-Taktes), kann mit der Antwort response count die Frequenz f2 der Zeitbasis 2 durch den Mikrocontroller μC ermittelt werden (z.B. durch einen Vergleich mit dem Sollwert).Since the duration t of the count N = 16 cycles of the SPI Clock signal SCK to the microcontroller .mu.C is accurately known (accuracy of the microcontroller clock), may response with the response count the frequency f 2 of the time base 2 be determined by the microcontroller μC (eg by a comparison with the setpoint).

Von dem Mikrocontroller μC wird daraufhin über das Serial Peripheral Interface SPI ein weiterer Befehl command set frequency zum Ändern der zweiten Frequenz f2 des zweiten Signals ICCLK des zweiten Taktgebers 2 an den integrierten Schaltkreis IC übermittelt, woraufhin der zweite Taktgeber 2 in entsprechender Weise abgestimmt wird.From the microcontroller .mu.C is then on the Serial Peripheral Interface SPI another command command set frequency for changing the second frequency f 2 of the second signal ICCLK the second clock 2 transmitted to the integrated circuit IC, whereupon the second clock 2 is tuned in a corresponding manner.

In der Zeichnung ist angedeutet, dass z.B. für den Messvorgang die Baudrate der SPI Clock SCK angepasst wird, so dass je nach Verhältnis der Frequenz f2 der Zeitbasis 2 und der Frequenz des SPI-Clock SCK ein Messergebnis mit der gewünschten Auflösung erreicht werden kann. D. h. je länger die gemessene Zeitdauer tcount ist, desto höher ist die Auflösung.In the drawing, it is indicated that, for example, the baud rate of the SPI clock SCK is adjusted for the measurement process, so that, depending on the ratio of the frequency f 2 of the time base 2 and the frequency of the SPI-Clock SCK can be achieved a measurement result with the desired resolution. Ie. the longer the measured time t count , the higher the resolution.

Die beschriebene Variante ist eine mögliche Ausführungsform. Denkbar sind auch Ausführungen, die andere Signale des SPI benutzen, um das beschriebene Prinzip umzusetzen. Insbesondere ist denkbar, über die Serial Data In-Leitung SDI für die Zähldauer tcount ein spezielles Kommando wie z. B. (01010...) zu senden, während der die Anzahl in der Oszillation des zweiten Signals ICCLK gemessen werden. Es könnte auch die Zeitdauer zwischen einer fallenden und einer steigenden Flanke 10, 16 des Chip-Select-Signals CS verwendet werden, um die Zähldauer tcount festzulegen und damit das vorstehend beschriebene Prinzip umzusetzen.The variant described is a possible embodiment. Also conceivable are designs that use other signals of the SPI to implement the described principle. In particular, it is conceivable, via the Serial Data In line SDI for the count time t count a special command such. B. (01010 ...), during which the number in the oscillation of the second signal ICCLK are measured. It could also be the time between a falling and a rising edge 10 . 16 of the chip select signal CS are used to set the count duration t count and thus implement the principle described above.

Die Erfindung eignet sich insbesondere dazu, die Frequenzgenauigkeit eines Dithers in einem Stromregler-IC mit via Serial Peripheral Interface SPI vorgegebenem Sollwert des Stroms (Setpoint) zu erhöhen, wie vorstehend bereits detaillierter beschrieben wurde.The Invention is particularly suitable for the frequency accuracy a dither in a current controller IC with via serial peripheral Interface SPI preset setpoint of the current (setpoint) to increase how has already been described in more detail above.

Die 6 zeigt ein SPI-Kommunikationsdiagramm eines Datentransfers in einer Schaltungsanordnung gemäß einem zweiten Ausführungsbeispiel. Die (hier nicht im Einzelnen dargestellte) Schaltungsanordnung umfasst ähnlich wie die Schaltungsanordnung gemäß dem ersten Ausführungsbeispiel einen Mikrocont roller μC und einen über ein Serial Peripheral Interface SPI mit dem Mikrocontroller μC verbundenen integrierten Schaltkreis IC.The 6 shows an SPI communication diagram of a data transfer in a circuit arrangement according to a second embodiment. The (not shown in detail here) circuit arrangement similar to the circuit arrangement according to the first embodiment, a Mikrocont roller μC and connected via a serial peripheral interface SPI with the microcontroller μC integrated circuit IC.

Der Mikrocontroller μC dieses zweiten Ausführungsbeispiels ist weitgehend identisch ausgebildet wie der Mikrocontroller μC entsprechend dem in der 1 dargestellten ersten Ausführungsbeispiel. So umfasst der Mikrocontroller μC einen ersten Taktgeber 1 zum Erzeugen eines ersten oszillierenden Signals SCK mit einer ersten Frequenz f1, eine Sende- und Empfangseinrichtung 3 zum senden und Empfangen von Daten über das vorstehend genannte Serial Peripheral Interface SPI sowie eine Kompensationseinrichtung 7 in Form einer elektrischen Steuerung zum Steuern des Datenaustausches über das den Mikracontroller μC und den integrierten Schaltkreis IC verbindende Serial Peripheral Interface SPI.The microcontroller .mu.C of this second embodiment is largely identical in design to the microcontroller .mu.C in accordance with FIG of the 1 illustrated first embodiment. Thus, the microcontroller μC comprises a first clock 1 for generating a first oscillating signal SCK with a first frequency f 1 , a transmitting and receiving device 3 for sending and receiving data via the aforementioned Serial Peripheral Interface SPI and a compensation device 7 in the form of an electrical control for controlling the data exchange via the serial peripheral interface SPI connecting the microcontroller μC and the integrated circuit IC.

Der integrierte Schaltkreis IC weist hier wie im vorliegenden Ausführungsbeispiel eine der Sende- und Empfangseinrichtung 3 zum Senden und Empfangen von Daten über das Serial Peripheral Interface SPI des Mikrocontrollers μC entsprechende Sende- und Empfangseinrichtung 4 auf. Der integrierte Schaltkreis IC umfasst anstelle eines zweiten Taktgebers zum Erzeugen eines zweiten oszillierenden Signals mit einer zweiten Frequenz einen Pulsgeber 8. Bei diesem Pulsgeber 8 handelt es sich um einen sogenannten One Shot 8 (in der Fachsprache ist dieser auch unter den Bezeichnungen Monoflop, One Shot Multivibrator oder Univibrator bekannt), eine Kippschaltung mit nur einem stabilen Zustand. Der One Shot 8 gelangt durch eine externe Anregung für eine mehr oder weniger bestimmte Zeit in den instabilen Zustand, kippt aber selbsttätig zurück.The integrated circuit IC has here as in the present embodiment, one of the transmitting and receiving device 3 for transmitting and receiving data via the serial peripheral interface SPI of the microcontroller μC corresponding transmitting and receiving device 4 on. The integrated circuit IC comprises a pulse generator instead of a second clock generator for generating a second oscillating signal having a second frequency 8th , With this pulser 8th it is a so-called one shot 8th (in technical language this is also known under the designations Monoflop, One Shot Multivibrator or Univibrator), a flip-flop with only one stable state. The One Shot 8th gets into the unstable state by an external excitation for a more or less certain time, but tilts back automatically.

Es wird nunmehr davon ausgegangen, dass die Zeit, während der sich der One Shot 8 in dem instabilen Zustand befindet relativ ungenau vorgegeben, aber über eine geeignete Ansteuerung oder Beschattung abstimmbar bzw. einstellbar ist.It is now assumed that the time during which the One Shot 8th is in the unstable state is relatively imprecise, but tunable or adjustable via a suitable control or shading.

Erfindungsgemäß ist daher die vorstehend erwähnte Kalibriereinrichtung 7 vorgesehen, die Pulsdauer Δtshot, d.h. die Dauer während der sich der One Shot 8 in dem instabilen Zustand befindet, über das Serial Peripheral Interface SPI mit Hilfe der Frequenz f1 des ersten Signals SCK des ersten Taktgebers 1 auf einen vorbestimmten Wert zu kalibrieren.According to the invention, therefore, the above-mentioned calibration device 7 provided, the pulse duration Δt shot , ie the duration during which the One Shot 8th in the unstable state, via the Serial Peripheral Interface SPI using the frequency f 1 of the first signal SCK of the first clock 1 to calibrate to a predetermined value.

Um einen Kalibriervorgang durchführen zu können, ist im integrierten Schaltkreis IC wie im vorigen Ausführungsbeispiel gemäß den 1 und 3 ein Zähler 5 vorgesehen. Ein Aktiviereingang 21 zum Ein- und Ausschalten des Zählers 5 ist mit dem Ausgang 22 des Pulsgebers 8 über eine Leitung 17 verbunden. Ein Zähleingang 20 zum Zuführen von zu zählenden Impulsen ist mit der den Serial Clock SCK des Mikrocontrollers μC führenden Leitung des Serial Peripheral Interface SPI verbunden (6).In order to be able to carry out a calibration process, in the integrated circuit IC, as in the previous exemplary embodiment, according to FIGS 1 and 3 a counter 5 intended. An activation input 21 for switching the meter on and off 5 is with the exit 22 of the pulser 8th over a line 17 connected. A counting input 20 for supplying pulses to be counted is connected to the serial peripheral interface SPI leading to the serial clock SCK of the microcontroller μC ( 6 ).

Der Zähler 5 kann daher die Anzahl n von Oszillationen des ersten (Serial Clock) Signals CLK des Mikrocontrollers μC während der Zeitdauer zählen, während der über die Leitung 1 an dem Aktiviereingang 21 ein entsprechendes Aktiviersignal CNT_EN anliegt.The counter 5 Therefore, the number n of oscillations of the first (serial clock) signal CLK of the microcontroller .mu.C can count during the period of time during which over the line 1 at the activation entrance 21 a corresponding activation signal CNT_EN is present.

Die Kalibriereinrichtung 7 ist nunmehr ausgebildet, in einem Kalibriermodus anhand der Anzahl N der Oszillationen des ersten Signals SCK des ersten Taktgebers 1 während der von dem integrierten Schaltkreis IC vorgegebenen Pulsdauer Δtshot die von dem integrierten Schaltkreis IC eingestellte Pulsdauer Δtshot zu bestimmen. Aufgrund der hohen Frequenzgenauigkeit des ersten Signals CLK ist diese Bestimmung der eingestellte Pulsdauer Δtshot sehr genau. Die tatsächlich gewünschte Pulsdauer eines nachfolgend beispielsweise von dem integrierten Schaltkreis IC ausgelösten Pulses kann dann anhand der Frequenz f1 des ersten Signals SCK des ersten Taktgebers 1 eingestellt, d.h. kalibriert werden.The calibration device 7 is now formed, in a calibration mode based on the number N of the oscillations of the first signal SCK of the first clock 1 during the predetermined of the integrated circuit IC pulse duration .DELTA.t shot the set of the integrated circuit IC pulse duration .DELTA.t shot to be determined. Due to the high frequency accuracy of the first signal CLK, this determination of the set pulse duration Δt shot is very accurate. The actual desired pulse duration of a subsequently triggered, for example, of the integrated circuit IC may then pulse from the frequency f 1 of the first signal of the first clock SCK 1 set, ie calibrated.

Ein derartiger Kalibriervorgang könnte zum Beispiel unter Bezugnahme auf die Zeichnungsfigur 6 in der nachfolgend beschriebenen Weise erfolgen:
Über den Chip Select-Eingang CS des Serial Peripheral Interface SPI wird dem One Shot 8 ein Signal CS mit abfallender Flanke 10 zugeführt. Diese abfallende Flanke 10 (alternativ könnte z.B. auch eine ansteigende oder abfallende Flanke 13 des Serial Clock SCL verwendet werden) triggert den One Shot 8, so dass dieser einen Impuls 9 mit einer bestimmten Pulsdauer Δtshot emittiert. Die (hier) ansteigende Flanke 12 des Pulses 9 folgt im Ausführungsbeispiel auf die abfallende Flanke 10 des Chip Select Signals CS.
Such a calibration process could, for example, with reference to the drawing figure 6 in the manner described below:
Via the chip select input CS of the Serial Peripheral Interface SPI becomes the One Shot 8th a signal CS with falling edge 10 fed. This sloping flank 10 (Alternatively, for example, could also be a rising or falling edge 13 the Serial Clock SCL) triggers the One Shot 8th so that this one impulse 9 emitted with a certain pulse duration .DELTA.t shot . The (here) rising edge 12 of the pulse 9 follows in the exemplary embodiment on the falling edge 10 of the chip select signal CS.

Während der Dauer Δtshot des Impulses 9 liegt am Ausgang 22 des One Shot 8 ein Aktivierungssignal CNT_EN, welches dem Eingang 21 des Zählers 5 über die Leitung 17 zugeführt wird und welches den Zähler 5 veranlasst, die über den Zähleingang 20 zugeführten Pulse Clock zu zählen. Die Anzahl n der während dieser Aktivierungszeit Δtshot gezählten Pulse Clock liegen dann am Ausgang des Zählers 5 in Form eines entsprechenden Signals n-bits „count" vor.During the duration Δt shot of the pulse 9 is at the exit 22 of the one shot 8th an activation signal CNT_EN corresponding to the input 21 of the meter 5 over the line 17 is fed and which the counter 5 causes the over the counting input 20 counted Pulse Clock count. The number n of pulses counted during this activation time .DELTA.t shot then lie at the output of the counter 5 in the form of a corresponding signal n-bits "count" before.

Über den Serial Data In-Eingang SDI der SP-Schnittstelle SPI wird dem integrierten Schaltkreis IC ein Befehl command measure zum Übermitteln der Anzahl n der während der Pulsdauer Δtshot des Pulses 9 gezählten Serial Clock SCL – Pulse übermittelt.Via the serial data in-input SDI of the SP-interface SPI the integrated circuit IC receives a command command measure for transmitting the number n of the pulse during the pulse duration Δt shot of the pulse 9 counted serial clock SCL pulses.

Von dem integrierten Schaltkreis IC wird als Antwort response count über die Serial Data Out-Leitung SDO des Serial Peripheral Interface SPI die Anzahl n der während der Pulsdauer Δtshot gezählten Oszillationen des ersten Signals CLK an den Mikrocontroller μC übermittelt.Of the integrated circuit IC Out line SDO is transmitted during the pulse duration .DELTA.t shot counted oscillations of the first signal CLK to the microcontroller in response .mu.C the response count via the Serial Data of the serial peripheral interface SPI n is the number.

Da die Frequenz f1 und damit die innerhalb einer bestimmten Zeitdauer emittierten Pulse des Serial Clock genau bekannt ist, kann aus der Anzahl n der während der Aktivierung des Zählers 5 durch das Aktivierungssignal CNT_EN die Pulsdauer Δtshot (von der Kalibriereinrichtung 7) genau bestimmt werden.Since the frequency f 1 and thus the pulses of the serial clock emitted within a certain period of time are exactly known, it is possible to determine from the number n during the activation of the counter 5 by the activation signal CNT_EN the pulse duration Δt shot (from the calibration device 7 ) are determined exactly.

Von dem Mikrocontroller μC wird daraufhin über das Serial Peripheral Interface SPI ein weiterer Befehl command set one shot time zum Ändern der Pulsdauer Δtshot des Pulsgebers 8 an den integrierten Schaltkreis IC übermittelt, woraufhin der Pulsgeber 8 in entsprechender Weise abgestimmt, d.h. die gewünschte Pulsdauer Δtshot eingestellt wird.From the microcontroller .mu.C is then on the Serial Peripheral Interface SPI another command command set one shot time to change the pulse duration .DELTA.t shot of the pulser 8th transmitted to the integrated circuit IC, whereupon the pulser 8th matched in a corresponding manner, ie the desired pulse duration .DELTA.t shot is set.

11
Taktgeberclock
22
Taktgeberclock
33
Sende-/EmpfangseinrichtungTransmitting / receiving device
44
Sende-/EmpfangseinrichtungTransmitting / receiving device
55
Zählercounter
66
Leitungmanagement
77
Kalibriereinrichtungcalibration
88th
Pulsgeberpulser
99
PulsPulse
1010
abfallende Flankefalling flank
1111
abfallende Flankefalling flank
1212
ansteigende Flankerising flank
1313
ansteigende Flankerising flank
1414
ansteigende Flankerising flank
1515
ansteigende Flankerising flank
1616
ansteigende Flankerising flank
1717
Leitungmanagement
1818
ZähleingangCounting
1919
Aktiviereingangactivation input
2020
ZähleingangCounting
2121
Aktiviereingangactivation input
2222
Ausgangoutput
μC.mu.C
Mikrocontrollermicrocontroller
CLKCLK
Taktsignalclock signal
CNT_ENCNT_EN
Count EnableCount Enable
CSCS
Chip Selectchip Select
f1 f 1
Frequenzfrequency
f2 f 2
Frequenzfrequency
ICIC
integrierter Schaltkreisintegrated circuit
ICCLKICCLK
Taktsignal des ICsclock signal of the IC
NN
Anzahlnumber
nn
Anzahlnumber
n-bitsn-bits
„count" Zählsignal"Count" count signal
SCKSCK
SPI-Clock/Serial ClockSPI Clock / Serial Clock
SDISDI
Serial Data InSerial Data In
SDOSDO
Serial Data OutSerial Data Out
SPISPI
Service Provider Interface/Serial Peripheralservice Provider Interface / Serial Peripheral
Interfaceinterface
tcount t count
Zähldauercounting time
tshot t shot
AuslösezeitpunktTrigger point
Δtshot Δt shot
Pulsdauerpulse duration

Claims (19)

Schaltungsanordnung mit einem Mikrocontroller (μC) und mit einem über ein Serial Peripheral Interface (SPI) mit dem Mikrocontroller (μC) verbundenen integrierten Schaltkreis (IC), wobei der Mikrocontroller (μC) einen ersten Taktgeber (1) zum Erzeugen eines ersten oszillierenden Signals (SCK) mit einer ersten Frequenz (f1) aufweist und wobei der integrierte Schaltkreis (IC) einen zweiten Taktgeber (2) zum Erzeugen eines zweiten oszillierenden Signals (ICCLK) mit einer zweiten Frequenz (f2) und/oder einen Pulsgeber (8) zum Erzeugen eines einzelnen Pulses (9) mit einer Pulsdauer (Δtshot) oder einer Pulsfolge mit einer Pulsfolgedauer aufweist, dadurch gekennzeichnet, dass eine Kalibriereinrichtung (7) vorgesehen ist, welche den zweiten Taktgeber (2) über das Serial Peripheral Interface (SPI) auf eine von der Frequenz (f1) des ersten Signals (SCK) des ersten Taktgebers (1) abgeleitete Frequenz kalibriert und/oder welche den Pulsgeber (8) über das Serial Peripheral Interface (SPI) auf eine von der Frequenz (f1) des ersten Signals (SCK) abgeleitete Pulsdauer oder Pulsfolgedauer kalibriert.Circuit arrangement comprising a microcontroller (μC) and an integrated circuit (IC) connected to the microcontroller (μC) via a serial peripheral interface (SPI), the microcontroller (μC) having a first clock generator (μC). 1 ) for generating a first oscillating signal (SCK) at a first frequency (f 1 ), and wherein the integrated circuit (IC) has a second clock ( 2 ) for generating a second oscillating signal (ICCLK) having a second frequency (f 2 ) and / or a pulse generator ( 8th ) for generating a single pulse ( 9 ) having a pulse duration (Δt shot ) or a pulse train having a pulse repetition duration, characterized in that a calibration device ( 7 ) is provided, which the second clock ( 2 ) via the Serial Peripheral Interface (SPI) to one of the frequency (f 1 ) of the first signal (SCK) of the first clock ( 1 ) derived frequency calibrated and / or which the pulser ( 8th ) is calibrated via the Serial Peripheral Interface (SPI) to a pulse duration or pulse train duration derived from the frequency (f 1 ) of the first signal (SCK). Schaltungsanordnung nach Anspruch 1, dadurch gekennzeichnet, dass ein Zähler (5) vorgesehen ist, welcher eine Anzahl (n) von Oszillationen des zweiten Signals (ICCLK) während einer Zeitdauer (tcount) zählt, in welcher das erste Signal (SCK) eine vorgegebenen Anzahl (N) an Oszillationen ausführt und dass die Kalibriereinrichtung ausgebildet ist, anhand eines Verhältnisses aus der Anzahl (n) der Oszillationen des zweiten Signals (ICCLK) und der Anzahl (N) der Oszillationen des ersten Signals (SCK) den zweiten Taktgeber (2) auf die von der Frequenz (f1) des ersten Signals (SCK) des ersten Taktgebers (1) abgeleitete Frequenz zu kalibrieren.Circuit arrangement according to Claim 1, characterized in that a counter ( 5 ) which counts a number (n) of oscillations of the second signal (ICCLK) during a period of time (t count ) in which the first signal (SCK) executes a predetermined number (N) of oscillations and wherein the calibration device is formed on the basis of a ratio of the number (n) of the oscillations of the second signal (ICCLK) and the number (N) of the oscillations of the first signal (SCK) the second clock ( 2 ) to that of the frequency (f 1 ) of the first signal (SCK) of the first clock ( 1 ) to calibrate derived frequency. Schaltungsanordnung nach Anspruch 2, dadurch gekennzeichnet, dass die Kalibriereinrichtung (7) ausgebildet ist, die zweite Frequenz (f2) des zweiten Signals (ICCLK) in Abhängigkeit von dem Verhältnis aus der Anzahl (n) der Oszillationen des zweiten Signals (ICCLK) und der Anzahl (N) der Oszillationen des ersten Signals (SCK) zu ändern.Circuit arrangement according to Claim 2, characterized in that the calibration device ( 7 ), the second frequency (f 2 ) of the second signal (ICCLK) is dependent on the ratio of the number (n) of the oscillations of the second signal (ICCLK) and the number (N) of the oscillations of the first signal (SCK) to change. Schaltungsanordnung nach einem der Ansprüche 2 oder 3, dadurch gekennzeichnet, dass der Mikrocontroller (μC) ausgebildet ist, über das Serial Peripheral Interface (SPI) einen Befehl (command measure) zum Zählen der Anzahl (n) der Oszillationen des zweiten Signals (ICCLK) an den integrierten Schaltkreis (IC) zu übermitteln, dass der integrierte Schaltkreis (IC) ausgebildet ist, als Antwort (response count) über das Serial Peripheral Interface (SPI) die Anzahl (n) der während der Zeitdauer (tcount) gezählten Oszillationen des zweiten Signals (ICCLK) an den Mikrocontroller (μC) zu übermitteln, dass der Mikrocontroller (μC) ausgebildet ist, über das Serial Peripheral Interface (SPI) einen Befehl (command set frequency) zum Ändern der zweiten Frequenz (f2) des zweiten Signals (ICCLK) des zweiten Taktgebers (2) an den integrierten Schaltkreis (IC) zu übermitteln.Circuit arrangement according to one of claims 2 or 3, characterized in that the microcontroller (μC) is formed, via the Serial Peripheral Interface (SPI) a command (command measure) for counting the number (n) of the oscillations of the second signal (ICCLK) to transmit to the integrated circuit (IC) that the integrated circuit (IC) is formed, in response to the serial peripheral interface (SPI), the number (n) of oscillations of the oscillation counted during the time period (t count ) second signal (ICCLK) to the microcontroller (μC) that the microcontroller (μC) is formed, via the Serial Peripheral Interface (SPI) a command (set set frequency) for changing the second frequency (f 2 ) the second signal (ICCLK) of the second clock ( 2 ) to the integrated circuit (IC). Schaltungsanordnung nach einem der Ansprüche 2 oder 3, dadurch gekennzeichnet, dass der integrierte Schaltkreis (IC) ausgebildet ist, von sich aus oder ausgelöst durch einen Beginn einer Übermittlung eines über das Serial Peripheral Interface übertragenen Signals, insbesondere Befehls (CNT_EN, command measure), die Anzahl (n) der Oszillationen des zweiten Taktgebers (2) zu zählen und dass der Mikrocontroller (μC) ausgebildet ist, über das Serial Peripheral Interface (SPI) einen Befehl (command measure) zum Übermitteln der Anzahl (n) der Oszillationen des zweiten Signals (ICCLK) an den integrierten Schaltkreis (IC) zu übermitteln, dass der integrierte Schaltkreis (IC) ausge bildet ist, als Antwort (response count) über das Serial Peripheral Interface (SPI) die Anzahl (n) der während der Zeitdauer (tcount) gezählten Oszillationen des zweiten Signals (ICCLK) an den Mikrocontroller (μC) zu übermitteln, dass der Mikrocontroller (μC) ausgebildet ist, über das Serial Peripheral Interface (SPI) einen Befehl (command set frequency) zum Ändern der zweiten Frequenz (f2) des zweiten Signals (ICCLK) des zweiten Taktgebers (2) an den integrierten Schaltkreis (IC) zu übermitteln.Circuit arrangement according to one of claims 2 or 3, characterized in that the integrated circuit (IC) is formed, on its own initiative or triggered by the beginning of a transmission of a signal transmitted via the serial peripheral interface, in particular command (CNT_EN, command measure), the number (n) of oscillations of the second clock ( 2 ) and that the microcontroller (μC) is adapted to command over the Serial Peripheral Interface (SPI) to transmit the number (n) of oscillations of the second signal (ICCLK) to the integrated circuit (IC) transmit that the integrated circuit (IC) is formed, in response to the Serial Peripheral Interface (SPI), the number (n) of oscillations of the second signal (ICCLK) counted during the time period (t count ) Microcontroller (μC) to transmit that the microcontroller (μC) is formed, via the Serial Peripheral Interface (SPI) a command (set set frequency) for changing the second frequency (f 2 ) of the second signal (ICCLK) of the second clock ( 2 ) to the integrated circuit (IC). Schaltungsanordnung nach einem der Ansprüche 4 oder 5, dadurch gekennzeichnet, dass der Mikrocontroller (μC) ausgebildet ist, den Befehl (command measure) zum Zählen oder Übermitteln der Anzahl (n) der Oszillationen des zweiten Signals (ICCLK) über die Serial Data In-Leitung (SDI) des Serial Peripheral Interface (SPI) zu übermitteln und dass der integrierte Schaltkreis (IC) ausgebildet ist, die Antwort (response count) über die Serial Data Out-Leitung (SDO) des Serial Peripheral Interface (SPI) zu übermitteln und dass der Mikrocontroller (μC) ausgebildet ist, den Befehl (command set frequency) zum Ändern der zweiten Frequenz (f2) über die Serial Data In-Leitung (SDI) des Serial Peripheral Interface (SPI) zu übermitteln.Circuit arrangement according to one of claims 4 or 5, characterized in that the microcontroller (.mu.C) is formed, the command (command measure) for counting or transmitting the number (n) of the oscillations of the second signal (ICCLK) via the serial data in Line (SDI) of the Serial Peripheral Interface (SPI) to communicate and that the integrated circuit (IC) is designed to transmit the response (response count) via the Serial Data Out line (SDO) of the Serial Peripheral Interface (SPI) and in that the microcontroller (μC) is designed to transmit the command set frequency for changing the second frequency (f 2 ) via the Serial Peripheral Interface (SPI) Serial Data In Line (SDI). Schaltungsanordnung nach einem der vorangegangenen Ansprüche, dadurch gekennzeichnet, dass ein Zähler (5) vorgesehen ist, welcher eine Anzahl (n) von Oszillationen des ersten Signals (SCK) während einer Dauer (Δtshot) des einzelnen Pulses oder der Pulsfolge zählt und dass die Kalibriereinrichtung ausgebildet ist, anhand der Anzahl (n) der während der Dauer (Δtshot) gezählten Oszillationen des ersten Signals (SCK) den Pulsgeber (8) auf die von der Frequenz (f1) des ersten Signals (SCK) des ersten Taktgebers (1) abgeleitete Pulsdauer (Δtshot oder Pulsfolgedauer zu kalibrieren.Circuit arrangement according to one of the preceding claims, characterized in that a counter ( 5 ), which counts a number (n) of oscillations of the first signal (SCK) during a duration (Δt shot ) of the individual pulse or the pulse train, and in that the calibration device is designed based on the number (n) of signals during the period ( Δt shot ) counted oscillations of the first signal (SCK) the pulser ( 8th ) to that of the frequency (f 1 ) of the first signal (SCK) of the first clock ( 1 ) derived pulse duration (Δt shot or pulse duration to calibrate. Schaltungsanordnung nach Anspruch 7, dadurch gekennzeichnet, dass der Mikrocontroller (μC) ausgebildet ist, über das Serial Peripheral Interface (SPI) ein Signal (CS, SCK) zum Triggern des Pulsgebers (9) an den integrierten Schaltkreis (IC) zu übermitteln, dass der Mikrocontroller (μC) ausgebildet ist, über das Serial Peripheral Interface (SPI) einen Befehl (command measure) zum Übermitteln der Anzahl (n) der während der Pulsdauer (Δtshot) oder der Pulsfolgedauer gezählten Oszillationen des ersten Signals (SCK) an den integrierten Schaltkreis (IC) zu übermitteln, dass der integrierte Schaltkreis (IC) ausgebildet ist, als Antwort (response „count") über das Serial Peripheral Interface (SPI) die Anzahl (n) der während der Pulsdauer (Δtshot) oder der Pulsfolgedauer gezählten Oszillationen des ersten Signals (SCK) an den Mikrocontroller (μC) zu übermitteln, dass der Mikrocontroller (μC) ausgebildet ist, über das Serial Peripheral Interface (SPI) einen Befehl (command set one shot time) zum Ändern der Pulsdauer (Δtshot) oder der Pulsfolgedauer des Pulses (9) oder der Pulsfolge des Pulsgebers (8) an den integrierten Schaltkreis (IC) zu übermitteln.Circuit arrangement according to Claim 7, characterized in that the microcontroller (μC) is designed to generate, via the serial peripheral interface (SPI), a signal (CS, SCK) for triggering the pulser ( 9 ) to transmit to the integrated circuit (IC) that the microcontroller (μC) is formed, via the Serial Peripheral Interface (SPI) a command (command measure) for transmitting the number (n) during the pulse duration (Δt shot ) or to transmit to the integrated circuit (IC) oscillations of the first signal (SCK) counted in the pulse train duration that the integrated circuit (IC) is designed to respond ("count") via the Serial Peripheral Interface (SPI) the number (n ) to transmit to the microcontroller (μC) the oscillations of the first signal (SCK) counted during the pulse duration (Δt shot ) or the pulse repetition time that the microcontroller (μC) is formed, via the Serial Peripheral Interface (SPI) a command (command set one shot time) for changing the pulse duration (Δt shot ) or the pulse duration of the pulse ( 9 ) or the pulse train of the pulser ( 8th ) to the integrated circuit (IC). Schaltungsanordnung nach Anspruch 8, dadurch gekennzeichnet, dass der Mikrocontroller (μC) ausgebildet ist, das Signal (CS, SCK) zum Triggern des Pulsgebers (8) über die Chip Select Leitung (CS) oder die Serial Clock Leitung (SCK) des serial Peripheral Interface (SPI) zu übermitteln, dass der Mikrocontroller (μC) ausgebildet ist, den Befehl (command measure) zum Zählen der Anzahl (n) der Oszillationen des ersten Signals (SCK) über die Serial Data In-Leitung (SDI) des Serial Peripheral Interface (SPI) zu übermitteln und dass der integrierte Schaltkreis (IC) ausgebildet ist, die Antwort (response count) über die Serial Data Out-Leitung (SDO) des Serial Peripheral Interface (SPI) zu übermitteln und dass der Mikrocontroller (μC) ausgebildet ist, den Befehl (command set one shot frequency) zum Ändern der Pulsdauer (Δtshot) oder der Pulsfolgedauer über die Serial Data In-Leitung (SDI) des Serial Peripheral Interface (SPI) zu übermitteln.Circuit arrangement according to Claim 8, characterized in that the microcontroller (μC) is designed to generate the signal (CS, SCK) for triggering the pulser ( 8th ) via the chip select line (CS) or the serial clock line (SCK) of the serial peripheral interface (SPI) to transmit that the microcontroller (μC) is designed to command (count) the number (s) of the Transmit Oscillations of the first signal (SCK) via the serial data in line (SDI) of the Serial Peripheral Interface (SPI) and that the integrated circuit (IC) is formed, the response (response count) via the Serial Data Out line (SDO) of the Serial Peripheral Interface (SPI) and that the microcontroller (μC) is formed, the command (command set one shot frequency) for changing the pulse duration (Δt shot ) or the pulse train duration via the Serial Data In line ( SDI) of the Serial Peripheral Interface (SPI). Verfahren zum Betrieb einer Schaltungsanordnung mit einem Mikrocontroller (μC) und mit einem über ein Serial Peripheral Interface (SPI) mit dem Mikrocontroller (μC) verbundenen integrierten Schaltkreis (IC), wobei der Mikrocontroller (μC) einen ersten Taktgeber (1) zum Erzeugen eines ersten oszillierenden Signals (SCK) mit einer ersten Frequenz (f1) aufweist und wobei der integrierte Schaltkreis (IC) einen zweiten Taktgeber (2) zum Erzeugen eines zweiten oszillierenden Signals (ICCLK) mit einer zweiten Frequenz (f2) und/oder einen Pulsgeber (8) zum Erzeugen eines einzelnen Pulses (9) mit einer Pulsdauer (Δtshot) oder einer Pulsfolge mit einer Pulsfolgedauer aufweist, dadurch gekennzeichnet, dass der zweite Taktgeber (2) über das Serial Peripheral Interface (SPI) auf eine von der Frequenz (f1) des ersten Signals (SCK) des ersten Taktgebers (1) abgeleitete Frequenz kalibriert wird und/oder dass der Pulsgeber (8) über das Serial Peripheral Interface (SPI) auf eine von der Frequenz (f1) des ersten Signals (SCK) des ersten Taktgebers (1) abgeleitete Pulsdauer oder Pulsfolgedauer kalibriert wird.Method for operating a circuit arrangement having a microcontroller (μC) and having an integrated circuit (IC) connected to the microcontroller (μC) via a serial peripheral interface (SPI), the microcontroller (μC) having a first clock generator (μC) 1 ) for generating a first oscillating signal (SCK) at a first frequency (f 1 ), and wherein the integrated circuit (IC) has a second clock ( 2 ) for generating a second oscillating signal (ICCLK) having a second frequency (f 2 ) and / or a pulse generator ( 8th ) for generating a single pulse ( 9 ) having a pulse duration (Δt shot ) or a pulse train having a pulse train duration, characterized in that the second clock ( 2 ) via the Serial Peripheral Interface (SPI) to one of the frequency (f 1 ) of the ers signal (SCK) of the first clock ( 1 ) derived frequency is calibrated and / or that the pulser ( 8th ) via the Serial Peripheral Interface (SPI) to one of the frequency (f 1 ) of the first signal (SCK) of the first clock ( 1 ) derived pulse duration or pulse duration is calibrated. Verfahren nach Anspruch 10, dadurch gekennzeichnet, dass eine Anzahl (n) von Oszillationen des zweiten Signals (ICCLK) während einer Zeitdauer (tcount) gezählt wird, in welcher das erste Signal (SCK) eine vorgegebenen Anzahl (N) an Oszillationen ausführt und dass anhand eines Verhältnisses aus der Anzahl (n) der Oszillationen des zweiten Signals (ICCLK) und der Anzahl (N) der Oszillationen des ersten Signals (SCK) der zweite Taktgeber (2) auf die von der Frequenz (f1) des ersten Signals (SCK) des ersten Taktgebers (1) abgeleitete Frequenz kalibriert wird.A method according to claim 10, characterized in that a number (n) of oscillations of the second signal (ICCLK) during a period of time (t count ) is counted, in which the first signal (SCK) performs a predetermined number (N) of oscillations and in that on the basis of a ratio of the number (n) of the oscillations of the second signal (ICCLK) and the number (N) of the oscillations of the first signal (SCK) the second clock ( 2 ) to that of the frequency (f 1 ) of the first signal (SCK) of the first clock ( 1 ) derived frequency is calibrated. Verfahren nach Anspruch 11, dadurch gekennzeichnet, dass die zweite Frequenz (f2) des zweiten Signals (ICCLK) in Abhängigkeit von dem Verhältnis aus der Anzahl (n) der Oszillationen des zweiten Signals (ICCLK) und der Anzahl (N) der Oszillationen des ersten Signals (SCK) geändert wird.A method according to claim 11, characterized in that the second frequency (f 2 ) of the second signal (ICCLK) is dependent on the ratio of the number (n) of the oscillations of the second signal (ICCLK) and the number (N) of the oscillations of the first signal (SCK) is changed. Verfahren nach einem der Ansprüche 11 oder 12, dadurch gekennzeichnet, dass von dem Mikrocontroller (μC) über das Serial Peripheral Interface (SPI) ein Befehl (command measure) zum Zählen der Anzahl (n) der Oszillationen des zweiten Signals (ICCLK) an den integrierten Schaltkreis (IC) übermittelt wird, dass von dem integrierten Schaltkreis (IC) als Antwort (response count) über das Serial Peripheral Interface (SPI) die Anzahl (n) der während der Zeitdauer (tcount) gezählten Oszillationen des zweiten Signals (ICCLK) an den Mikrocontroller (μC) übermittelt wird, dass von dem Mikrocontroller (μC) über das Serial Peripheral Interface (SPI) ein Befehl (command set frequency) zum Ändern der zweiten Frequenz (f2) des zweiten Signals (ICCLK) des zweiten Taktgebers (2) an den integrierten Schaltkreis (IC) übermittelt wird.Method according to one of claims 11 or 12, characterized in that from the microcontroller (μC) via the Serial Peripheral Interface (SPI) a command (command measure) for counting the number (n) of the oscillations of the second signal (ICCLK) to the Integrated circuit (IC) is transmitted from the integrated circuit (IC) in response (response count) via the Serial Peripheral Interface (SPI) the number (n) of the counted during the time period (t count ) oscillations of the second signal (ICCLK ) is communicated to the microcontroller (μC) that from the microcontroller (μC) via the Serial Peripheral Interface (SPI) a command (set set frequency) for changing the second frequency (f 2 ) of the second signal (ICCLK) of the second clock ( 2 ) is transmitted to the integrated circuit (IC). Verfahren nach einem der Ansprüche 11 oder 12, dadurch gekennzeichnet, dass von dem integrierten Schaltkreis (IC) selbsttätig oder ausgelöst durch einen Beginn einer Übermittlung eines über das Serial Peripheral Interface übertragenen Signals, insbesondere Befehls (CNT_EN, command measure), die Anzahl (n) der Oszillationen des zweiten Taktgebers (2) gezählt werden und dass von dem Mikrocontroller (μC) über das Serial Peripheral Interface (SPI) ein Befehl (command measure) zum Übermitteln der Anzahl (n) der Oszillationen des zweiten Signals (ICCLK) an den integrierten Schaltkreis (IC) übermittelt werden, dass von dem integrierten Schaltkreis (IC) als Antwort (response count) über das Serial Peripheral Interface (SPI) die Anzahl (n) der während der Zeitdauer (tcount) gezählten Oszillationen des zweiten Signals (ICCLK) an den Mikrocontroller (μC) übermittelt wird, dass von dem Mikrocontroller (μC) über das Serial Peripheral Interface (SPI) ein Befehl (command set frequency) zum Ändern der zweiten Frequenz (f2) des zweiten Signals (ICCLK) des zweiten Taktgebers (2) an den integrierten Schaltkreis (IC) übermittelt wird.Method according to one of claims 11 or 12, characterized in that of the integrated circuit (IC) automatically or triggered by a start of a transmission of a signal transmitted via the Serial Peripheral Interface, in particular command (CNT_EN, command measure), the number (n ) of the oscillations of the second clock ( 2 ) and that a command (command measure) for transmitting the number (s) of oscillations of the second signal (ICCLK) to the integrated circuit (IC) is transmitted by the microcontroller (μC) via the serial peripheral interface (SPI), in that the number (n) of the oscillations of the second signal (ICCLK) counted during the time period (t count ) is transmitted by the integrated circuit (IC) in response to the serial peripheral interface (SPI) to the microcontroller (μC) is that from the microcontroller (μC) via the Serial Peripheral Interface (SPI) a command (set set frequency) for changing the second frequency (f 2 ) of the second signal (ICCLK) of the second clock ( 2 ) is transmitted to the integrated circuit (IC). Verfahren nach einem der Ansprüche 13 oder 14, dadurch gekennzeichnet, dass der Befehl (command measure) zum Zählen bzw. Übermitteln der Anzahl (n) der Oszillationen des zweiten Signals (ICCLK) über die Serial Data In-Leitung (SDI) des Serial Peripheral Interface (SPI) übermittelt wird und dass die Antwort (response count) über die Serial Data Out-Leitung (SDO) des Serial Peripheral Interface (SPI) übermittelt wird und dass der Befehl (command set frequency) zum Ändern der zweiten Frequenz (f2) über die Serial Data In-Leitung (SDI) des Serial Peripheral Interface (SPI) übermittelt wird.Method according to one of claims 13 or 14, characterized in that the command (measure) for counting the number (s) of oscillations of the second signal (ICCLK) via the Serial Data In line (SDI) of the Serial Peripheral Interface (SPI) is transmitted and that the response (response count) via the Serial Data Out line (SDO) of the Serial Peripheral Interface (SPI) is transmitted and that the command (command set frequency) for changing the second frequency (f 2 ) is transmitted via the Serial Data In-Line (SDI) of the Serial Peripheral Interface (SPI). Verfahren nach einem der Ansprüche 10 bis 15, dadurch gekennzeichnet, dass eine Anzahl (n) von Oszillationen des ersten Signals (SCK) während einer Dauer (Δtshot) des einzelnen Pulses oder der Pulsfolge gezählt werden und dass anhand der Anzahl (n) der während der Dauer (Δtshot) gezählten Oszillationen des ersten Signals (SCK) der Pulsgeber (8) auf die von der Frequenz (f1) des ersten Signals (SCK) des ersten Taktgebers (1) abgeleitete Pulsdauer (Δtshot) oder Pulsfolgedauer kalibriert wird.Method according to one of Claims 10 to 15, characterized in that a number (n) of oscillations of the first signal (SCK) are counted during a duration (Δt shot ) of the individual pulse or the pulse train and that the number (n) of the during the duration (Δt shot ) counted oscillations of the first signal (SCK) of the pulser ( 8th ) to that of the frequency (f 1 ) of the first signal (SCK) of the first clock ( 1 ) derived pulse duration (Δt shot ) or pulse duration is calibrated. Verfahren nach Anspruch 16, dadurch gekennzeichnet, dass von dem Mikrocontroller (μC) über das Serial Peripheral Interface (SPI) ein Signal (CS, SCK) zum Triggern des Pulsgebers (9) an den integrierten Schaltkreis (IC) übermittelt wird, dass von dem Mikrocontroller (μC) über das Serial Peripheral Interface (SPI) ein Befehl (command measure) zum Übermitteln der Anzahl (n) der während der Pulsdauer (Δtshot) oder der Pulsfolgedauer gezählten Oszillationen des ersten Signals (SCK) an den integrierten Schaltkreis (IC) übermittelt wird, dass von dem integrierten Schaltkreis (IC) als Antwort (response „count") über das Serial Peripheral Interface (SPI) die Anzahl (n) der während der Pulsdauer (Δtshot) oder der Pulsfolgedauer gezählten Oszillationen des ersten Signals (SCK) an den Mikrocontroller (μC) übermittelt wird, dass von dem Mikrocontroller (μC) über das Serial Peripheral Interface (SPI) ein Befehl (command set one shot time) zum Ändern der Pulsdauer (Δtshot) oder der Pulsfolgedauer des Pulses (9) oder der Pulsfolge des Pulsgebers (8) an den integrierten Schaltkreis (IC) übermittelt wird.Method according to Claim 16, characterized in that a signal (CS, SCK) for triggering the pulse generator (μC) is transmitted by the microcontroller (μC) via the serial peripheral interface (SPI) ( 9 ) is communicated to the integrated circuit (IC) that from the microcontroller (μC) via the Serial Peripheral Interface (SPI) a command (command measure) for transmitting the number (n) during the pulse duration (Δt shot ) or the pulse train duration is counted oscillations of the first signal (SCK) is communicated to the integrated circuit (IC) that the number (n) of the during during the. of the integrated circuit (IC) in response (count count) via the Serial Peripheral Interface (SPI) Pulse duration (.DELTA.t shot ) or the pulse repetition time counted oscillations of the first signal (SCK) to the microcontroller (.mu.C) is transmitted to the microcontroller (.mu.C) via the Serial Peripheral Interface (SPI) a command (command set one shot time) for Changing the pulse duration (Δt shot ) or the pulse duration of the pulse ( 9 ) or the pulse train of the pulser ( 8th ) is transmitted to the integrated circuit (IC). Verfahren nach Anspruch 17, dadurch gekennzeichnet, dass das Signal (CS, SCK) zum Triggern des Pulsgebers (8) über die Chip Select Leitung (CS) oder die Serial Clock Leitung (SCK) des serial Peripheral Interface (SPI) übermittelt wird, dass der Befehl (command measure) zum Übermitteln der Anzahl (n) der Oszillationen des ersten Signals (SCK) über die Serial Data In-Leitung (SDI) des Serial Peripheral Interface (SPI) übermittelt wird und dass die Antwort (response count) über die Serial Data Out-Leitung (SDO) des Serial Peripheral Interface (SPI) übermittelt wird und dass der Befehl (command set one shot frequency) zum Ändern der Pulsdauer (Δtshot) oder der Pulsfolgedauer über die Serial Data In-Leitung (SDI) des Serial Peripheral Interface (SPI) übermittelt wird.Method according to claim 17, characterized in that the signal (CS, SCK) for triggering the pulser ( 8th ) via the chip select line (CS) or the serial clock line (SCK) of the serial Peripheral Interface (SPI) is transmitted that the command (measure) for transmitting the number (s) of oscillations of the first signal (SCK) via the serial data in line (SDI) of the Serial Peripheral Interface (SPI) is transmitted and that the response (response count) is transmitted via the serial peripheral interface (SDO) of the Serial Peripheral Interface (SPI) and that the command set one shot frequency is used to change the pulse duration (Δt shot ) or the pulse repetition time over the Serial Data In-Line (SDI) of the Serial Peripheral Interface (SPI). Verwendung einer Vorrichtung nach einem der Ansprüche 1 bis 9 oder eines Verfahrens nach einem der Ansprüche 10 bis 18 zum Erhöhen der Frequenzgenauigkeit eines Dithers in einem Stromregler-IC mit via Serial Peripheral Interface (SPI) vorgegebenem Setpoint.Use of a device according to one of claims 1 to 9 or a method according to any one of claims 10 to 18 for increasing the Frequency accuracy of a dither in a current controller IC with via Serial Peripheral Interface (SPI) given setpoint.
DE200410039219 2004-08-12 2004-08-12 Timing adjustment circuit for interface, has microcontroller connected to an integrated circuit through series peripheral interface with both having a clock generator and with a calibration unit Expired - Fee Related DE102004039219B3 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
DE200410039219 DE102004039219B3 (en) 2004-08-12 2004-08-12 Timing adjustment circuit for interface, has microcontroller connected to an integrated circuit through series peripheral interface with both having a clock generator and with a calibration unit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
DE200410039219 DE102004039219B3 (en) 2004-08-12 2004-08-12 Timing adjustment circuit for interface, has microcontroller connected to an integrated circuit through series peripheral interface with both having a clock generator and with a calibration unit

Publications (1)

Publication Number Publication Date
DE102004039219B3 true DE102004039219B3 (en) 2006-02-09

Family

ID=35613042

Family Applications (1)

Application Number Title Priority Date Filing Date
DE200410039219 Expired - Fee Related DE102004039219B3 (en) 2004-08-12 2004-08-12 Timing adjustment circuit for interface, has microcontroller connected to an integrated circuit through series peripheral interface with both having a clock generator and with a calibration unit

Country Status (1)

Country Link
DE (1) DE102004039219B3 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
LU101216B1 (en) * 2019-05-15 2020-11-16 Phoenix Contact Gmbh & Co Technique for correcting a time parameter

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE19600569A1 (en) * 1995-01-10 1996-07-18 Alps Electric Co Ltd Pulse width measurement using eight-bit serial microprocessor

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE19600569A1 (en) * 1995-01-10 1996-07-18 Alps Electric Co Ltd Pulse width measurement using eight-bit serial microprocessor

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
LU101216B1 (en) * 2019-05-15 2020-11-16 Phoenix Contact Gmbh & Co Technique for correcting a time parameter
WO2020229509A1 (en) * 2019-05-15 2020-11-19 Phoenix Contact Gmbh & Co. Kg Technique for correcting a time parameter
US11907006B2 (en) 2019-05-15 2024-02-20 Phoenix Contact Gmbh & Co. Kg Technique for correcting a time parameter

Similar Documents

Publication Publication Date Title
EP2718677B1 (en) High precision synchronized measured value acquisition
DE3637145C2 (en)
DE19915398B4 (en) Method for setting delay times of a plurality of connection cards in an IC test device
DE4423186C2 (en) Method for operating an automatic test device and automatic test device
DE112006002097T5 (en) Provide accurate timing between multiple standardized test instrument chassis
DE102012218454A1 (en) SELF-SYNCHRONIZING DATA COMMUNICATION PROCESS AND SELF-SYNCHRONIZING DATA COMMUNICATION DEVICE
DE112005001517T5 (en) Synchronization between low frequency and high frequency digital signals
EP2105750A1 (en) Switch assembly, device and method for serial transmission of files through a connector
DE4123388A1 (en) DEVICE FOR GENERATING VIBRATIONS AND THEIR APPLICATION
DE10002370A1 (en) Large Scale Integration test device has I/O connections corresponding to the number of connecting pins on the LSI and a control circuits corresponding to the I/O connections
DE19534735C2 (en) Clock edge shaping circuit and method for IC test system
EP1315337A2 (en) BUS-Interface
DE102004039219B3 (en) Timing adjustment circuit for interface, has microcontroller connected to an integrated circuit through series peripheral interface with both having a clock generator and with a calibration unit
EP0042961B1 (en) Method and circuit arrangement for the generation of pulses of predetermined time relation within predetermined pulse intervals with high temporal resolution
DE102014111061A1 (en) Method, apparatus and system for communicating with a device
DE112006002098T5 (en) Provide accurate timing within a standardized test instrument chassis
DE10136852A1 (en) Generating data strobe signal for very fast semiconducting memory systems involves toggling data strobe signal in preamble period with pulse(s) coinciding with clock frequency
DE10348327B4 (en) Systems and methods for introducing test jitter into data bit streams
DE102008060426B4 (en) Signal generating circuit
WO2002073135A1 (en) Method for operating a position measuring device and position measuring device suitable therefor
DE10006144B4 (en) A timer circuit and method for generating a timing for a semiconductor test system
DE3025696A1 (en) CONTROL FOR A DIGITAL DISPLAY
DE19648968C2 (en) Tax system
DE112005002545T5 (en) Clock generator and tester
DE3226032A1 (en) GATE CIRCUIT FOR A UNIVERSAL COUNTER

Legal Events

Date Code Title Description
8100 Publication of the examined application without publication of unexamined application
8364 No opposition during term of opposition
R119 Application deemed withdrawn, or ip right lapsed, due to non-payment of renewal fee