Example Code

Use MPManager User Interface With CTSIII and Perform an Analog Capture of Vicinity Exchange

    Other

  • Contactless Test Station III
  • MPManager 3.9.0

Code and Documents

Attachment

Description

Contactless Test Station III (CTSIII) is able to emulate Near Field Communication (NFC) reader and communicate with a device acting as an NFC listening device such as: 

- banking smartcard

- transportation ticket

- NFC enabled smartwatch

- NFC enabled smartphone

 

 CTSIII supports common NFC communication protocols such as: 

- ISO 144443 type A or B at all data rates

- Felica at 212 and 424 kbits/s

- ISO 15693 (Vicinity) all data rates and all modes

- Mifare Classic / Ultralight / Ultralight C

 

End-user may want to build test scenarios and analyze the communication between CTSIII and a device acting as a card for several reasons:

- build simple communication script and analyze device under test answers

- for debugging purposes

- build a script and test it within MPManager before implementing a test application to do the same or more thanks to MPuLib communication dll and libraries

- perform specific measurements or tests and compare the results with ISO, EMVCo or NFC Forum test specifications.

 

In this example, a very simple exchange between the CTSIII and an ISO 15693 Vinicty card will occur.

In addition, an acquisition of the exchange will be performed by the NFC board of the CTSIII.

The acquisition will be performed at a sampling rate of 150 MHz.

The measured samples will be added to the *.mplog trace and accessible in MPManager viewer for review.

How to Use

CTSIII is delivered with an NFC simulation antenna (P/N 786703-01).

The antenna is used to perform continuous and successive exchanges with an NFC device, using either MPManager scripting and test functions or a user program.

 

undefined

 

  • 1: Analog In (pickup coil, card emulation)
  • 2: Multi-purpose HDMI connector
  • 3: Tx/Rx connector (Reader emulation)
  • 4: Vdc connector (external VDC measurement)
  • 5: Card emulation antenna tuning
  • 6: Reader emulation antenna tuning
  • 7: LED indicator
    • Green: PCD mode enabled (Proximity Coupling Device mode stands for Reader emulation mode)  
    • Blue: PICC mode enabled (Proximity Integrated Circuit Card mode stands for Card Emulation mode)
  • 8: Tx and Rx coil

Perform the following connections between the antenna and CTSIII:

 

Antenna connector CTS3 connector
TCL3 HDMI AUX 1 HDMI
Analog In SMA ANALOG IN SMA, using the provided SMA low-pass filter (P/N 773919-01) if configured in 50 Ω
Tx/Rx SMA TX/RX SMA

 

Download the Burst_Analog_Measurement_TypeV script and video in the attachment.

 

Power on CTSIII and open MPManager 3.9.0 (or above).

Position a Vicinity or T5T tag on top of the PICC-PCD simulation antenna.

Connect the CTSIII and like in the video, open the Burst_Analog_Measurement_TypeV script in the script editor of MPManager UI

and execute the script.

 

 

End-user has access to the execution log of the script where the answers from the tag can be seen.

In the viewer tab of MPManager, the end-user gets access to the *.mplog trace, including the analog capture and can navigate through it to analyze the communication

between the CTSIII and the tag under test.

 

Before starting an analog capture with the NFC board of the CTSIII it is important to:

- select the reception channel: Analog In

- adjust Analog In impedance: 50 Ohms

- select the appropriate trigger: TRIGGER_ANALOG 

- select the appropriate event to trigger on

- configure the capture

          to include the measured sample within the *.mpolg trace

          to adjust the source

          to set the duration of the acquisition 

          to set a delay with the event previously selected to start the acquisition

 

Then, the end-user script has to contain  

- start spy to start building the *.mplog trace

- the exchange to be captured

- and a stop spy at the end  

Additional Information

For any additional questions, please contact NI technical support team on NI.com when opening a Service Request case using the NI Service Request Manager (SRM).

To open a service request on NI.com please follow the steps described at this link.

Related Links

Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.