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

Communication method between inner processors of chip

An internal processor, processor technology, applied in the direction of electrical digital data processing, instruments, digital computer parts, etc., can solve the problems of data not being received in time, lost, occupying interrupt resources, etc., to avoid untimely or unable to receive The effect of data

Active Publication Date: 2011-07-06
SPREADTRUM COMM (SHANGHAI) CO LTD
View PDF3 Cites 8 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0015] In view of this, the present invention proposes a communication method between processors inside the chip to solve the problems in the prior art that occupy too many system interrupt resources and that data cannot be received in time or even lost

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
  • Communication method between inner processors of chip
  • Communication method between inner processors of chip
  • Communication method between inner processors of chip

Examples

Experimental program
Comparison scheme
Effect test

specific Embodiment 1

[0056] The application scenario of this embodiment is that the ARM processor in the baseband chip of the mobile communication terminal sends communication primitives to the DSP processor. The specific process is as follows: figure 2 Shown:

[0057]In this embodiment, the ARM processor sends the communication primitive to the DSP processor through BUFFER_A2D;

[0058] Set a read pointer CPD_R, ​​a write pointer CPA_W and an interrupt resource MB_A2D for BUFFER_A2D;

[0059] In this embodiment, the initial values ​​of the read pointer and the write pointer both point to the first data storage block in the shared data area, that is, CPD_R=CPD_R=1;

[0060] 1. After the data transmission starts, each time the ARM processor sends the communication primitive, it first checks whether there is any free data storage block in the shared data area;

[0061] The ARM processor judges whether (CPA_W%n)+1 is equal to CPD_R, ​​if it is to perform step 6, otherwise perform step 4;

[0062]...

specific Embodiment 2

[0069] The application scenario of this embodiment is that the DSP processor in the baseband chip of the mobile terminal receives the communication primitives sent by the ARM processor. The specific process is as follows: image 3 Shown:

[0070] In this embodiment, the DSP processor receives communication primitives from the shared data area BUFFER_A2D;

[0071] A read pointer CPD_R, ​​a write pointer CPA_W and an interrupt resource MB_A2D are pre-set for the shared data area;

[0072] 1. The DSP processor responds to the MB_A2D interrupt;

[0073] 2. The DSP processor judges whether there is unprocessed data in the shared data area corresponding to the MB_A2D interrupt;

[0074] DSP processor compares CPD_R and CPA_W, if CPD_R is less than CPA_W, execute step 3, if CPD_R is greater than CPA_W, execute step 4, if CPD_R is equal to CPA_W, execute step 6;

[0075] 3. The DSP processor reads the data from the data storage block pointed to by CPD_R to the data storage block po...

specific Embodiment 3

[0079] The application scenario of this embodiment is that the ARM processor in the baseband chip of the mobile terminal receives the communication primitive sent by the DSP processor. The specific process is as follows: Figure 4 Shown:

[0080] In this embodiment, the ARM processor receives the communication primitive from the shared data area BUFFER_D2A in which the preset DSP processor sends data to the ARM processor;

[0081] A read pointer CPA_R, a write pointer CPD_W and an interrupt resource MB_D2A are pre-set for the shared data area;

[0082] 1. The ARM processor responds to the MB_D2A interrupt;

[0083] 2. The ARM processor operating system schedules tasks that need to receive communication primitives;

[0084] 3. The ARM processor judges whether there is unprocessed data in the shared data area corresponding to the MB_D2A interrupt;

[0085] ARM processor compares CPA_R and CPD_W, if CPA_R=CPD_W, judge that there is no unprocessed data storage block in the shar...

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 communication method between inner processors of a chip. As the communication between the processors is realized by a shared data region formed by a plurality of data storage blocks, each shared data region is provided with a read pointer, a write pointer and an interrupt resource, wherein a transmitting data processor can write data in an idle data storage block of the shared data region, modifies the write pointer to direct at the next idle data storage block, and transmits interrupts to inform a receiving data processor; and the receiving data processor responds to the interrupts, processes data in unprocessed data storage blocks in the shared data region according to instructions of the read pointer and the write pointer, modifies the read pointer and finishes the data receiving. The technical scheme of the invention can realize the data communication between two processors by utilizing a pair of interrupts, reduces the occupancy of interrupt resources in a system, and avoids delay data processing or data loss caused by coverage or loss of the interrupts.

Description

technical field [0001] The invention relates to a communication method between processors inside a chip. Background technique [0002] With the development of chip technology, setting multiple processors inside a single chip to run different application software has been widely used in current chip technology. For example, in the baseband chip of a mobile terminal, it usually contains a An ARM processor and a plurality of DSP processors, wherein the ARM processor is used to run the operating system, application layer software, protocol stack software, etc., and the DSP processor is used to run the physical layer software. [0003] Different application software often needs to exchange data. If multiple application software run on different processors, to realize the data interaction between them, it is necessary to realize the communication between different processors, and the baseband of the mobile terminal Chip as an example, frequent data interaction is required between...

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): G06F15/167G06F12/06
Inventor 周勃万兵夏军陈俊华孔栋李暾胡丽丽宋远峰王茂林
Owner SPREADTRUM COMM (SHANGHAI) CO LTD
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