System and method for automatically selecting baud rate in a CAN network
AssigneeSchneider Electric It Corporation
InventorBibin Andrews
Life of this patent
Estimating the term…
Abstract
According to various aspects and embodiments, a device is provided. The device includes a memory, a Controller Area Network (CAN) controller coupled to a CAN bus, at least one processor coupled to the memory and the CAN controller. The at least one processor is configured to set the CAN controller to a first baud rate, determine a second baud rate, and send, in response to determining the second baud rate, a baud rate change request via the CAN bus, wherein the baud rate change request includes a least an identifier of the second baud rate.
Claims17
A device comprising:
- a memory;
- a Controller Area Network (CAN) controller coupled to a CAN bus;
- at least one processor coupled to the memory and the CAN controller, the at least one processor being configured to:
- set the CAN controller to a first baud rate;
- determine a second baud rate;
- send, in response to determining and prior to setting the CAN controller to the second baud rate, a baud rate change request via the CAN bus, wherein the baud rate change request includes at least an identifier of the second baud rate;
- determine a timeout has elapsed;
- send, in response to determining the timeout has elapsed, a baud rate confirmation request via the CAN bus;
- and
- set the CAN controller to the second baud rate.
A computer-implemented method of selecting baud rates using a computer, the computer including a memory, a Controller Area Network (CAN) controller coupled to a CAN bus, and at least one processor coupled to the CAN controller and the memory, the method comprising:
- setting the CAN controller to a first baud rate;
- determining a second baud rate;
- sending, in response to determining and prior to setting the CAN controller to the second baud rate, a baud rate change request via the CAN bus, wherein the baud rate change request includes at least an identifier of the second baud rate;
- determining a timeout has elapsed;
- sending, in response to determining the timeout has elapsed, a baud rate confirmation request via the CAN bus;
- and
- setting the CAN controller to the second baud rate.
A non-transitory computer readable medium having stored thereon sequences of instructions for selecting baud rates for a device coupled to a Controller Area Network (CAN) bus, the instructions causing at least one processor to:
- set a CAN controller to a first baud rate;
- determine a second baud rate;
- send, in response to determining and prior to setting the CAN controller to the second baud rate, a baud rate change request via the CAN bus, wherein the baud rate change request includes at least an identifier of the second baud rate;
- determine a timeout has elapsed;
- send, in response to determining the timeout has elapsed, a baud rate confirmation request via the CAN bus;
- and
- set the CAN controller to the second baud rate.
Dependencies are inferred from the claim text.