Encoding
The process of writing data (NDEF messages, UIDs, configurations) to NFC tags during manufacturing. Can be done individually or at high speed using automated encoding machines capable of 1000+ tags per hour.
What Is NFC Encoding?
NFC encodingencodingData writing to NFC tags during manufacturing productionView full → is the manufacturing process of writing data to NFC tags during production. This includes programming NDEF messages (URLs, text records, vCards), configuring access control bits, setting passwords, and optionally locking memory regions with lock bits. Encoding transforms a blank NFC chip into a functional tag ready for deployment, and is distinct from the physical manufacturing steps of bonding and converting.
Encoding Methods
NFC tags can be encoded using several approaches depending on volume and complexity:
| Method | Volume | Speed | Typical Use |
|---|---|---|---|
| Manual (smartphone/reader) | 1-100 | 1-5 tags/min | Prototyping, small batches |
| Desktop encoder | 100-10,000 | 50-200 tags/min | Medium batches, variable data |
| Inline encoder | 10,000+ | 500-2,000 tags/min | High-volume production |
| Pre-encoded (factory) | 100,000+ | WaferWaferSilicon disc containing hundreds of fabricated NFC IC diesView full →-level | Mass production, fixed data |
Encoding Process Steps
A typical encoding sequence for an NDEF compliant tag follows these steps:
-
Tag detection. The encoder's reader activates its RF field and performs the anti-collision sequence to identify the tag.
-
UID read. The encoder reads the tag's unique identifier for logging and optional database association.
-
NDEF formatting. If the tag is unformatted, the encoder writes the Capability Container (CC) bytes and initializes the TLV structure.
-
Data writing. The encoder writes the NDEF messageNDEF messageComplete data unit containing one or more NDEF recordsView full → payload to user memory, one memory block (page) at a time. Each write operation takes approximately 4-5 milliseconds per page.
-
Verification. The encoder reads back the written data and compares it against the source to confirm accuracy.
-
Configuration. Optional steps include setting password protection, configuring UID mirroring, enabling counters, or setting access control bits.
-
Locking. If the tag should be read-only, the encoder sets the lock bits to prevent future modifications. This step is irreversible.
Variable Data Encoding
Many deployments require each tag to contain unique data, such as individualized URLs, serial numbers, or personalized content. Variable data encoding systems use databases or sequential generators to produce unique payloads for each tag:
- Sequential encoding. Tags are assigned incrementing serial numbers:
https://example.com/product/00001,https://example.com/product/00002, etc. - Database-driven encoding. Each tag's UID is mapped to a specific payload in a database, enabling pre-planned deployments.
- Dynamic URL encoding. For NTAG DNA chips with SDM, encoding includes configuring the SUN message parameters and server-side decryption keys.
Encoding Equipment
Desktop NFC encoders typically consist of an NFC readerNFC readerActive device generating RF field to initiate communication with tagsView full → module connected to a PC via USB, controlled by encoding software. The tag is placed on or near the reader's antenna. For inline encoding, the reader is integrated into a label applicator or printing machine, encoding tags on-the-fly as they pass over the reader at high speed.
Industrial inline encoders use specialized antenna designs optimized for consistent coupling with tags on a moving web. The encoding position, speed, and retry logic are calibrated to achieve near-zero defect rates at production speeds.
Encoding Failures
Common encoding failure modes include:
- Write timeout. The tag moved out of the RF field before the write completed, resulting in corrupted data.
- Memory defect. A faulty EEPROM cell prevents correct data storage in a specific memory location.
- Locked tag. Previous lock bits prevent writing to the required memory area.
- Wrong chip. The tag contains a different chip than expected, with incompatible memory layout or command set.
Robust encoding systems include 100% read-back verification and reject mechanisms to ensure only correctly programmed tags proceed to the next production stage.
Related Terms
Related Guides
الأسئلة الشائعة
The NFC glossary is a comprehensive reference of technical terms, acronyms, and concepts used in Near Field Communication technology. It is designed for developers, product managers, and engineers who work with NFC and need clear definitions of terms like NDEF, APDU, anti-collision, and ISO 14443.
Each glossary term is cross-referenced with related NFC chips, standards, and other terms. For example, the term 'AES-128' links to chips that support AES encryption (NTAG 424 DNA, DESFire EV2/EV3), and the term 'ISO 14443' links to all chips compliant with that standard.
Yes. NFCFYI provides glossary definitions in 15 languages including English, Korean, Japanese, Chinese, Spanish, Portuguese, Hindi, Arabic, French, Russian, German, Turkish, Vietnamese, Indonesian, and Thai. Use the language selector in the header to switch languages.