Systems and methods for coherent data transfer with sync in a multiple core processor
AssigneeWoodward, Inc.
InventorsWilliam P. Neff, Bryan R. Haack, Timothy W. McDonald, Todd L. Marcusen
Life of this patent
Estimating the term…
Abstract
Methods and systems for a digital signal processor (DSP) to transmit data between a first central processing unit (CPU) core (a producing core) and a second CPU core (a consuming core). The first and second CPU cores are time-aligned, such that cycles of one or more frames of the first CPU core correlate to one or more cycles of the second CPU core. The first and second CPU cores are configured to access a shared memory, through which data can be written and/or read by the first and second CPU cores.
Claims15
A digital signal processor (DSP) for an electronic controller, comprising:
- a first central processing unit (CPU) core;
- a second CPU core aligned with a cycle of the first CPU core;
- and
- a shared memory accessible to both the first CPU core and the second CPU core, wherein the first CPU core is configured to:
- write data to a first portion of the shared memory;
- and
- write a first flag to the shared memory;
- wherein the second CPU is configured to:
- query the first portion of the shared memory for the first flag;
- and
- in response to confirmation the first flag is present at the shared memory, read the data from the first portion of the shared memory,
- wherein the first CPU core includes a major frame having two or more minor frames, and the second CPU core includes a plurality of consuming frames, the first CPU core to query the shared memory at a start or an end of a minor frame of the two or more minor frames, and
- wherein the minor frame operates at a first frequency and the plurality of consuming frames operate at a second frequency that is greater than the first frequency.
A method for digital signal processing for an electronic control comprising:
- aligning timing of a first CPU core and a second CPU core, wherein the aligning of the timing includes aligning a minor frame of the first CPU core to a plurality of consuming frames of the second CPU core, the minor frame operating at a first frequency and the plurality of consuming frames operating at a second frequency that is greater than the first frequency;
- writing data from the first CPU core to a shared memory;
- writing a first flag to the shared memory;
- querying, by the second CPU core, the shared memory for the first flag;
- confirming the first flag is present at the shared memory;
- and
- reading the data from the shared memory.
A method for digital signal processing for an electronic control comprising:
- aligning timing of a minor frame of a first CPU core to one or more consuming frames of a second CPU core, wherein the minor frame operates at a 20 KHz frequency and the one or more consuming frames operate at a 5 kHz frequency;
- writing data from the first CPU core to a shared memory;
- transmitting, from the first CPU core, a first flag to the second CPU core, the first flag including an address storing the data in the shared memory;
- receiving, at the second CPU core, the first flag;
- accessing, by the second CPU core, the data at the address in the shared memory;
- and
- reading the data by the second CPU core.
Dependencies are inferred from the claim text.