Processor and system for controlling shared access to a memory
AssigneeSTMicroelectronics S.r.l.
InventorCHRISTIAN TOURNIER
Life of this patent
Estimating the term…
Abstract
Several peripheral entities are provided, with each peripheral entity being clocked by its own internal clock signal and being able to access a single-access memory. A priority entity is defined from among the peripheral entities, and the other peripheral entities are defined as auxiliary entities. A repetitive time frame is formulated, regulated by the internal clock signal of the priority entity, and subdivided into several groups of time windows that are allocated to the peripheral entities. One of the peripheral entities is a microprocessor that is disabled for a fixed duration after each memory access request.
Claims17
A method for controlling shared access to a memory by a plurality of peripheral devices, each peripheral device being clocked by its own internal clock signal, said method comprising the steps of:
- defining one of the peripheral devices as a priority peripheral device, and defining the other peripheral devices as auxiliary peripheral devices, one of the auxiliary peripheral devices including:
- a central processing unit;
- and
- an input/output circuit that is coupled to the memory and that can store data to be written to or extracted from the memory;
- formulating a repetitive time frame that is regulated by the internal clock signal of the priority peripheral device;
- subdividing the time frame into time windows and grouping the time windows so as to form several groups of time windows;
- allocating each group of time windows to one of the peripheral devices;
- and
- when a memory access request signal is generated by the central processing unit during a time window that is not allocated to the one auxiliary peripheral device including the central processing unit, enabling data in the input/output circuit during the next time window allocated to the one auxiliary peripheral device, and disabling the internal operation of the central processing unit until a predetermined time subsequent to the time when the data in the input/output circuit is enabled.
A method for controlling shared access to a memory by a priority peripheral device and a plurality of auxiliary peripheral devices, the priority peripheral device being clocked by a first clock signal and one of the auxiliary peripheral devices being clocked by a second clock signal, the one auxiliary peripheral device including a central processing unit and an input/output circuit, said method comprising the steps of:
- formulating a repetitive time frame that is regulated by the first clock signal;
- subdividing the time frame into time windows and grouping the time windows so as to form several groups of time windows;
- allowing the one auxiliary peripheral device to access the memory during time windows in a first of the groups of time windows;
- and
- when a memory access request signal is generated by the central processing unit during a time window that is not in the first group of time windows, enabling data in the input/output circuit during the next time window in the first group of time windows, and disabling the internal operation of the central processing unit until a predetermined time subsequent to the time when the data in the input/output circuit is enabled.
A system for controlling shared access to a memory, said system comprising:
- a memory connected to a data bus and an address bus;
- a plurality of peripheral devices divided into a priority peripheral device and auxiliary peripheral devices, one of the auxiliary peripheral devices including a central processing unit and an input/output circuit, each peripheral device being clocked by its own internal clock signal and being able to generate a memory access request signal;
- a sequencer that is regulated by the internal clock signal of the priority peripheral device so as to formulate a repetitive time frame;
- and
- a control circuit that is coupled to the peripheral devices, the control circuit including an enabling circuit and an inhibiting circuit,
- wherein the time frame is subdivided into a plurality of groups of time windows,
- each group of time windows is allocated to one of the peripheral devices, and
- when a memory access request signal is generated by the one auxiliary peripheral device including the central processing unit during a time window not allocated to the one auxiliary peripheral device, the enabling circuit delivers an enabling signal to that one auxiliary peripheral device during a time window within the group of time windows allocated to the one auxiliary peripheral device, and the inhibiting circuit disables the internal operation of the central processing unit until a predetermined time subsequent to the time when the enabling circuit delivers the enabling signal.
Dependencies are inferred from the claim text.