Unlock instant, AI-driven research and patent intelligence for your innovation.

Method for expanding M module address space by using GPIO (General Purpose Input/Output) pin of processor

An address space, processor technology, applied in the direction of memory address/allocation/relocation

Inactive Publication Date: 2012-07-04
HARBIN INST OF TECH
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

S3C4510B provides 14 address lines for address decoding for peripherals, and the maximum memory space required by the M module can reach 16M bytes, requiring 24 address lines for decoding, and the M module controller itself also has Need some configuration space

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
  • Method for expanding M module address space by using GPIO (General Purpose Input/Output) pin of processor
  • Method for expanding M module address space by using GPIO (General Purpose Input/Output) pin of processor
  • Method for expanding M module address space by using GPIO (General Purpose Input/Output) pin of processor

Examples

Experimental program
Comparison scheme
Effect test

specific Embodiment approach 1

[0010] The specific embodiment one, utilize the method for processor GPIO pin expansion M module address space, its method is: use 14 address lines in the peripheral hardware address of ARM processor as the low order of M module address, use 11 bits of ARM processor Bit GPIO is used as the high bit of the M module address;

[0011] In the driver program in the ARM processor, the address of the M module to be accessed is converted into the GPIO address and peripheral address that the ARM processor can access. In order to ensure the efficiency of calculation, the GPIO address conversion method only uses AND or and shift operations , for example, in this design it is assumed that the address to be accessed is a (a is 25), and the lower 14 bits of a are directly given by the 16K address space of the S3C4510B peripheral space; its 14 to 21 bits are provided by the 0 to 7 bits of the S3C4510B GPIO It is calculated (assuming its value is b); its 22 to 24 bits are calculated from 15 t...

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 method for expanding an M module address space by using a GPIO (General Purpose Input / Output) pin of a processor, relates to a method for expanding the M module address space and solves the problem on the expansion of the address space of the external I / O (Input / Output) of a S3C4510 B. The method comprises the following steps of: taking a 14-bit address wire in a peripheral address of an ARM (Advanced RISC Machine) processor as the low bit of the M module address and taking 11-bit GPIO of the ARM processor as the high bit of the M module address; and converting an M module address to be accessed in a driver into the combination of a GPIO address and a peripheral address which can be accessed by the ARM processor according to a rule, setting the GPIO value of the ARM processor in the driver, making the GPIO value of the ARM processor valid, and accessing the peripheral address by the driver, thus the access of the ARM processor to the M module address space tobe accessed can be realized, and further the address wire width of an M module controller can be expanded to 25 bits by the GPIO pin of the ARM processor. The method is suitable for expanding the M module address space.

Description

technical field [0001] The invention relates to a method for extending the address space of an M module. Background technique [0002] The M module is a kind of small backplane that is widely used. Its interface signal is simple, it supports multiple data transmission methods including fast data transmission methods, there are various sizes and structures to choose from, and it also supports interrupts, triggers, etc. The device synchronization function is very suitable for the application of instrument development. Using the structure of ARM processor plus FPGA is the method often used when designing M module intelligent carrier board. Samsung's S3C4510B is currently one of the most widely used ARM processor chips. [0003] Although the core of the ARM processor (such as the ARM7TDMI embedded processor) is a 32-bit processor, the corresponding address space is 4G bytes, but the width of the external address line drawn by the S3C4510B chip is only 22 bits, and the extended...

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
Patent Type & Authority Patents(China)
IPC IPC(8): G06F12/06
Inventor 刘兆庆乔立岩刘旺黄敏李乃海彭喜元
Owner HARBIN INST OF TECH