Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

SOP packet decoding method suitable for USB-PD protocol, storage device and decoder

A technology of USB-PD and decoding method, which is applied in the field of decoding, and can solve problems such as not taking into account, affecting the reception of SOP packets, and high error packet rate

Active Publication Date: 2019-12-20
FUZHOU ROCKCHIP SEMICON
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] And most of the prior art is to utilize single-chip microcomputer to realize the receiving process of SOP bag, how to solve when there is no code error in this process, especially it still affects the SOP bag when there is only one erroneous K-code Receive, so the packet error rate is extremely high

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • SOP packet decoding method suitable for USB-PD protocol, storage device and decoder
  • SOP packet decoding method suitable for USB-PD protocol, storage device and decoder
  • SOP packet decoding method suitable for USB-PD protocol, storage device and decoder

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0024] In order to explain in detail the technical content, structural features, achieved goals and effects of the technical solution, the following will be described in detail in combination with specific embodiments and accompanying drawings.

[0025] see Figure 1 to Figure 2 , in this embodiment, a decoding method suitable for SOP packets of the USB-PD protocol can be applied to a decoder, such as figure 1 As shown, the decoder includes: 1 bmc code receiver a; 1 bmc code counter b; 1 K-code counter c; 2 K-code correctors d, e; 1 K-code start Flag f; 1 K-code end flag g; 1 K-code error flag h; and 1 sop packet decoding result register j; the bmc code receiver a is connected to bmc code counter b, K respectively -code counter c, K-code start flag f, K-code end flag g, sop packet decoding result register j and K-code corrector e; said bmc code counter b is connected to K-code counter c respectively , K-code corrector d, K-code error flag h and K-code corrector e.

[0026] ...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention relates to the technical field of decoding, in particular to an SOP packet decoding method suitable for a USB-PD protocol, storage equipment and a decoder. The SOP packet decoding methodsuitable for the USB-PD protocol comprises the following steps: after the correct receiving of Preamble is finished, starting to set f, and meanwhile, starting to count b; if the first K-code is correctly received, adding 1 to a counter c; if the first K-code is not correctly received, setting h to be 1 when b is larger than 5, and if a matching event of a K-code packet occurs when b is less thanor equal to 5, setting d to be 1; if a matching event of the K-code packet occurs when 8<=b<=10 and h=1, setting e to be 1; when d=1, correcting b to 5; when e=1, correcting b to 10; when b is equalto 20, setting g to be 1; when b is equal to 5, 10, 15 and 20 under the condition that d is equal to 1 or e is equal to 1 or K-code packets are matched, adding c with 1; carrying out sop decoding whenc is larger than or equal to 3; storing an SOP decoding result in j. According to the technical scheme, under the condition that any one K-code error or the last preamble error in the four K-codes intotal is wrong, the whole sop packet can still be completely decoded.

Description

technical field [0001] The invention relates to the technical field of decoding, in particular to a decoding method, storage device and decoder suitable for SOP packets of the USB-PD protocol. Background technique [0002] According to the requirements of Table 5-3 in Section 5.4 of the "Universal Serial Bus Power Delivery Specification", four K-codes need to be judged during the receiving process of the sop packet, and only one wrong K-code will not affect the reception of the sop packet. [0003] And most of the prior art is to utilize single-chip microcomputer to realize the receiving process of SOP bag, how to solve when there is no code error in this process, especially it still affects the SOP bag when there is only one erroneous K-code Received, so the packet error rate is extremely high. Contents of the invention [0004] For this reason, it is necessary to provide a decoding method suitable for SOP packets of the USB-PD protocol, and the specific technical scheme...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): H04N19/42H04N19/44
CPCH04N19/42H04N19/44
Inventor 施乐宁胡如波
Owner FUZHOU ROCKCHIP SEMICON
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products