IP Library Granted Patent US 8,370,716
Granted Patent B2
US 8,370,716 · App. 12/652,174 · Granted Feb 5, 2013

USB device and correction method thereof

Inventor: Yu-Lung Lin (Taipei, TW)
Assignee: VIA Technologies, Inc.
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 8,370,716
App. No.
12/652,174
Granted
Feb 5, 2013
Kind
B2
Abstract

A universal serial bus (USB) device for receiving data from a link partner is provided. An electrical physical unit receives a series of data from the link partner via a cable and generates a symbol string corresponding to the series of data, wherein the symbol string includes a plurality of symbols. A correction unit receives the symbol string, determines whether each symbol of the received symbol string is a first type symbol and counts a quantity of the received first type symbol, wherein when the counted quantity is odd and a next received symbol is a second type symbol, the next received symbol is replaced with the first type symbol by the correction unit.

Claims (39)

1. A universal serial bus (USB) device with a first clock for receiving data from a link partner, comprising:

an electrical physical unit coupled to the link partner via a cable, receiving a series of bit data from the link partner and generating a symbol string corresponding to the series of bit data, wherein the symbol string comprises a plurality of symbols;

a correction unit coupled to the electrical physical unit, receiving the symbol string, determining whether each symbol of the received symbol string is a first type symbol and counting a quantity of the received first type symbol, wherein when the counted quantity is odd and a next received symbol is a second type symbol, the next received symbol is replaced with the first type symbol by the correction unit, wherein the first type symbol is a skip symbol.

2. The USB device as claimed in claim 1 , further comprising:

a decoder, decoding the symbol from the correction unit to generate a decoded data; and

a de-scrambler, de-scrambling the decoded data according to a seed and comprising:

a linear feedback shifter register, providing the seed according to a specific look-up table, and updating the seed when the decoded data corresponds to the second type symbol.

3. The USB device as claimed in claim 2 , wherein the linear feedback shifter register stops updating the seed when the decoded data corresponds to the first type symbol.

4. The USB device as claimed in claim 2 , wherein the linear feedback shifter register initializes the seed when the decoded data corresponds to the second type symbol and the second type symbol is a correction symbol.

5. The USB device as claimed in claim 4 , wherein the link partner comprises a scrambler, and the link partner transmits the correction symbol to synchronize a linear feedback shifter register of the scrambler and the linear feedback shifter register of the de-scrambler.

6. The USB device as claimed in claim 1 , wherein the link partner transmits even numbers of the first type symbols to the electrical physical unit between a first packet and a second packet.

7. The USB device as claimed in claim 2 , further comprising:

a clock difference compensation unit coupled between the correction unit and the decoder, adjusting an amount of the first type symbol to compensate for a clock difference between the first clock and a second clock of the link partner.

8. The USB device as claimed in claim 7 , wherein the clock difference compensation unit increases the amount of the first type symbol to compensate for the clock difference when frequency of the first clock is larger than that of the second clock, and the clock difference compensation unit decreases the amount of the first type symbol to compensate for the clock difference when the frequency of the first clock is smaller than that of the second clock.

9. The USB device as claimed in claim 1 , wherein the correction unit comprises a counter for counting the quantity of the successively received first type symbols.

10. The USB device as claimed in claim 9 , wherein the correction unit resets the counter when the next received symbol is replaced with the first type symbol.

11. A correction method for a universal serial bus (USB) device with a first clock, comprising:

receiving a series of bit data from a link partner and generating a symbol string corresponding to the series of bit data, wherein the symbol string comprises a plurality of symbols;

receiving the symbol string, determining whether each symbol of the received symbol string is a first type symbol and counting a quantity of the received first type symbol, wherein the first type symbol is a skip symbol; and

replacing a next received symbol with the first type symbol when the next received symbol is a second type symbol and the counted quantity is odd.

12. The correction method as claimed in claim 11 , further comprising:

decoding the symbol to generate a decoded data; and

de-scrambling the decoded data according to a seed.

13. The correction method as claimed in claim 12 , wherein the step of de-scrambling the decoded data further comprises:

providing the seed according to a specific look-up table, and updating the seed when the decoded data corresponds to the second type symbol; and

stopping updates to the seed when the decoded data corresponds to the first type symbol.

14. The correction method as claimed in claim 13 , wherein the step of de-scrambling the decoded data further comprises:

initializing the seed when the decoded data corresponds to the second type symbol and the second type symbol is a correction symbol.

15. The correction method as claimed in claim 11 , wherein even numbers of the first type symbols are transmitted between a first packet and a second packet by the link partner.

16. The correction method as claimed in claim 12 , further comprising:

adjusting an amount of the first type symbol to compensate for a clock difference between the first clock and a second clock of the link partner.

17. The correction method as claimed in claim 16 , wherein the step of adjusting the amount of the first type symbol further comprises:

increasing the amount of the first type symbol to compensate for the clock difference when frequency of the first clock is larger than that of the second clock; and

decreasing the amount of the first type symbol to compensate for the clock difference when the frequency of the first clock is smaller than that of the second clock.

18. The correction method as claimed in claim 11 , wherein the step of counting the quantity of the received first type symbol further comprises:

counting a quantity of the successively received first type symbols.

19. The correction method as claimed in claim 11 , further comprising:

re-counting the quantity of the received first type symbols when the next received symbol is replaced with the first type symbol.

20. The USB device as claimed in claim 1 , wherein the correction unit re-counts the quantity of the received first type symbols when the next received symbol is replaced with the first type symbol.

Assignments (2)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jun 23, 2020
From: VIA TECHNOLOGIES, INC.
To: VIA LABS, INC.
Reel/Frame 053014/0275 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jan 5, 2010
From: LIN, YU-LUNG
To: VIA TECHNOLOGIES, INC.
Reel/Frame 023733/0663 →
Priority Claims (1)
TW 98135736 A · Oct 22, 2009 · national
Continuity (1)
Related Publication 20110099411A1 · Apr 28, 2011