Claims
- 1. A microcontroller capable of executing an 8051 instruction set, comprising:
a memory control circuit; and first and second input/output (I/O) ports coupled to the memory control circuit and controlled thereby such that the first I/O port is a dedicated data port and the second I/O port is a dedicated address port providing a multiplexed address when the microcontroller is in a page mode of operation.
- 2. The microcontroller of claim 1, wherein:
the first and second I/O ports are eight bit ports.
- 3. The microcontroller of claim 1, wherein:
when the microcontroller is configured in the page mode of operation, a memory cycle to external memory is capable of being performed in a single machine cycle.
- 4. The microcontroller of claim 3, wherein;
the microcontroller performs the memory cycle in a single machine cycle upon the occurrence of a page hit.
- 5. The microcontroller of claim 1, wherein:
a bus structure corresponding to the first and second I/O ports is configurable when the microcontroller is in a page mode.
- 6. The microcontroller of claim 1, wherein:
when the microcontroller is in the page mode of operation, a number of machine cycles for performing a memory cycle to external memory using the first and second I/O ports is configurable.
- 7. The microcontroller of claim 6, wherein:
in a first configuration, a memory cycle to external memory is capable of being performed in a single machine cycle.
- 8. The microcontroller of claim 7, wherein:
in a second configuration, memory cycles to external memory are performed in a plurality of machine cycles.
- 9. In an 8051 based microcontroller, a method of controlling an external memory device for performing memory operations in a page mode, comprising:
controlling a first input/output (I/O) port of the microcontroller as a data port for handling data associated with a memory operation; and controlling a second I/O port of the microcontroller as an address port for handling a multiplexed address associated with the memory operation.
- 10. The method of claim 9, further comprising:
maintaining page mode information; and executing each page hit memory operation in a first predetermined number of machine cycles and each page miss memory operations in a second predetermined number of machine cycles based upon the page mode information.
- 11. The method of claim 10, wherein:
the first predetermined number is one.
- 12. The method of claim 9, further comprising:
maintaining page mode information; and selecting a number of machine cycles for executing each page hit memory operation and a number of machine cycles for executing each page miss memory based upon the page mode information.
- 13. The method of claim 9, further including:
maintaining page mode information; wherein the step of selectively controlling the first I/O port comprises controlling the first I/O port as a data port based upon the page mode information; and the step of selectively controlling the second I/O port comprises controlling the second I/O port as an address port based upon the page mode information.
- 14. A microcontroller, comprising:
a first input/output (I/O) port; a second I/O port; and a memory control circuit for controlling the first and second I/O ports and configuring the cycle time of memory cycles to external memory in a page mode of operation using the first and second I/O ports.
- 15. The microcontroller of claim 14, wherein the memory control circuit comprises:
a register, at least one bit of the register is dedicated to identify the cycle time of memory cycles to external memory in a page mode of operation.
- 16. The microcontroller of claim 15, wherein:
the at least one bit of the register comprises two bits thereof.
- 17. The microcontroller of claim 15, wherein:
based upon a value of the bit of the register, the memory control circuit selectively configures the cycle time of page hit memory cycles to external memory using the first and second I/O ports to be a single machine cycle.
- 18. The microcontroller of claim 17, wherein:
based upon a value of the bit of the register, the memory control circuit selectively configures the cycle time of page miss memory cycles to external memory using the first and second I/O ports to be two machine cycles.
- 19. The microcontroller of claim 14, wherein:
the microcontroller is an 8051 compatible microcontroller; and the memory control circuit selectively dedicates the first I/O port as a data bus for memory cycles to external memory and selectively dedicates the second I/O port as an address bus for the memory cycles to external memory when in the page mode of operation.
- 20. The microcontroller of claim 19, wherein:
the memory control circuit selectively dedicates the second I/O port as an address bus for handling multiplexed addresses.
- 21. The microcontroller of claim 19, wherein:
the microcontroller includes a register, at least one bit of the register identifying whether the first I/O port is to be dedicated as a data bus and the second I/O port is to be dedicated as an address bus.
- 22. An apparatus, comprising:
memory; and a microcontroller connected to the memory and capable of executing an 8051 instruction set, comprising:
a memory control circuit; and first and second input/output (I/O) ports coupled to the memory control circuit and controlled thereby such that the first I/O port is a dedicated data port and the second I/O port is a dedicated address port providing a multiplexed address when the microcontroller is in a page mode of operation.
- 23. The apparatus of claim 22, wherein:
the first and second I/O ports are eight bit ports.
- 24. The apparatus of claim 22, wherein:
when the microcontroller is configured in the page mode of operation, a memory cycle to the memory is capable of being performed in a single machine cycle.
- 25. The apparatus of claim 24, wherein;
the microcontroller performs the memory cycle in a single machine cycle upon the occurrence of a page hit.
- 26. The apparatus of claim 22, wherein:
a bus structure corresponding to the first and second I/O ports is configurable when the microcontroller is in the page mode.
- 27. The apparatus of claim 22, wherein:
when the microcontroller is in the page mode of operation, a number of machine cycles for performing a memory cycle to the memory using the first and second I/O ports is configurable.
- 28. The apparatus of claim 27, wherein:
in a first configuration, a memory cycle to the memory is capable of being performed in a single machine cycle.
- 29. The apparatus of claim 28, wherein:
in a second configuration, memory cycles to the memory are performed in a plurality of machine cycles.
CROSS-REFERENCES TO RELATED APPLICATIONS
[0001] This Nonprovisional Application for Patent claims the benefit of priority from, and hereby incorporates by reference the entire disclosure of, co-pending U.S. Provisional Application for Patent Serial No. 60/223,176, filed on Aug. 7, 2000, and co-pending U.S. Provisional Application for Patent Serial No. 60/223,668, also filed on Aug. 7, 2000.
Provisional Applications (2)
|
Number |
Date |
Country |
|
60223176 |
Aug 2000 |
US |
|
60223668 |
Aug 2000 |
US |