Method and device for expanding LPC (linear predictive coding) peripheral on basis of GPIO (general purpose input/output) interface

A technology of peripheral expansion and interface, applied in instruments, electrical digital data processing, etc., to ensure reliability and meet the effect of flexibility

Active Publication Date: 2014-07-09
NAT UNIV OF DEFENSE TECH
View PDF5 Cites 19 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, at present, many systems can only be applied in the system through the more complex interface of the South Bridge.

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
  • Method and device for expanding LPC (linear predictive coding) peripheral on basis of GPIO (general purpose input/output) interface
  • Method and device for expanding LPC (linear predictive coding) peripheral on basis of GPIO (general purpose input/output) interface
  • Method and device for expanding LPC (linear predictive coding) peripheral on basis of GPIO (general purpose input/output) interface

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0035] Such as figure 1 As shown, the implementation steps of the LPC peripheral extension method based on the GPIO interface in this embodiment are as follows:

[0036] 1) Based on the two-way asynchronous request-response handshake protocol, the message request initiated by the CPU through the GPIO interface is received through multiple handshake transmissions. The optional field information of the message request includes three types of information: message header, address, and data. The types of message requests include DMA read, DMA write, LPC device read request, LPC device write request, and the message request type is DMA read or LPC device write request only contains message header and address information but not data information , the address information of the message request whose type is DMA read and DMA write is the DMA channel number; analyze the message request, judge its sending target according to the message header of the message request, if the sending targ...

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 discloses a method and a device for expanding an LPC (linear predictive coding) peripheral on the basis of a GPIO (general purpose input/output) interface. The method includes primarily communicating the LPC peripheral with the GPIO interface of a CPU (central processing unit) on the basis of a two-way asynchronous request-acknowledge handshake protocol; forwarding received messages to the lower-level LPC peripheral by the aid of a secondary synchronous handshake protocol or interrupting operation on an internal register; reversely initiating interrupt requests to the GPIO interface of the CPU if serial interrupt requests or internal interrupt requests of the LPC peripheral are received. The device comprises a GPIO and LPC interface module, an LPC bus protocol control module and an LPC serial interrupt control module. The GPIO and LPC interface module is connected with the CPU. The method and the device have the advantages that the LPC peripheral can be expanded easily and flexibly, a system can be expanded conveniently, communication is irrelevant to particular clocks, special requirements on a clock of the GPIO interface can be omitted, communication data are reliable, hardware resources can be saved, and the method and the device are transparent for upper-layer users.

Description

technical field [0001] The invention relates to the technical field of peripheral expansion of embedded systems, in particular to a GPIO interface-based LPC peripheral expansion method and device. Background technique [0002] In the current microprocessor design, some processors such as THG26F07BD are designed with LPC protocol interface, which can be used directly because it complies with the timing requirements of the synchronous interface of the LPC protocol specification. However, many other microprocessors are not designed with an LPC interface, so that the LPC interface will not be applicable in the system. At present, most of the existing processors have GPIO interfaces, but they cannot directly use LPC devices through the GPIO interfaces. This is because the GPIO interface cannot complete effective clock synchronization communication with the LPC device. Even if the GPIO interface operates within the specified time to execute effective commands within the rated cyc...

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): G06F13/38
Inventor 马爱永张明郭御风邓宇龚锐任巨石伟高正坤窦强
Owner NAT UNIV OF DEFENSE TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products