Stufin
Home Quick Cart Profile

PN7120 NFC Controller SBC Kit

Buy Now on Stufin

Card Emulation mode

enables the kit to emulate an NFC card, allowing it to interact with NFC readers

The kit also features a built-in microcontroller, which can be programmed to handle NFC-related tasks and interact with external peripherals.

Key Features

NXP Semiconductors PN7120 NFC Controllera high-performance and low-power NFC controller
Microcontroller Unit (MCU)a built-in MCU for handling NFC-related tasks and interacting with external peripherals

NFC Antenna

an integrated NFC antenna for reliable and efficient NFC communication

UART Interface

a universal asynchronous receiver-transmitter interface for serial communication

SPI Interface

a serial peripheral interface for connecting to external peripherals

I2C Interfacea two-wire interface for connecting to external peripherals

GPIO Pins

general-purpose input/output pins for custom applications

Power Management

a built-in power management system for efficient power consumption

Operating Frequency

13.56 MHz (NFC) and 32 kHz (MCU)

Operating Voltage

1.8V to 3.3V

Operating Temperature

-20C to 85C

Development Tools and Resources

SDK and APIs

a software development kit (SDK) and application programming interfaces (APIs) for easy integration and development

Example Code and Projects

sample code and projects for getting started with NFC development

Documentation and Support

comprehensive documentation and technical support for developers

Applications

The PN7120 NFC Controller SBC Kit is suitable for a wide range of applications, including

NFC-enabled devices (e.g., smartphones, smartwatches, wearables)

IoT devices (e.g., smart home devices, industrial automation)

Payment systems (e.g., contactless payment terminals)

Identification and authentication systems (e.g., access control, ticketing)

Healthcare and medical devices (e.g., patient identification, medical records)

Conclusion

The PN7120 NFC Controller SBC Kit offers a comprehensive and flexible solution for NFC-enabled devices, providing a high-performance NFC controller, a built-in microcontroller, and a range of interfaces for custom applications. Its versatility and ease of use make it an ideal choice for developers, OEMs, and hobbyists looking to integrate NFC capabilities into their projects.

Pin Configuration

  • PN7120 NFC Controller SBC Kit Pin Description
  • The PN7120 NFC Controller SBC Kit is a single-board computer (SBC) designed for Near Field Communication (NFC) applications. The kit features a 40-pin GPIO header, which provides access to various interfaces and signals. Below is a detailed description of each pin on the PN7120 NFC Controller SBC Kit:
  • Power Related Pins
  • 1. VCC (Pin 1): 3.3V power supply input. This pin should be connected to a 3.3V power source.
  • 2. GND (Pin 2): Ground connection. This pin should be connected to the ground of the power supply or other components.
  • NFC Related Pins
  • 3. NFC_CLK (Pin 3): NFC clock signal output.
  • 4. NFC_MOSI (Pin 4): NFC Master Out Slave In (MOSI) signal output.
  • 5. NFC_MISO (Pin 5): NFC Master In Slave Out (MISO) signal input.
  • 6. NFC_CS (Pin 6): NFC chip select signal output.
  • 7. NFC_IRQ (Pin 7): NFC interrupt request signal input.
  • UART Interface Pins
  • 8. TXD (Pin 8): UART transmit data signal output.
  • 9. RXD (Pin 9): UART receive data signal input.
  • GPIO Pins
  • 10. GPIO0 (Pin 10): General-purpose input/output pin 0.
  • 11. GPIO1 (Pin 11): General-purpose input/output pin 1.
  • 12. GPIO2 (Pin 12): General-purpose input/output pin 2.
  • 13. GPIO3 (Pin 13): General-purpose input/output pin 3.
  • 14. GPIO4 (Pin 14): General-purpose input/output pin 4.
  • 15. GPIO5 (Pin 15): General-purpose input/output pin 5.
  • IC Interface Pins
  • 16. SCL (Pin 16): IC clock signal output.
  • 17. SDA (Pin 17): IC data signal output.
  • SPI Interface Pins
  • 18. SCK (Pin 18): SPI clock signal output.
  • 19. MOSI (Pin 19): SPI Master Out Slave In (MOSI) signal output.
  • 20. MISO (Pin 20): SPI Master In Slave Out (MISO) signal input.
  • 21. CS (Pin 21): SPI chip select signal output.
  • Reset and Boot Pins
  • 22. RST (Pin 22): Reset signal input. A low signal on this pin will reset the PN7120.
  • 23. BOOT (Pin 23): Boot mode selection pin. A low signal on this pin will put the PN7120 into boot mode.
  • Analog Pins
  • 24. A_IN (Pin 24): Analog input pin.
  • 25. A_OUT (Pin 25): Analog output pin.
  • Unused Pins
  • 26-40: These pins are not connected to any internal functions and can be used as GPIOs or left unused.
  • Connection Structure:
  • When connecting the pins, ensure that:
  • Power supply connections (VCC and GND) are made to a suitable power source.
  • NFC related pins (NFC_CLK, NFC_MOSI, NFC_MISO, NFC_CS, and NFC_IRQ) are connected to an NFC antenna or module.
  • UART interface pins (TXD and RXD) are connected to a serial communication module or device.
  • GPIO pins (GPIO0-GPIO5) are connected to external components or modules as required.
  • IC interface pins (SCL and SDA) are connected to IC devices or modules.
  • SPI interface pins (SCK, MOSI, MISO, and CS) are connected to SPI devices or modules.
  • Reset and boot pins (RST and BOOT) are connected to a reset button or boot mode selection circuitry.
  • Analog pins (A_IN and A_OUT) are connected to analog circuits or modules as required.
  • Important Note:
  • Ensure proper electrostatic discharge (ESD) protection when handling the PN7120 NFC Controller SBC Kit.
  • Follow the recommended operating voltage and current ratings to avoid damaging the kit.
  • Consult the PN7120 datasheet and application notes for specific guidelines on pin connections and usage.

Code Examples

PN7120 NFC Controller SBC Kit Documentation
Overview
The PN7120 NFC Controller SBC Kit is a single-board computer (SBC) designed for Near Field Communication (NFC) applications. It is based on the NXP PN7120 NFC controller, which provides a highly integrated and flexible solution for NFC reader/writer and peer-to-peer communication. This kit is ideal for developing NFC-based projects, such as NFC tag readers, smart posters, and IoT devices.
Hardware Specifications
NXP PN7120 NFC controller
 ARM Cortex-M0 microcontroller
 128 KB flash memory
 16 KB SRAM
 USB interface for communication and power supply
 I2C and UART interfaces for peripheral connection
 Onboard antenna for NFC communication
 Breadboard-friendly design for easy prototyping
Software Examples
### Example 1: Reading an NFC Tag using the PN7120 NFC Controller SBC Kit (C Language)
This example demonstrates how to use the PN7120 NFC Controller SBC Kit to read data from an NFC tag using the C language.
Code
```c
#include <pn7120.h>
#include <stdint.h>
#include <string.h>
int main() {
    // Initialize the PN7120 NFC controller
    pn7120_init();
// Set the NFC mode to reader mode
    pn7120_set_mode(PN7120_MODE_READER);
// Wait for an NFC tag to be present
    while (!pn7120_check_tag_present()) {
        delay_ms(100);
    }
// Read the NFC tag data
    uint8_t tag_data[256];
    uint8_t tag_data_len = 256;
    pn7120_read_tag_data(tag_data, &tag_data_len);
// Print the NFC tag data
    printf("NFC Tag Data: ");
    for (int i = 0; i < tag_data_len; i++) {
        printf("%02x ", tag_data[i]);
    }
    printf("
");
return 0;
}
```
### Example 2: Sending an NFC Message using the PN7120 NFC Controller SBC Kit (Python Language)
This example demonstrates how to use the PN7120 NFC Controller SBC Kit to send an NFC message using the Python language.
Code
```python
import pyserial
import pn7120
# Initialize the PN7120 NFC controller
pn7120.init()
# Set the NFC mode to peer-to-peer mode
pn7120.set_mode(pn7120.MODE_P2P)
# Create an NFC message
message = "Hello, NFC World!"
# Send the NFC message
pn7120.send_message(message)
print("NFC Message Sent!")
# Close the PN7120 NFC controller
pn7120.close()
```
### Example 3: Using the PN7120 NFC Controller SBC Kit with an Arduino Board (Arduino IDE)
This example demonstrates how to use the PN7120 NFC Controller SBC Kit with an Arduino board to read an NFC tag.
Code
```c++
#include <PN7120.h>
PN7120 pn7120;
void setup() {
    Serial.begin(9600);
    pn7120.begin();
}
void loop() {
    // Check if an NFC tag is present
    if (pn7120.tagPresent()) {
        // Read the NFC tag data
        String tagData = pn7120.readTag();
        Serial.print("NFC Tag Data: ");
        Serial.println(tagData);
    }
    delay(1000);
}
```
These examples demonstrate the basic usage of the PN7120 NFC Controller SBC Kit in various contexts. You can modify and expand these examples to suit your specific NFC-based project requirements.