Check patentability & draft patents in minutes with Patsnap Eureka AI!

Method for controlling multiple peripherals by CPU

A technology of control steps and timing control, applied in the input/output process of data processing, instruments, electrical digital data processing, etc., can solve the problem that the number of GPIO ports cannot meet the demand, the circuit board cannot be small and beautiful, and it occupies a lot of GPIO resources. , to save space, save costs, and reduce the number of chips

Active Publication Date: 2009-02-25
LANGCHAO ELECTRONIC INFORMATION IND CO LTD
View PDF0 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Under normal circumstances, the control of VFD and micro-printer can be realized by controlling the GPIO port of the CPU, and the chip selection control of network chips and serial chips can usually be completed by using the CPU address bus plus a decoder, increasing the bus The driving capability can also be realized by adding a driver chip, but the number of GPIO ports of the CPU cannot meet the demand when there are many peripherals. The number of chips on the circuit board cannot make the circuit board design compact and beautiful. CPLD chips are rich in resources, and the capacity can be freely selected by choosing unreasonable models. One CPLD chip can solve the above-mentioned drawbacks

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 for controlling multiple peripherals by CPU
  • Method for controlling multiple peripherals by CPU

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0012] The method of the present invention is described in detail below with reference to the accompanying drawings.

[0013] as attached figure 1 Shown, the purpose of the present invention is achieved in the following manner:

[0014] 1. The CPLD chip generates the timing control signal required by the printer according to the control signal of the CPU (referring to the nRSTOUT signal sent by the CPU and the CPLD chip chip selection signal sent by the CPU) and the decoding signal generated by decoding the six address lines and outputs it to the printer. The printer driver chip, the printer driver controls the CPU to send the data to be printed, and the CPLD chip receives the data to be printed from the data bus of the CPU, and sends the data to be printed according to the timing control logic required by the printer.

[0015] 2. The CPLD chip generates the chip selection signal of the serial port chip 16C550 chip through the decoding signal generated by decoding the address...

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 provides a method for realizing multiple peripheral controls by CPU. CPU resources are saved through a CPLD chip in an embedded arm-linux terminal system and the multiple peripheral controls are realized by CPU. The invention has the advantages that the problem of insufficient CPU resources is solved by adding a CPLD chip in the system and programming the CPLD chip; meanwhile, the number of the chips on a main board is reduced; the space of the main board is saved and the cost is saved, thereby serving the effect of achieving maximum results with little effort.

Description

technical field [0001] The invention relates to a computer application technology, in particular to a method for realizing the control of multiple peripheral devices by a CPU. Background technique [0002] With the rapid development of semiconductor technology, embedded products have been widely used in military, consumer electronics, communications, industrial control and other fields, and there are many types of embedded products based on ARM processors. The resources are abundant, but because the product requires complete functions, it is impossible to realize these functions only by relying on the on-chip resources of the CPU. Use the appropriate method. Because the embedded terminal system has many peripherals and the on-chip resources of the CPU are insufficient, this problem is solved by adding a CPLD chip to control some peripherals. Under normal circumstances, the control of VFD and micro-printer can be realized by controlling the GPIO port of the CPU, and the chi...

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
IPC IPC(8): G06F3/12G06F13/38G06F3/147G06F3/023
Inventor 刘强金长新李伟
Owner LANGCHAO ELECTRONIC INFORMATION IND CO LTD
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More