Microcomputer and microcomputer system

Electrical computers and digital processing systems: processing – Processing architecture – Microprocessor or multichip or multimodule processor having...

Reexamination Certificate

Rate now

  [ 0.00 ] – not rated yet Voters 0   Comments 0

Details

Reexamination Certificate

active

06763448

ABSTRACT:

BACKGROUND OF THE INVENTION
In general, the present invention relates to a microcomputer and a semiconductor integrated circuit including an embedded data-transfer device. More particularly, the present invention relates to an effective technology applicable to typically a single-chip data processor or a single-chip microcomputer.
A typical microcomputer comprises functional blocks such as a CPU (central processing circuit) serving as a nucleus component, a ROM (read-only memory) for storing a program, a RAM (random-access memory) for storing data and an input/output circuit for inputting and outputting data which are built on a semiconductor substrate as described on pages 540 to 541 of a publication entitled “LSI Handbook” published by Ohm Corporation on Nov. 30, 1984.
The microcomputer may include an embedded DMAC (direct memory access controller) which is capable of transferring data independently of the CPU. An example of a document describing such a microcomputer is Japanese Patent Laid-open No. Hei 5-307516.
In addition, a microcomputer may have an external-bus-right releasing function for releasing a right to make an access to an external bus to an external device. After the right to make an access to the external bus has been granted to an external device, however, the CPU is still capable of carrying out an operation using an internal bus such as an operation to read out information from the ROM. If a DMAC is connected to the external bus of the microcomputer as an external device, it is possible to transfer data through the external bus using the external DMAC in parallel to an operation based on the internal bus such as an operation to read out information from the ROM. Japanese Patent Laid-open No. Hei 4-24854 is an example of a document describing a microcomputer wherein a CPU's operation based on an internal bus and a DMAC's operation based on an external bus can be carried out concurrently. Japanese Patent Laid-open No. Hei 1-187682 is an example of a document describing the use of 2 DMACs operating concurrently.
The inventor of the present invention studied a microcomputer including an embedded DMAC, a system employing such a microcomputer and a system comprising a microcomputer with a function to grant a right to make an access to an external bus and an external DMAC connected to the external bus.
In the first place, in the case of a microcomputer including an embedded DMAC, the DMAC can be activated by an interrupt request and is capable of operating in modes such as a repeat mode and a block-transfer mode. In a system such as a printer, a microcomputer including an embedded DMAC is suitable for a plurality of processes to control a stepping motor, control of data to be printed on the printer and operations to store incoming data into a memory, allowing a plurality of data-transfer channels to be provided.
Even though the data-transfer control of the DMAC is executed independently of the operation of the CPU, however, data is transferred by the DMAC through a bus shared by the CPU so that bus cycles required for transferring the data inevitably halt the operation of the CPU. Assume for example that data is transferred by an embedded DMAC from a RAM to an input/output circuit. In this case, a data transfer requires 6 states, i. e., 2 states for an access to the RAM, 3 states for an access to the input/output circuit and 1 state for a dead cycle. During these 6 states, the CPU is not capable of using the bus. 1 state is typically but not limited to 1 period of a reference clock signal of a data processing LSI such as a microcomputer.
In a system comprising a microcomputer with a function to grant a right to make an access to an external bus and an external DMAC connected to the external bus, on the other hand, an operation using an internal bus such as an operation carried out by a CPU to read out data from a ROM can be carried out concurrently with an operation carried out by the external DMAC to transfer data through the external bus.
In an operation to grant a right to make an access to the external bus from the microcomputer to an external component such as DMAC, however, the microcomputer must exchange signals such as a request signal and an acknowledge signal with the external component. To be more specific, the microcomputer must recognize a request signal generated by the external component and issue an acknowledge signal to the external component to recognize the request signal, spending an extra time for the exchange of the signals. In addition, in order to avoid a bus-usage collision between the microcomputer and the external DMAC, it is necessary to set a time during which both the microcomputer and the external DMAC are not using the shared bus. Such a time most likely becomes an overhead which has nothing to do with the actual operation to transfer data through the shared bus. When an overhead is required before and after each transfer of data, the overheads have a magnitude which is hardly negligible in comparison with the data transfer period itself. Moreover, if a general-purpose external DMAC is employed, some functions of the DMAC are not utilized. Thus, such a DMAC can not be said to be a cost-effective solution. If a DMAC suitable for a system is developed individually for each system only because a general-purpose DMAC is not cost effective as described above, however, the development of such a DMAC specialized for a system will incur as much a cost as the development of a new LSI separate from the microcomputer, most likely raising a manufacturing-cost problem.
SUMMARY OF THE INVENTION
Take a system such as a printer as an example. During a printing operation, it is necessary to drive a stepping motor for driving the printing mechanism and to carry out data processing peculiar to the system such as creation of data to be printed. It is also necessary to receive data from a host apparatus asynchronously with the operating state of the printer. Other systems employing a microcomputer and a DMAC include digital equipment such as a digital video deck, a DVD (digital video disc) drive and a digital TV. In such systems, it is necessary to perform signal processing such as a process to decode a digital signal and a process to encode audio and/or analog signals. In the digital equipment, it is also necessary to input and output a digital signal. In addition, it is also conceivably necessary to drive a motor for driving a medium such as a tape or a disc used for recording a digital signal. In order to increase the speed, the performance and the precision of these pieces of equipment such as the printer, the digital video deck, the DVD drive and the digital TV, it is necessary to enhance the processing power of the microcomputer employed thereby.
The needs described above led the inventor of the present invention to come up with an idea of incorporating an embedded data-transfer device such as a DMAC in a microcomputer and to discover the importance of enhancement of the total processing performance of the whole system through the use of the microcomputer.
With regard to the importance of the total processing performance enhancement, the inventor disclosed an invention of a microcomputer in Japanese Patent Laid-open No. Hei 11-36949. According to the disclosed invention, the microcomputer employs: an embedded data-transfer unit such as a direct memory access controller for controlling a transfer of data through an external bus of the microcomputer; and an embedded bus-control means for allowing an instruction using an internal bus to be executed by a data processing unit such as a CPU concurrently with a transfer of data through the external bus carried out by the data-transfer unit. The data-transfer unit is designed mainly for use in data-transfer control external to the microcomputer. In addition, in a dual-address transfer carried out by the data-transfer unit, data read out from an address in an external source is temporarily stored in a latch circuit such as an input/output port composing a bus-interface means for interfacing with

LandOfFree

Say what you really think

Search LandOfFree.com for the USA inventors and patents. Rate them and share your experience with other people.

Rating

Microcomputer and microcomputer system does not yet have a rating. At this time, there are no reviews or comments for this patent.

If you have personal experience with Microcomputer and microcomputer system, we encourage you to share that experience with our LandOfFree.com community. Your opinion is very important and Microcomputer and microcomputer system will most certainly appreciate the feedback.

Rate now

     

Profile ID: LFUS-PAI-O-3185255

  Search
All data on this website is collected from public sources. Our data reflects the most accurate information available at the time of publication.