Bus transceiver
11567892 · 2023-01-31
Assignee
Inventors
- Tobias Islinger (Munich, DE)
- Magnus-Maria Hell (Munich, DE)
- Maximilian Mangst (Rott am Inn, DE)
- Eric Pihet (Munich, DE)
- Jens Repp (Markt Schwaben, DE)
Cpc classification
Y02D10/00
GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
G06F13/4221
PHYSICS
International classification
Abstract
In accordance with an embodiment, an integrated driver circuit includes: a first connection and a second connection configured to be connected to a control chip; at least one bus connection configured to be connected to a bus line; and a control circuit. The control circuit is configured to operate in a first mode or a second mode; to output a reception signal at the second connection in the second mode, where the reception signal represents a bus signal received at the bus connection; to assume a state of low power consumption in the first mode; to change from the first mode to the second mode when a first command is detected at the first connection or at the second connection; and to change from the second mode to the first mode when the bus signal does not indicate any data for a predefined period of time.
Claims
1. An integrated driver circuit having: a first connection and a second connection configured to be connected to a control chip; at least one bus connection configured to be connected to a bus line; a transmitter having an output coupled to the at least one bus connection; a receiver having an input coupled to the at least one bus connection; and a control circuit coupled to the first connection, the second connection, the transmitter and the receiver, the control circuit configured to: operate in a first mode or a second mode, output a reception signal at the second connection in the second mode, wherein the reception signal represents a bus signal received at the bus connection by the receiver, assume a state of low power consumption in the first mode, change from the first mode to the second mode when a first command from the control chip is detected at the first connection or at the second connection, change from the second mode to the first mode when the bus signal received by the receiver does not indicate any data for a predefined period of time, operate in a third mode in which the transmitter is configured to transmit data received from the control chip at the first connection to the at least one bus connection, and change from the second mode to the third mode when a second command is detected at the first connection.
2. The driver circuit as claimed in claim 1, wherein the first command is represented by a binary signal having a particular sequence of level changes.
3. The driver circuit as claimed in claim 1, wherein the control circuit is further configured to output a confirmation signal at the second connection after a change has been made from the second mode to the first mode after expiry of the predefined period of time.
4. The driver circuit as claimed in claim 1, wherein: the second connection is configured as an input in the first mode, and the control circuit is configured to change from the first mode to the second mode when the first command is received at the second connection when the second connection is configured as an input.
5. The driver circuit as claimed in claim 4, wherein the second connection is configured as an output in the second mode.
6. The driver circuit as claimed in claim 1, wherein the bus signal received at the bus connection in the second mode corresponds to a 10BASE-T1S standard.
7. The driver circuit of claim 1, wherein the receiver comprises: a first comparator having an input coupled to the bus connection and an output coupled to the first connection; and a second comparator having an input coupled to the bus connection and an output coupled to the second connection.
8. The driver circuit of claim 7, wherein; the first comparator is configured to detect bus activity on the bus connection and provide a bus activity indication signal to the first connection; and the second comparator is configured to detect data received at the bus connection and provide the detected data to the second connection.
9. The driver circuit of claim 8, wherein the second comparator comprises a window comparator.
10. The driver circuit of claim 7, further comprising: a first multiplexer having a first input coupled to the output of the first comparator, a second input coupled to a mode controller, and an output coupled to the first connection; and a second multiplexer having a first input coupled to the output of the second comparator, a second input coupled to the mode controller, and an output coupled to the second connection.
11. The driver circuit of claim 10, wherein the mode controller is configured to provide data to the second connection during the second mode via the second multiplexer.
12. The driver circuit of claim 10, wherein the second comparator and the second multiplexer are configured to provide loopback data transmitted on the bus connection to the second connection during the second mode.
13. A network node comprising: a microcontroller; and an integrated driver circuit comprising a first connection connected to a first pin of the microcontroller, a second connection connected to a second pin of the microcontroller, at least one bus connection configured to be connected to a two-wire bus line, a transmitter having an output coupled to the at least one bus connection, a receiver having an input coupled to the at least one bus connection, and a control circuit coupled to the first connection, the second connection, the transmitter and the receiver, the control circuit configured to: operate in a first mode or a second mode, output a reception signal at the second connection in the second mode, wherein the reception signal represents a bus signal received at the bus connection by the receiver, assume a state of low power consumption in the first mode; change from the first mode to the second mode when a first command from the microcontroller is detected at the first connection or at the second connection, change from the second mode to the first mode when the bus signal received by the receiver does not indicate any data for a predefined period of time, wherein the microcontroller is configured to generate the first command and transmit the first command to the driver circuit, operate in a third mode in which the transmitter is configured to transmit data received from the microcontroller at the first connection to the at least one bus connection, and change from the second mode to the third mode when a second command is detected at the first connection.
14. A method for operating a driver circuit, the method comprising: receiving a first command at a first connection of the driver circuit or at a second connection of the driver circuit; changing from a first mode to a second mode when the first command is received, wherein the driver circuit assumes a state of low power consumption in the first mode; in the second mode, receiving a bus signal at a bus connection of the driver circuit and outputting a reception signal at the second connection of the driver circuit, wherein the reception signal represents data contained in the received bus signal; changing from the second mode to the first mode when the bus signal does not indicate any data for a predefined period; operating the driver circuit in a third mode comprising outputting a bus signal at the bus connection, wherein the bus signal represents a data signal received at the first connection; and changing the driver circuit from the second mode to the third mode when a second command is detected at the first connection.
15. The method as claimed in claim 14, further comprising outputting a confirmation signal at the second connection after a change has been made from the second mode to the first mode after expiry of the predefined period.
16. The method as claimed in claim 14, further comprising changing from the first mode to the second mode when the first command is received at the second connection when the second connection is configured as an input.
17. The method as claimed in claim 14, further comprising configuring the second connection as an output in the second mode.
18. The method as claimed in claim 14, wherein receiving the bus signal at the bus connection comprises receiving the bus signal according to a 10BASE-T1S standard.
19. An integrated driver circuit having: a first connection and a second connection configured to be connected to a control chip; at least one bus connection configured to be connected to a bus line; a control circuit configured to operate in a first mode or a second mode, the control circuit configured to: output a reception signal at the second connection in the second mode, wherein the reception signal represents a bus signal received at the bus connection, assume a state of low power consumption in the first mode, change from the first mode to the second mode when a first command is detected at the first connection or at the second connection, and change from the second mode to the first mode when the bus signal does not indicate any data for a predefined period of time; a first comparator having an input coupled to the bus connection and an output coupled to the first connection; a second comparator having an input coupled to the bus connection and an output coupled to the second connection; a first multiplexer having a first input coupled to the output of the first comparator, a second input coupled to a mode controller, and an output coupled to the first connection; and a second multiplexer having a first input coupled to the output of the second comparator, a second input coupled to the mode controller, and an output coupled to the second connection, wherein the mode controller is configured to provide data to the second connection during the second mode via the second multiplexer.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
(1) The exemplary embodiments are explained in more detail below on the basis of figures. The illustrations are not necessarily true to scale and the exemplary embodiments are not only restricted to the aspects illustrated. Rather, importance is placed on illustrating the principles on which the exemplary embodiments are based.
(2)
(3)
(4)
(5)
(6)
(7)
(8)
DETAILED DESCRIPTION OF ILLUSTRATIVE EMBODIMENTS
(9)
(10) According to the definition of the Open Alliance TC14, five pins are needed for communication, specifically the pins L+ and L− for connecting the two-wire line (bus line) and the pins TXD, RXD and ED which are used for communication between the microcontroller 10 and the driver IC 20. The driver IC 20 receives serial data S.sub.TX (bit stream) from the microcontroller 10 at the pin TXD, and the driver IC 20 outputs serial data S.sub.Rx (bit stream) to the microcontroller 10 at the pin RXD, and the pin ED shows the microcontroller 10 whether or not active communication is taking place on the bus. Furthermore, two pins are needed to supply the driver IC 20, specifically the supply pin VCC for receiving the supply voltage V.sub.S and the ground pin GND.
(11) The eighth pin VIO is not absolutely necessary for communication, but can be used in practice, since the supply voltage of the microcontroller 10 is not always the same and microcontrollers with different operating voltages V.sub.DD (for example 3.3 V, 5 V, etc.) can be used depending on the application. The operating voltage V.sub.DD of the microcontroller also defines the level of the signals at the pins RXD, TXD and ED, which is why the driver IC 20 must know the operating voltage V.sub.DD of the microcontroller. For this purpose, the driver IC 20 receives the operating voltage V.sub.DD of the microcontroller at the pin VIO.
(12) The driver IC 20 can operate in different modes. The modes currently defined by the Open Alliance TC14 are illustrated as an example in
(13) The RESET command is accepted in every mode and always triggers a change to the normal mode M1. The TRANSMIT command is accepted only in the normal mode M1 and triggers a change to the transmission mode M2. The SLEEP command triggers a change to the standby mode M3, and the CONFIG command triggers a change to the configuration mode M4. A change from the transmission mode M2 back to the normal mode M1 can be triggered either via the RESET command or by expiry of a timer (Jabber Timer). The jabber timer is started with the change to the transmission mode M2 and is reset with each falling edge at the TXD pin. As soon as no more bits are transmitted, the jabber timer can count up to a maximum value (for example 8 μs). As soon as this maximum value has been reached, a flag (jabber_timer_done) is set, which then triggers the change back to the normal mode M1.
(14) Data can be output to the bus line (that is to say at the pins L+ and L−) only in the transmission mode M2. The normal mode M1 is therefore also referred to as a read-only mode. A change to the start-up mode M0 is made only via a power-on-reset (POR). The CONFIG command and the SLEEP command are accepted only in the normal mode M1. The different modes can be implemented, for example, by using a finite state machine. It shall be emphasized at this point that the modes illustrated in
(15) On account of the limited number of pins of the driver IC 20, the commands mentioned are coded in the (binary) data signal S.sub.TX which is received by the driver IC 20 from the microcontroller 10 at the pin TXD. Examples of the RESET, TRANSMIT and SLEEP commands are illustrated in diagrams (a) to (c) in
(16) According to
(17) According to
(18) According to
(19)
(20) The logic circuit 24 receives the data signal S.sub.TX at the pin TXD and, on the basis of the data signal Six, generates a control signal for the driver circuit 25 with a differential output, that is to say the two outputs of the driver circuit 25 are connected to the pins L+ and L−. Depending on the control signal supplied to the driver circuit 25, the bus voltage V.sub.BUS between the pins L+ and L− may be positive, negative or approximately zero. A bus voltage V.sub.BUS above a threshold value of 30 mV, for example, can be interpreted as a high level. Equally, a bus voltage V.sub.BUS below a threshold value of −30 mV, for example, can be interpreted as a low level. However, the peak-to-peak voltage between the pins L+ and L− may be considerably higher, for example in the range of 0.8 V-2 V (depending on the termination of the line). The logic circuit 24 is also designed to decode the commands described above and to forward a received command to the mode controller 23.
(21) The threshold values mentioned (±30 mV) can be used by the (window) comparator 22 to convert the bus voltage V.sub.BUS into a corresponding binary data signal S.sub.RX which can then be output (via the multiplexer 26) at the pin RXD. However, the specific value of the comparator thresholds depends on the respective implementation. The comparator 21 generates (via the multiplexer 27) an output signal S.sub.ED, which signals activity on the bus, at the pin ED. That is to say, the signal S.sub.ED uses a high level to indicate that a positive or negative bus voltage is actively being applied to the bus (between the pins L+ and L−). If the bus voltage V.sub.BUS is close to zero, the bus output of the driver IC 20 is in a high-impedance (high Z) state. The threshold values for the comparator can be approximately 300 mV and −300 mV, for example. That is to say, the output signal S.sub.ED from the comparator 21 uses a high level to indicate bus activity when the bus voltage V.sub.BUS is greater than 300 mV or less than −300 mV. The threshold values may also depend on the actual bus voltage (peak-to-peak value).
(22) The mode controller 23 “sees” the received commands (cf.
(23) On the side of the microcontroller 10, the mode controller 13 is designed, in the event of an upcoming mode change, to output the corresponding command to the logic unit 14 which outputs the command by encoding the signal S.sub.TX, as illustrated in
(24) In the transmission mode M2, the bit stream received at the pin TXD is output on the bus (bus voltage V.sub.Bus between pins L+ and L−). In addition (also in other modes), the pin TXD can be used to transmit commands to the driver IC 20. The RXD pin is required only in the normal mode M1 if a signal is received at the pins L+, L−. If this is not the case, the RXD pin can be used to transmit other, additional information to the microcontroller 10. Depending on the implementation, the receiver (comparator 22) may also be active in the transmission mode M2, with the result that the signal transmitted to the bus is also simultaneously received again (loopback).
(25)
(26) After the time t.sub.2, the microcontroller 10 initiates a further mode change by transmitting the RESET command (cf.
(27) Existing concepts and specifications depend on the microcontroller 10 always being available and communication between the microcontroller 10 and the driver IC 20 being possible at any time. However, if the microcontroller 10 is defective or switched off, is just restarting or does not function as desired on account of another problem, the driver IC 20 can no longer be controlled by the microcontroller 10. Such a situation is usually undesirable in terms of safety. This problem is solved by means of the behavior of the driver IC 20, illustrated in
(28) Until the time t.sub.4, the example from
(29)
(30) In the examples described above, the driver IC 20 was designed to receive commands from the microcontroller 10 at the TXD pin, at which data to be transmitted to the bus are also received. It may also be desirable to transmit data and commands to the driver IC 20 in different ways. According to the example from
(31) The example from
(32) After the time t.sub.3, the driver IC 20 operates in the normal mode again and is ready to receive data. If—as in the previous example from