CN103117765B - The communication means of a kind of radio-frequency module and smart card module and radio frequency smart card - Google Patents

The communication means of a kind of radio-frequency module and smart card module and radio frequency smart card Download PDF

Info

Publication number
CN103117765B
CN103117765B CN201310055446.XA CN201310055446A CN103117765B CN 103117765 B CN103117765 B CN 103117765B CN 201310055446 A CN201310055446 A CN 201310055446A CN 103117765 B CN103117765 B CN 103117765B
Authority
CN
China
Prior art keywords
smart card
interface
radio
module
data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201310055446.XA
Other languages
Chinese (zh)
Other versions
CN103117765A (en
Inventor
曾华新
黄小鹏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Eastcompeace Technology Co Ltd
Original Assignee
Eastcompeace Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Eastcompeace Technology Co Ltd filed Critical Eastcompeace Technology Co Ltd
Priority to CN201310055446.XA priority Critical patent/CN103117765B/en
Publication of CN103117765A publication Critical patent/CN103117765A/en
Application granted granted Critical
Publication of CN103117765B publication Critical patent/CN103117765B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention provides communication means and the radio frequency smart card of a kind of radio-frequency module and smart card module, the SPI interface of radio-frequency module and the SPI expansion interface of smart card module are defined as holotype respectively and from pattern, add an auxiliary signal line in-between and by the memory address space of the data receiver Buffer mapping of SPI interface to CPU simultaneously, by SPI expansion interface and the interrupt interface of smart card module, the digital signal data that radio-frequency module exports directly is transferred to smart card module, by after the CPU process of smart card module again by SPI expansion interface, be transferred to radio-frequency module.Data like this from CPU ancillary equipment SPI interface directly can be employed program use, operation is moved without the need to what carry out data, cpu busy percentage is high, also without the need to specialized radio frequency protocol processing unit, communication steps simplifies, smart card architecture is simple, and this auxiliary signal does not affect traditional SPI interface communication, versatility and autgmentability strong.

Description

The communication means of a kind of radio-frequency module and smart card module and radio frequency smart card
[technical field]
The invention belongs to technical field of intelligent card, particularly relate to communication means and the radio frequency smart card of a kind of radio-frequency module and smart card module.
[background technology]
At present, the form that intelligent card chip realizes radio-frequency enabled has three kinds, one is two interface chip modules that radio-frequency module and intelligent card chip bind together, it two is separated with smart card module for radio-frequency module, intermodule is by SWP interface communication, it three is radio-frequency module and smart card module clastotype, and intermodule is by S2C interface communication.The first form is two module bindings, and its communication speed is fast, but expanded application is restricted, and user selects the degree of freedom limited; Second and third kind of form is two module clastotypes, but smart card needs support specific SWP interface or S2C interface, the selection of same smart card module is restricted, and once the built-in SWP interface of smart card module or S2C interface, the application scenario of smart card module is also restricted.
[summary of the invention]
In order to solve the above-mentioned technical problem existed in prior art, the invention provides a kind of cpu busy percentage high, communication steps simplifies, and smart card architecture is simple, the communication means of the radio-frequency module that versatility, autgmentability are strong and smart card module and radio frequency smart card.
The present invention solves the technical scheme that prior art problem adopts:
The communication means of a kind of radio-frequency module and smart card module, by SPI expansion interface and the interrupt interface of smart card module, the digital signal data that radio-frequency module exports directly is transferred to smart card module, by the CPU process of smart card module, again by SPI expansion interface after process, be transferred to radio-frequency module.
Further, this communication means includes following steps:
The SPI interface of radio-frequency module and the SPI expansion interface of smart card module are defined as holotype respectively and from pattern, add an auxiliary signal line in-between and by the memory address space of the data receiver Buffer mapping of SPI interface to CPU simultaneously;
B. radio-frequency module senses radiofrequency field signal, is sent by the rf data received after demodulation by its holotype SPI interface;
After the chip select signal sent from Mode S PI interface to effective holotype SPI interface of c. smart card module, enter operating state, by clock signal and the input signal received RF data from pattern, send interrupt signal through interrupt interface to CPU simultaneously;
After d.CPU receives INT interrupt signal, CPU accesses by address bus ABUS and data bus dbus the data receiving fifo buffer, the data placement to be sent processed is being sent fifo buffer, and Data_int signal is set, notice radio-frequency module smart card module data are ready to, when radio-frequency module is by after taking response data away from the output signal of Mode S PI interface and clock signal, Data_int signal setting is invalid by smart card module.
A kind of radio frequency smart card, include radio-frequency module and smart card module, described radio-frequency module is provided with holotype SPI interface, described smart card module be provided with conducting connect from Mode S PI interface, CPU and internal memory, described holotype SPI interface and being connected by auxiliary signal line mutual conduction between Mode S PI interface, and be provided with in described internal memory and receive fifo buffer and send fifo buffer.
Beneficial effect of the present invention is as follows:
By communication means and the radio frequency smart card of radio-frequency module of the present invention and smart card module, data from CPU ancillary equipment SPI interface directly can be employed program and use, operation is moved without the need to what carry out data, save time and the power consumption of data-moving, cpu busy percentage is high, also without the need to specialized radio frequency protocol processing unit, communication steps simplifies, smart card architecture is simple, and this auxiliary signal does not affect traditional SPI interface communication, namely can not use in traditional SPI interface communication, versatility and autgmentability strong.
[accompanying drawing explanation]
Fig. 1 is the flow chart of the communication means embodiment of radio-frequency module of the present invention and smart card module;
Fig. 2 is the structural representation of radio frequency smart card of the present invention.
[embodiment]
In order to make object of the present invention, technical scheme and advantage clearly understand, below in conjunction with drawings and Examples, the present invention is further elaborated.Should be appreciated that specific embodiment described herein only in order to explain the present invention, be not intended to limit the present invention.
As shown in fig. 1:
Embodiments provide the communication means of a kind of radio-frequency module and smart card module, by SPI expansion interface and the interrupt interface of smart card module, the digital signal data that radio-frequency module exports directly is transferred to smart card module, by the CPU process of smart card module, again by SPI expansion interface after process, be transferred to radio-frequency module.Specifically include following steps:
The SPI interface of radio-frequency module and the SPI expansion interface of smart card module are defined as holotype and from pattern by steps A 1. respectively, add an auxiliary signal line in-between and by the memory address space of the data receiver Buffer mapping CPU of SPI interface simultaneously.
Steps A 2. radio-frequency module senses radiofrequency field signal, is sent by the rf data received after demodulation by its holotype SPI interface.
After the chip select signal sent from Mode S PI interface to effective holotype SPI interface of steps A 3. smart card module, enter operating state, by clock signal and the input signal received RF data from pattern, send interrupt signal through interrupt interface to CPU simultaneously.
After steps A 4.CPU receives INT interrupt signal, CPU accesses by address bus ABUS and data bus dbus the data receiving fifo buffer, the data placement to be sent processed is being sent fifo buffer, and Data_int signal is set, notice radio-frequency module smart card module data are ready to, when radio-frequency module is by after taking response data away from the output signal of Mode S PI interface and clock signal, Data_int signal setting is invalid by smart card module.
As shown in Figure 2:
The invention provides a kind of radio frequency smart card, include radio-frequency module 1 and smart card module 2, described radio-frequency module 1 is provided with holotype SPI interface 11, described smart card module 2 is provided with from Mode S PI interface 21, CPU22 and internal memory 23, describedly to be connected with CPU22 conducting from Mode S PI interface 21 through interrupt interface, CPU22 is connected with internal memory 23 conducting with data/address bus (DBUS) through address bus (ABUS), described holotype SPI interface 11 and being connected by an auxiliary signal line mutual conduction between Mode S PI interface 21, and be provided with reception fifo buffer 231 in internal memory 23 and send fifo buffer 232.
The operation principle of radio frequency smart card of the present invention is: first, and radio-frequency module 1 senses radiofrequency field signal through induction antenna, and the rf data received is sent to smart card module 2 by its holotype SPI interface 11 after demodulation; Then, smart card module 2 from Mode S PI interface 21 received RF data, simultaneously send interrupt signal through interrupt interface to CPU22; Then, after CPU22 receives interrupt signal, the data receiving fifo buffer 231 are accessed by address bus and data/address bus, and these data are processed, after having processed, data placement to be sent is being sent fifo buffer 232, send Data_int signal to radio-frequency module 1 simultaneously, notify that its smart card module data are ready to; Finally, radio-frequency module 1 is by after taking response data away from the output signal of Mode S PI interface 21 and clock signal, and Data_int signal setting is invalid by smart card module.
Like this, by communication means and the radio frequency smart card of radio-frequency module of the present invention and smart card module, data from CPU22 ancillary equipment SPI interface directly can be employed program and use, operation is moved without the need to what carry out data, save time and the power consumption of data-moving, cpu busy percentage is high, also without the need to specialized radio frequency protocol processing unit, communication steps simplifies, smart card architecture is simple, and this auxiliary signal does not affect traditional SPI interface communication, namely can not use in traditional SPI interface communication, versatility and autgmentability strong.
Above content is in conjunction with concrete optimal technical scheme further description made for the present invention, can not assert that specific embodiment of the invention is confined to these explanations.For general technical staff of the technical field of the invention, without departing from the inventive concept of the premise, some simple deduction or replace can also be made, all should be considered as belonging to protection scope of the present invention.

Claims (2)

1. the communication means of a radio-frequency module and smart card module, it is characterized in that, by SPI expansion interface and the interrupt interface of smart card module, the digital signal data that radio-frequency module exports directly is transferred to smart card module, by the CPU process of smart card module, again by SPI expansion interface after process, be transferred to radio-frequency module;
It comprises the following steps:
A. the SPI interface of radio-frequency module and the SPI expansion interface of smart card module are defined as holotype respectively and from pattern, add an auxiliary signal line in-between and by the memory address space of the data receiver Buffer mapping of SPI interface to CPU simultaneously;
B. radio-frequency module senses radiofrequency field signal, is sent by the rf data received after demodulation by its holotype SPI interface;
After the chip select signal sent from Mode S PI interface to effective holotype SPI interface of c. smart card module, enter operating state, by clock signal and the input signal received RF data from pattern, send interrupt signal through interrupt interface to CPU simultaneously;
After d.CPU receives INT interrupt signal, CPU accesses by address bus ABUS and data bus dbus the data receiving fifo buffer, the data placement to be sent processed is being sent fifo buffer, and Data_int signal is set, notice radio-frequency module smart card module data are ready to, when radio-frequency module is by after taking response data away from the output signal of Mode S PI interface and clock signal, Data_int signal setting is invalid by smart card module.
2. a radio frequency smart card, include radio-frequency module (1) and smart card module (2), it is characterized in that, described radio-frequency module (1) is provided with holotype SPI interface (11), described smart card module (2) be provided with conducting connect from Mode S PI interface (21), CPU (22) and internal memory (23), describedly to be connected with CPU (22) conducting from Mode S PI interface (21) through interrupt interface, CPU (22) is connected with internal memory (23) conducting with data bus dbus through address bus ABUS, described holotype SPI interface (11) and being connected by an auxiliary signal line mutual conduction between Mode S PI interface (21), and be provided with reception fifo buffer (231) in internal memory (23) and send fifo buffer (232).
CN201310055446.XA 2013-02-21 2013-02-21 The communication means of a kind of radio-frequency module and smart card module and radio frequency smart card Active CN103117765B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310055446.XA CN103117765B (en) 2013-02-21 2013-02-21 The communication means of a kind of radio-frequency module and smart card module and radio frequency smart card

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310055446.XA CN103117765B (en) 2013-02-21 2013-02-21 The communication means of a kind of radio-frequency module and smart card module and radio frequency smart card

Publications (2)

Publication Number Publication Date
CN103117765A CN103117765A (en) 2013-05-22
CN103117765B true CN103117765B (en) 2016-02-24

Family

ID=48416050

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310055446.XA Active CN103117765B (en) 2013-02-21 2013-02-21 The communication means of a kind of radio-frequency module and smart card module and radio frequency smart card

Country Status (1)

Country Link
CN (1) CN103117765B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201263176Y (en) * 2008-09-08 2009-06-24 厦门盛华电子科技有限公司 Device for implementing forced mobile phone closedown
CN101552733A (en) * 2009-05-15 2009-10-07 深圳华为通信技术有限公司 Data transmission realizing method and system based on SPI
CN202472720U (en) * 2012-03-01 2012-10-03 东信和平智能卡股份有限公司 NFC RF smart card with acceleration transducer

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7308516B2 (en) * 2004-04-26 2007-12-11 Atmel Corporation Bi-directional serial interface for communication control

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201263176Y (en) * 2008-09-08 2009-06-24 厦门盛华电子科技有限公司 Device for implementing forced mobile phone closedown
CN101552733A (en) * 2009-05-15 2009-10-07 深圳华为通信技术有限公司 Data transmission realizing method and system based on SPI
CN202472720U (en) * 2012-03-01 2012-10-03 东信和平智能卡股份有限公司 NFC RF smart card with acceleration transducer

Also Published As

Publication number Publication date
CN103117765A (en) 2013-05-22

Similar Documents

Publication Publication Date Title
CN108494414B (en) Ultra-low power consumption multimode wireless module of internet of things
CN103200081B (en) A kind of things-internet gateway development platform towards heterogeneous network environment
CN202949416U (en) Circuit structure and mobile terminal supporting wireless fidelity (WIFI) and bluetooth communication
EP3062564A1 (en) Power saving method and apparatus for multimode terminal
WO2012139389A1 (en) Baseband radio frequency interface based on software defined radio and application method therefor
CN203590225U (en) Ultra long distance bluetooth communication module
CN105786741A (en) SOC high-speed low-power-consumption bus and conversion method
CN105406883A (en) Wireless communication device
CN103117765B (en) The communication means of a kind of radio-frequency module and smart card module and radio frequency smart card
CN106788808A (en) A kind of radio signal quality detector and method
CN203596667U (en) Wireless memory based on magnetic coupling resonant mode power supply
CN106411339A (en) Radio monitoring and receiving system based on direct frequency conversion
CN203859885U (en) Extending circuit board and terminal
CN203722645U (en) Radio monitoring receiving system based on ARM technology
CN205883718U (en) MIPI uses high -speed circuit board
CN104008076A (en) Bus data signal transmitting method and device capable of supporting DVFS
CN205228473U (en) Miniature navigational computer based on field programmable gate array
CN203554495U (en) Network-type RF wireless intelligent gas meter management gateway
CN208190652U (en) A kind of mainboard of full duplex Universal Synchronous Asynchronous serial transceiver
CN202771456U (en) Wireless storage SD card
Lei et al. Design of a Handheld UHF RFID Reader for the Internet of Things
CN102801439A (en) Three-network fused intelligent terminal device based on TD-LTE (Time Division-Long Term Evolution)
CN207833021U (en) A kind of miniaturization commercial satellite navigation neceiver board
CN209882113U (en) Dual-mode communication device and dual-mode communication module
CN204131510U (en) A kind of high-stability radio-frequency signal R-T unit

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant