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

A kind of decoding method, storage device and decoder suitable for sop packets of usb-pd protocol

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

Active Publication Date: 2021-10-01
FUZHOU ROCKCHIP SEMICON
View PDF5 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
  • A kind of decoding method, storage device and decoder suitable for sop packets of usb-pd protocol
  • A kind of decoding method, storage device and decoder suitable for sop packets of usb-pd protocol
  • A kind of decoding method, storage device and decoder suitable for sop packets of usb-pd protocol

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 conjunction 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 present 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. Described a kind of decoding method applicable to the SOP packet of USB-PD protocol, comprises the steps: after Preamble is received correctly, starts setting f, and b starts counting simultaneously; If the first K-code is received correctly, c counter adds 1 ;If the first K-code is not received correctly, set h to 1 when b>5; if a K-code packet matching event occurs when b<=5, then set d to 1; if 8<=b< =10 and h=1 when a K-code packet matching event occurs, set e to 1; when d=1, correct b to 5; when e=1, correct b to 10; when b=20 , set g to 1; when d=1 or e=1 or b=5, 10, 15, and 20 in the case of K-code packet matching, add 1 to c respectively; perform sop decoding when c>=3 ; Sop decoding result stored in j. Through this technical solution, the entire sop package can still be completely decoded in the case of any one K-code error or the last preamble error in a total of four K-codes.

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 Patents(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