A kind of NFC application module
Technical field
The present invention relates to a kind of NFC application module.
Background technology
NFC(Near Field Communication) i.e. near field communication (NFC) is in radio frequency identification
(RFID) and merge on the basis of interconnection technique and develop and next new technique, be a kind of short-distance wireless communication technology standard.It
One chip is integrated with Non-contact Media Reader, contact type intelligent card and point-to-point function, operates in 13.56MHz
Frequency range in, the connection between equipment can be set up in the range of about 10cm.NFC is that consumption electronic products provide
One communication modes the most easily, the most progressively becomes the mainstream technology of mobile non-contact application, has wide market prospect.
The each electronic product in existing market etc. are all subjected to produce and sell, the link such as after sale, during these, right
Mark or differentiation that one circuit board compares are the most necessary, simultaneously because the design of processor is the most powerful now,
Product for different model is likely to have only to a circuit board, it is only necessary to program makes a distinction, and these information are all
Need to be stored in memorizer.Current electronic product produce during, need its panel is identified, need by
Inside parameter read-in memorizer, needing to power on and could write when write, its workload is bigger;Further, since traditional electronics
The failure code of product is also stored in the panel of electronic product itself, and when it breaks down, the detection source of trouble is also ratio
Cumbersome.
Summary of the invention
The technical problem to be solved in the present invention is the defect overcoming prior art, it is provided that a kind of NFC application module.
In order to solve above-mentioned technical problem, the invention provides following technical scheme:
One NFC application module of the present invention, it includes microcontroller, NFC chip, NFC antenna and input/output interface unit, institute
Stating input/output interface unit electrical connection microcontroller, described NFC chip is by described input/output interface unit and outside
Host control panel connects;Described NFC chip is from eeprom memory, and described NFC antenna is for entering with outside NFC device
Row near-field communication.
Further, described NFC device is NFC read write line.
Further, described NFC chip is IIC or SPI communication with the communication modes of outside host control panel.
The present invention is according to the amphicheirality of NFC chip so that it is can carry out both-way communication, communication side with the MCU of electronic product
Formula is IIC or SPI communication, and it both can carry out read operation by MCU to the eeprom memory of NFC chip, it is also possible to it
Carry out write operation.Outside by aid NFC read write line, it is also possible to read the data of NFC storage inside, it is also possible to by data
Being written in NFC chip, communication modes is NFC communication.
The present invention is reached to provide the benefit that:
The present invention can realize on-board memory and need not power on, and memorizer can be carried out read/write, save time, save trouble;User can
Read/write operation is carried out, it is also possible to read by NFC with eeprom memory NFC module carried by the MCU of equipment panel
Write device and the EEPROM of NFC module is written and read operation.
Accompanying drawing explanation
Accompanying drawing is for providing a further understanding of the present invention, and constitutes a part for description, with the reality of the present invention
Execute example together for explaining the present invention, be not intended that limitation of the present invention.In the accompanying drawings:
Fig. 1 is the structural representation of the present invention;
Fig. 2 is working state figure of the present invention.
Detailed description of the invention
Below in conjunction with accompanying drawing, the preferred embodiments of the present invention are illustrated, it will be appreciated that preferred reality described herein
Execute example be merely to illustrate and explain the present invention, be not intended to limit the present invention.
As depicted in figs. 1 and 2, one NFC application module of the present invention, it include microcontroller, NFC chip, NFC antenna and
Input/output interface unit, described input/output interface unit electrical connection microcontroller, described NFC chip is defeated by described input
Outgoing interface unit is connected with outside host control panel;Described NFC chip is from eeprom memory, and described NFC antenna is used
In carrying out near-field communication with outside NFC device.Described NFC device is NFC read write line.Described NFC chip and outside main frame
The communication modes of panel is IIC or SPI communication.
The present invention is according to the amphicheirality of NFC chip so that it is can carry out both-way communication, communication side with the MCU of electronic product
Formula is IIC or SPI communication, and it both can carry out read operation by MCU to the eeprom memory of NFC chip, it is also possible to it
Carry out write operation.Outside by aid NFC read write line, it is also possible to read the data of NFC storage inside, it is also possible to by data
Being written in NFC chip, communication modes is NFC communication.
The present invention can realize on-board memory and need not power on, and memorizer can be carried out read/write, save time, save trouble;With
Family can carry out read/write operation by the eeprom memory that NFC module is carried by the MCU of equipment panel, it is also possible to passes through
NFC read write line is written and read operation to the EEPROM of NFC module.
Finally it is noted that the foregoing is only the preferred embodiments of the present invention, it is not limited to the present invention,
Although being described in detail the present invention with reference to previous embodiment, for a person skilled in the art, it still may be used
So that the technical scheme described in foregoing embodiments to be modified, or wherein portion of techniques feature is carried out equivalent.
All within the spirit and principles in the present invention, any modification, equivalent substitution and improvement etc. made, should be included in the present invention's
Within protection domain.