A smart card module with improved spi interface sub-module

A technology of SPI interface and smart card, which is applied in the field of mobile communication, can solve problems such as slow speed, and achieve the effects of arbitrary address adjustment and fast data transfer

Active Publication Date: 2015-12-02
EASTCOMPEACE TECH
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The disadvantage is: the speed is slow, and the data of the SPI interface must be moved before it can be used by the application program

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
  • A smart card module with improved spi interface sub-module

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0016] This embodiment provides a smart card module that can quickly realize data transfer between the FIFO buffer and the CPU, which includes: memory, CPU and SPI interface;

[0017] Both the SPI interface and the memory are connected to the address bus ABUS and the data bus DBUS of the CPU;

[0018] The FIFO buffer is any area in the CPU that can read and write the memory;

[0019] The SPI interface is provided with: the register rFIFOoffset for specifying the offset address of the receiving FIFO buffer in the smart card module memory, the register rFIFOLen for specifying the length of the FIFO buffer, and the length of the FIFO buffer for specifying the received FIFO buffer The register rLen, the sFIFOoffset used to specify the offset address of the sending FIFO buffer in the smart card memory, and the register sLen used to specify the length of the sending FIFO buffer.

[0020] In summary, the registers rFIFOoffset, rFIFOLen, and rLen control the SPI interface receive FIF...

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 provides a smart card module capable of improving a serial peripheral interface (SPI) submodule. The smart card module comprises internal storage, a central processing unit (CPU) and the SPI submodule. The SPI submodule and the internal storage are both connected with an address bus (ABUS) and a data bus (DBUS) of the CPU. Any continuous regions of the internal storage can be read and written to a first input first output (FIFO) buffering region by the CPU. A register rFIFOoffset, a register rFIFOLen, a register rLen, a register sFIFOoffset and a register sLen are arranged inside the SPI submodule. The register rFIFOoffset is used for receiving an offset address of the FIFO buffering region at the internal storage of the smart card module in an appointed mode. The register rFIFOLen is used for receiving the length of the FIFO buffering region in the appointed mode. The register rLen is used for appointing the length of received data of the FIFO buffering region. The register sFIFOoffset is used for sending the offset address of the FIFO buffering region at the internal storage of the smart card module in the appointed mode. The register sLen is used for sending the length of the FIFO buffering region in the appointed mode.

Description

technical field [0001] The invention relates to the technical field of mobile communication, in particular to a mechanism in which the SPI interface can directly use the memory of the smart card module as a FIFO buffer in the smart card module. Background technique [0002] The FIFO buffer of the SPI interface on the smart card chip of the prior art is separated from the memory of the CPU. Through the participation of the CPU, the data in the FIFO buffer is moved to the memory of the CPU one by one, or the FIFO buffer is moved to the memory of the CPU by DMA. The data in the zone is moved to the CPU memory in batches. The disadvantage is: the speed is slow, and the data of the SPI interface must be moved before it can be used by the application program. Contents of the invention [0003] In view of this, it is necessary to provide a faster method for moving data between the FIFO buffer and the CPU in view of the problems mentioned in the background art. [0004] The purp...

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/08G06F13/16
Inventor 曾华新黄小鹏
Owner EASTCOMPEACE TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products