USB port controller with automatic transmit retries and receive acknowledgements
First Claim
Patent Images
1. A universal serial bus (USB) controller, comprising:
- a USB power connector adapted to be coupled to a USB compatible device, the USB power connector configured to selectively transfer power between the USB controller and the USB compatible device;
a transceiver adapted to be coupled to the USB compatible device, the transceiver configured to selectively transfer data between the USB controller and the USB compatible device; and
a logic circuit coupled to the transceiver, and adapted to be coupled to a host processor, the logic circuit configured to;
implement a lower protocol layer to interface the transceiver with an upper protocol layer of the host processor;
receive a transmit control message from the upper protocol layer, the transmit control message specifying an outgoing packet type and an integer number K retries to transmit outgoing packet data from the upper protocol layer to the USB compatible device;
transmit an outgoing packet, according to the desired outgoing packet type specified in the transmit control message and including the outgoing packet data, from the upper protocol layer to the USB compatible device via the transceiver;
automatically retransmit the outgoing packet up to K times independent of the upper protocol layer, if no acknowledgement of receipt of the outgoing packet by the USB compatible device is received by the transceiver in a time period; and
send a transmit failure message to the host processor if no acknowledgement of receipt of the outgoing packet by the USB compatible device is received by the USB controller after K retries.
0 Assignments
0 Petitions
Accused Products
Abstract
Described examples include USB controllers and methods of interfacing a host processor with one or more USB ports with the host processor implementing an upper protocol layer and a policy engine for negotiating USB power delivery parameters, in which the USB controller includes a logic circuit implementing a lower protocol layer to provide automatic outgoing data transmission retries independent of the upper protocol layer of the host processor. The controller logic circuit further implements automatic incoming data packet validity verification and acknowledgment independent of the upper protocol layer of the host processor.
-
Citations
7 Claims
-
1. A universal serial bus (USB) controller, comprising:
-
a USB power connector adapted to be coupled to a USB compatible device, the USB power connector configured to selectively transfer power between the USB controller and the USB compatible device; a transceiver adapted to be coupled to the USB compatible device, the transceiver configured to selectively transfer data between the USB controller and the USB compatible device; and a logic circuit coupled to the transceiver, and adapted to be coupled to a host processor, the logic circuit configured to; implement a lower protocol layer to interface the transceiver with an upper protocol layer of the host processor; receive a transmit control message from the upper protocol layer, the transmit control message specifying an outgoing packet type and an integer number K retries to transmit outgoing packet data from the upper protocol layer to the USB compatible device; transmit an outgoing packet, according to the desired outgoing packet type specified in the transmit control message and including the outgoing packet data, from the upper protocol layer to the USB compatible device via the transceiver; automatically retransmit the outgoing packet up to K times independent of the upper protocol layer, if no acknowledgement of receipt of the outgoing packet by the USB compatible device is received by the transceiver in a time period; and send a transmit failure message to the host processor if no acknowledgement of receipt of the outgoing packet by the USB compatible device is received by the USB controller after K retries. - View Dependent Claims (2, 3, 4, 5)
-
-
6. A method of interfacing a host processor with a USB port using a USB controller, the method comprising:
-
receiving, in the USB controller, a transmit control message from an upper protocol layer of the host processor, the transmit control message specifying an outgoing packet type and an integer number K retries for transmitting outgoing packet data from an upper protocol layer of the host processor to a USB compatible device; transmitting an outgoing packet including the outgoing packet data according to the outgoing packet type specified in the transmit control message, from the USB controller to a USB communications line; if no acknowledgement of receipt of the outgoing packet by the USB compatible device is received by the USB controller in a time period, automatically retransmitting the outgoing packet from the USB controller to the USB communications line up to K times independent of the host processor; and if no acknowledgement of receipt of the outgoing packet by the USB compatible device is received by the USB controller after K retries, sending a transmit failure message from the USB controller to the host processor. - View Dependent Claims (7)
-
Specification