Single-channel NFC reader-writer
By using the SPI bus and IIC bus design in NFC readers, the problem of insufficient serial ports of traditional devices is solved, efficient reading and writing process and data transmission of electronic tags are realized, and the device usage capability and EMC performance are improved.
Patent Information
- Application Number
- CN202421742956.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-23
- Publication Date
- 2025-01-10
- Estimated Expiration
- 2034-07-23
AI Technical Summary
The number of serial ports of traditional NFC readers and writers is fixed and cannot be expanded, resulting in insufficient serial ports in the process of development of the times, affecting the use of equipment.
Design a single-channel NFC reader and writer, using SPI bus and IIC bus, and realizes data transmission and operation process control through the main control circuit and reader circuit, and provides CS-RF, SCK, MOSI and MISO signals of the SPI bus, supporting High-speed data interaction and embedded microprocessor in the reader and writer circuit, exposing the IIC communication interface, users can read and write electronic tags through simple instructions.
It realizes the efficient reading and writing process of electronic tags, expands the data transmission capability of the device, improves the convenience of user operation and the EMC performance of the device.
Smart Images

Figure CN222337644U_ABST
Abstract
Description
Technical Field
[0001] The utility model relates to the field of NFC readers and writers, in particular to a single-channel NFC reader and writer. Background Art
[0002] NFC readers are dedicated card reading devices used to read NFC tags. However, in the market, traditional reader devices have a fixed number of serial ports and cannot be added. Therefore, with the development of the times, there will be a shortage of serial ports, which will affect the use of NFC readers. Summary of the invention
[0003] The purpose of the utility model is to provide a single-channel NFC reader / writer to solve the problems raised in the above background technology.
[0004] To achieve the above-mentioned purpose, the utility model provides the following technical solutions: a single-channel NFC reader / writer, comprising a reader / writer circuit, one side of the reader / writer circuit is provided with a main control circuit for data exchange and operation process control, a first communication end of the reader / writer circuit and a second communication end of the main control circuit are provided with an SPI bus for data transmission, and a third communication end of the main control circuit is provided with an IIC bus for communicating with external devices.
[0005] Preferably, a power supply circuit for supplying power to the main control circuit and the reader / writer circuit is provided on the other side of the reader / writer circuit.
[0006] Preferably, the SPI bus uses a CS-RF signal, an SCK signal, a MOSI signal and a MISO signal.
[0007] Preferably, the CS-RF signal is used by the main control circuit to select the reader / writer chip.
[0008] Preferably, the SCK signal is used by the main control circuit to provide a beat input for the reader / writer circuit communication.
[0009] Preferably, the MOSI signal is used to output data from the main control circuit to the reader / writer circuit.
[0010] Preferably, the MISO signal is used to feed back data from the reader circuit to the main control circuit.
[0011] Technical effects and advantages of the utility model:
[0012] The utility model utilizes the design of the main control circuit, the reader-writer circuit, the SPI bus and the IIC bus, realizes the reading and writing process of the electronic tag through the processor inside the reader-writer circuit, exposes the IIC communication interface, and enables the user to read and write the data area in the electronic tag through simple instructions. BRIEF DESCRIPTION OF THE DRAWINGS
[0013] Figure 1 This is a schematic diagram of the circuit connection of the utility model.
[0014] Figure 2 This is a schematic diagram of the reader / writer circuit of the utility model.
[0015] Figure 3 This is a schematic diagram of the main control chip circuit of the utility model. DETAILED DESCRIPTION
[0016] The following will be combined with the drawings in the embodiments of the utility model to clearly and completely describe the technical solutions in the embodiments of the utility model. Obviously, the described embodiments are only part of the embodiments of the utility model, not all of the embodiments. Based on the embodiments in the utility model, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the utility model.
[0017] The utility model provides Figure 1-3 A single-channel NFC reader / writer shown includes a reader / writer circuit, a main control circuit for data exchange and operation process control is arranged on one side of the reader / writer circuit, an SPI bus for data transmission is arranged at a first communication end of the reader / writer circuit and a second communication end of the main control circuit, and an IIC bus for communicating with external devices is arranged at a third communication end of the main control circuit.
[0018] Specifically, a power supply circuit for supplying power to the main control circuit and the reader / writer circuit is provided on the other side of the reader / writer circuit.
[0019] Furthermore, a reader / writer chip is arranged inside the reader / writer circuit. The main function of the main control circuit is to control data interaction and the operation process of the reader / writer chip. The main control circuit is connected to the host computer through the IIC bus externally. The main control circuit communicates with the reader / writer circuit internally using the SPI bus. The power supply circuit provides 5V power supply to the main control circuit and 3.3V power supply to the reader / writer circuit.
[0020] Specifically, the SPI bus uses CS-RF signal, SCK signal, MOSI signal and MISO signal. The CS-RF signal is used by the main control circuit to select the reader / writer chip, the SCK signal is used by the main control circuit to provide beat input for the reader / writer circuit communication, the MOSI signal is used to output data from the main control circuit to the reader / writer circuit, and the MISO signal is used to feed back data from the reader / writer circuit to the main control circuit.
[0021] Furthermore, a main control chip is arranged inside the main control circuit. The SPI host is the main control chip, and the SPI slave is the reader chip. The four SPI signals are used to realize high-speed data interaction between the host and the slave: the CS-RF signal, through which the host selects the reader chip; the SCK signal, through which the host provides a beat input for the slave communication; the MOSI signal, through which the data output from the host to the slave is transmitted through this signal channel; the MISO signal, through which the data fed back from the slave to the host is transmitted through this signal channel. The software on the main control chip can interact with the reader chip through the SPI command to realize indirect data communication with the electronic tag, and the frequency of the radio frequency communication The rate is 13.56MHz. The card types supported by the reader chip are ISO14443-A and ISO14443-B. To realize electronic tag polling, reading UID or user data area, writing user data area in the tag and password authentication of electronic tags, it is necessary to implement it through the program of the main control chip. The ISO14443A / B type electronic tag reading and writing process is realized through the embedded microprocessor of the reader circuit, and the IIC communication interface is exposed. Users can read and write the data area in the electronic tag through simple instructions. Filter circuits are set inside the reader circuit and the main control circuit, so that the EMC capability is good.
[0022] Finally, it should be noted that the above is only a preferred embodiment of the present invention and is not intended to limit the present invention. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art can still modify the technical solutions described in the aforementioned embodiments or make equivalent substitutions for some of the technical features therein. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the protection scope of the present invention.
Claims
1. A single-channel NFC reader / writer, characterized in that: It includes a reader / writer circuit, one side of which is provided with a main control circuit for data exchange and operation process control, a first communication end of the reader / writer circuit and a second communication end of the main control circuit are provided with an SPI bus for data transmission, and a third communication end of the main control circuit is provided with an IIC bus for communicating with external devices.
2. A single-channel NFC reader / writer according to claim 1, characterized in that: The other side of the reader / writer circuit is provided with a power supply circuit for supplying power to the main control circuit and the reader / writer circuit.
3. A single-channel NFC reader / writer according to claim 1, characterized in that: The SPI bus uses a CS-RF signal, an SCK signal, a MOSI signal and a MISO signal.
4. A single-channel NFC reader / writer according to claim 3, characterized in that: The CS-RF signal is used by the main control circuit to select the reader chip.
5. A single-channel NFC reader / writer according to claim 3, characterized in that: The SCK signal is used by the main control circuit to provide a beat input for the reader circuit communication.
6. A single-channel NFC reader / writer according to claim 3, characterized in that: The MOSI signal is used to output data from the main control circuit to the reader / writer circuit.
7. A single-channel NFC reader / writer according to claim 3, characterized in that: The MISO signal is used to feed back data from the reader circuit to the main control circuit.