System and methods for auto-baud detection
AssigneeMicrochip Technology Incorporated
InventorsAvinash Halageri, Preetham Rajashekaraiah Premaleela, Swathi G. Bhat
Life of this patent
Estimating the term…
Abstract
A circuit may enable communication between a primary device and one or more secondary devices. The communication may utilize a Universal Asynchronous Receiver Transmitter (UART) protocol. In operation, the primary device may require information on the baud rate of the secondary device. The UART may operate in an inverted polarity mode, and this inverted polarity may be interpreted by the secondary device as a request to enter an auto-baud detection mode. Using the inverted polarity mode to enter the auto-baud detection mode may prevent excessive delays in the UART communication and may prevent the need for additional pins to implement the auto-baud detection mode.
Claims14
A system comprising:
- a primary device comprising a primary device transmitter circuit and a primary device receiver circuit;
- a secondary device comprising a secondary device transmitter circuit and a secondary device receiver circuit;
- wherein:
- the primary device enables the primary device transmitter circuit and the secondary device enables the receiver circuit in the secondary device;
- the transmitter circuit in the primary device to transmit a predetermined voltage for at least a predetermined time during an inverted polarity mode;
- the receiver circuit in the secondary device to detect the predetermined voltage for the predetermined time and to enter an auto-baud detection mode;
- the primary device to disable the transmitter circuit in the primary device and enable the receiver circuit in the primary device;
- the transmitter circuit in the secondary device to transmit a predetermined sequence;
- and
- the receiver circuit in the primary device to receive the predetermined sequence and to calculate a baud rate based on the received predetermined sequence.
A method comprising:
- enabling a transmitter circuit in a primary device;
- configuring the transmitter circuit in the primary device to an inverted polarity mode to drive a communication path to a predetermined voltage for a predetermined time;
- detecting, at a receiver circuit in a secondary device, the predetermined voltage for the predetermined time and entering an auto-baud detection mode;
- configuring, after the predetermined time, the transmitter circuit in the primary device in a non-inverted polarity mode;
- disabling the transmitter circuit in the primary device;
- enabling, responsive to entering the auto-baud detection mode, a transmitter circuit in the secondary device and transmitting a predetermined sequence on the communication path;
- receiving the predetermined sequence at the primary device and calculating a baud rate of the transmission of the predetermined sequence;
- and
- disabling the auto-baud detection mode in the primary device.
Dependencies are inferred from the claim text.