Unlock instant, AI-driven research and patent intelligence for your innovation.

Sampling method for analog-to-digital conversion chip

An analog-to-digital conversion and chip technology, applied in the direction of analog-to-digital converters, simulators, general control systems, etc., can solve the problems of increased design cost, loss of sampling points, high interrupt rate, etc., to improve efficiency, real-time fast and accurate acquisition, The effect of functional simplification

Active Publication Date: 2015-11-11
威胜能源技术股份有限公司
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] At present, there are many ADC chips using SPI communication on the market. For example, Ti’s ADS1178 has the following problems when communicating with IT company’s C6000 series DSP: 1) The SPI interrupt method is used to receive sampling data, and there is a problem of high interrupt rate. (The interrupt speed is 6-8 times the sampling rate), the interrupt overhead is large
2) Using TI's C6000 sequence DSP chip, because its library function will prohibit any interrupt response after entering the pipeline, this will definitely cause the loss of sampling points, resulting in serious consequences
3) Adding a CPLD or FPGA for timing conversion or dedicated sampling will greatly increase the design cost

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
  • Sampling method for analog-to-digital conversion chip
  • Sampling method for analog-to-digital conversion chip

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0016] The present invention will be further described below in conjunction with the accompanying drawings.

[0017] like figure 1 As shown, the present invention carries out the design of DSP processor DMA event and trigger mechanism through the characteristic of analog-to-digital conversion chip, and utilizes DSP processor internal DMA resource, does not need any CPU to participate in, can finish continuous automatic sampling. The analog-to-digital conversion chip of the present invention can adopt the analog-to-digital conversion chip of TI Company, and its model is ADS1178; The DSP processor adopts the DSP processor chip of TI Company, and its model is TMS320C67XX.

[0018] When working, use the three-wire SPI port to directly connect with the processor. The DSP processor uses EDMA for data communication. There are 3 DMA channels to participate in the data sampling of the present invention, and its specific operation steps are as follows:

[0019] Step 1, initialize the...

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 sampling method for an analog-digital conversion chip. The sampling method for the analog-digital conversion chip comprises the steps of (1) allocating a general purpose input or output (GPIO) pin according to the Ready signals of the analog-digital conversion chip, arranging the Ready signals to be triggered when falling edge exists, (2) allocating a extended direct memory access (EDMA) parameter table, receiving and sending events by an enabled serial peripheral interface_ direct memory adapter (SPI_DMA) and stopping the events by an GPIO in an event enabled register, and allocating a channel parameter table corresponding to the events, (3) arranging a serial peripheral interface (SPI) module of a digital signal processor (DSP)to be a master module, arranging enabled SPI_DMA module, and arranging SPI clock frequency, (4) enabling analog-digital (AD) sampling, and automatically placing sampling data into a data buffer. The sampling method for the analog-digital conversion chip has the advantages of consuming no central processing unit (CPU) in the process of sampling, greatly improving efficiency of a system performing application programs, ensuring real-time performance and continuity of data without losing data when sampling is stopped, and meanwhile being simple and reliable in operation.

Description

technical field [0001] The invention relates to a continuous automatic sampling method of an analog-to-digital conversion chip based on DMA and SPI communication ports. Background technique [0002] At present, there are many ADC chips using SPI communication on the market. For example, Ti’s ADS1178 has the following problems when communicating with IT company’s C6000 series DSP: 1) The SPI interrupt method is used to receive sampling data, and there is a problem of high interrupt rate. (The interrupt speed is 6-8 times the sampling rate), and the interrupt overhead is large. 2) Using TI's C6000 serial DSP chip, because its library function will prohibit any interrupt response after entering the pipeline, this will definitely cause the loss of sampling points, resulting in serious consequences. 3) Adding a piece of CPLD or FPGA for timing conversion or dedicated sampling will greatly increase the design cost. Contents of the invention [0003] The purpose of the present ...

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): H03M1/12G05B19/042
Inventor 刘铁军田丰张武娟沈合堂
Owner 威胜能源技术股份有限公司