Controller area network module and a method for the CAN module
AssigneeNXP B.V.
InventorsBernd Uwe Gerhard Elend, Matthias Berthold Muth
Life of this patent
Estimating the term…
Abstract
The present disclosure relates to a CAN controller module. The CAN controller module is configured to detect transmission errors during transmissions of bits of a CAN frame via a CAN but and to handle these transmission errors robustly such that a high transmission rate is possible even if the transmission errors occur. The present disclosure also relates to a method for the CAN controller module.
Claims20
A Controller Area Network, CAN, device, comprising:
- a transmit data, TXD, interface, for sending a TXD signal,
- a receive data, RXD, interface, for receiving an RXD signal,
- a CAN controller coupled to both, the TXD interface and the RXD interface,
- wherein the CAN device is configured to perform the following steps:
- detect a first reference time at an end of an idle state of a CAN bus based on the RXD signal;
- sample a first bit value of the RXD signal at a first sample time, wherein a first time interval between the first reference time and the first sample time is between 30% and 90% of a predefined reference time interval;
- and
- sample a second bit value of the RXD signal at a second sample time such that the predefined reference time interval is provided between the first sample time and the second sample time;
- wherein the CAN device is further configured according to one of the two following configurations:
- in a first configuration, if the second bit value represents a dominant signal level, discarding the first or second bit value so that the remaining, non-discarded bit value forms a start bit value;
- or
- in a second configuration, if the second bit value represents a dominant signal level, discarding the first and second bit values and replacing the discarded first and second bit values by an additionally acquired or determined start bit value of the RXD signal which represents a dominant signal level and to which a start sample time is assigned which is arranged between the first sample time and the second sample time;
- and
- wherein the CAN device is further configured to perform the following steps:
- sample at least a third bit value of the RXD signal;
- and
- generate an RXD frame based on the bit values of the RXD signal, except for at least one discarded bit value of the first and second bit values.
A Method for a Controller Area Network, CAN, device, which comprises a transmit data, TXD, interface, a receive data, RXD, interface, a CAN controller coupled to both, the TXD interface and the RXD interface, wherein the method comprising the following steps:
- receiving an RXD signal via the RXD interface;
- detecting a first reference time at an end of an idle state of a CAN bus based on the RXD signal;
- sampling a first bit value of the RXD signal at a first sample time, wherein a first time interval between the first reference time and the first sample time is between 60% and 90% of a predefined reference time interval;
- and
- sampling a second bit value of the RXD signal at a second sample time such that the predefined reference time interval is provided between the first sample time and the second sample time;
- wherein the CAN device is further configured according to one of the following configurations:
- in a first configuration, discarding, if the second bit value represents a dominant signal level, the first or second bit values so that the other bit value forms a start bit value;
- or
- in a second configuration, discarding, if the second bit value represents a dominant signal level, the first and second bit values and replacing the discarded first and second bit values by an additionally acquired or determined start bit value of the RXD signal which represents a dominant signal level and to which a start sample time is assigned which is arranged between the first sample time and the second sample time;
- and
- wherein the method comprises the further steps of:
- sampling at least a third bit value of the RXD signal;
- and
- generating an RXD frame based on the bit values of the RXD signal, except for at least one discarded bit value of the first and second bit values.
Dependencies are inferred from the claim text.