Supercharge Your Innovation With Domain-Expert AI Agents!

Microcontroller peripheral expansion method based on dual buses

A microcontroller and peripheral expansion technology, applied in the direction of instrumentation, electrical digital data processing, etc., can solve the problems of slow peripheral access speed, limited expansion ability, long MOVX execution time, etc.

Inactive Publication Date: 2010-10-06
广州市花都区中山大学国光电子与通信研究院
View PDF0 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The disadvantage of this expansion method is that the peripheral access speed is slow, because the instruction MOVX to access the off-chip data memory takes a long time to execute, and at the same time, its expansion capability is limited. When there are a large number of peripherals that need to be expanded, the expansion work will become extremely complicated.

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
  • Microcontroller peripheral expansion method based on dual buses
  • Microcontroller peripheral expansion method based on dual buses
  • Microcontroller peripheral expansion method based on dual buses

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0032] In the following, a 32-bit random number generator is extended by using the double-bus expansion method described in the present invention, and the operations such as loading seeds and taking random numbers of the random number generator by micro-control can be realized through programming, as shown in the figure attached figure 2 shown.

[0033] (1) configure off-chip special function register bus off-chip register bus and off-chip data memory bus, namely configure address bus, data bus and control bus for the off-chip register bus and off-chip data memory bus of microcontroller 10, wherein The control bus mainly includes read enable signal, write enable signal, chip select signal and so on. Off-chip special function register bus The off-chip register bus includes read enable signal (xsfr_rd), write enable signal (xsfr_wr), address signal (xsfr_addr), source data signal (xsfr_src), and destination data signal (xsfr_des). Similarly, the off-chip data memory bus also i...

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 microcontroller peripheral expansion method based on dual buses, which comprises the following steps that: (1) an off-chip register bus and an off-chip data memory bus are configured; (2) register modules are respectively added to the off-chip register bus and the off-chip data memory bus; (3) port registers which are connected with the periphery are configured in the register modules; (4) address spaces are distributed for the port registers; (5) the periphery is connected with the register modules; and (6) a peripheral driving program is prepared. The dual-bus peripheral expansion method adopts different bus expansion for the nature of different peripheral ports so that the advantages of the two buses are fully displayed, adopts high-speed off-chip register bus expansion for a control port register and a state port register with quite high requirement on the speed, and adopts off-chip data peripheral memory bus expansion with ample address space for a data register with quite a lot of occupied address space.

Description

technical field [0001] The invention relates to the technical field of microcontroller peripheral expansion, in particular to a dual-bus-based microcontroller peripheral expansion method based on the combination of an off-chip register bus and an off-chip data memory bus. Background technique [0002] A microcontroller (MCU, Micro Control Unit) is a microcomputer that integrates a central processing unit (CPU), a certain capacity of memory, and a number of input / output ports on a small silicon chip, also known as a single-chip microcomputer. Since the microcontroller came out in the 1970s, it has been widely used in scientific research, production, life and other fields, and has had a great impact on the development of human society. In particular, the MCS-51 series microcontrollers produced by Intel Corporation of the United States quickly occupied industrial measurement and control and automation engineering due to their advantages such as high integration, strong processi...

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): G06F13/40
Inventor 谭洪舟胡建国丁颜玉林克李斯宇
Owner 广州市花都区中山大学国光电子与通信研究院
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More