How To Play With SE050 via CL Interface

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How To Play With SE050 via CL Interface

How To Play With SE050 via CL Interface

SE050 supports communication with the host controller through an I2C interface, and it also has a connection for a native contactless antenna, providing a wireless interface to a NFC reader such as the NFC smartphone.

pic1.png

(https://www.nxp.com/docs/en/data-sheet/SE050-DATASHEET.pdf )

The contactless interface is an ISO14443-A PICC interface, and NFC readers can send SE050 APDU commands directly to SE050 based on the ISO14443-4 protocol. These APDU commands will be processed by the SE050 in the same way as if they were sent through I2C. The SE050 in Variant C has the contactless interface enabled.

pic2.png

(https://www.nxp.com/docs/en/application-note/AN12436.pdf )

Actually any kind of NFC reader supporting ISO14443 can play with SE050, not limited to a NFC smartphone, so this demonstration will use the demo board of PNEV5180B(https://www.nxp.com/products/rfid-nfc/nfc-hf/nfc-readers/pn5180-nfc-frontend-development-kit-for-pos... ) and the tool of Cockpit(https://www.nxp.com/products/rfid-nfc/nfc-hf/nfc-readers/nfc-cockpit-configuration-tool-for-nfc-ics:... ) to build up the communication channel with SE050ARD(https://www.nxp.com/products/security-and-authentication/authentication/edgelock-se050-development-... ).

 

There is no hardware setup for PNEV5180B board, just keep the on-board jumper settings as default as well as the embedded firmware , by which we may easily connect with this board via the Cockpit.

pic3.png

 

There is some hardware configuration for SE050ARD board indeed, so that we may change the interface from I2C to the native antenna. Please refer to 4.4.1 in https://www.nxp.com/docs/en/application-note/AN12395-OM-SE050ARD_hardware_overview.pdf , and you will have it like the following:

platform.png

Referring to ISO14443-A spec, the handshake always starts at 106 kBd/s, so please load the correct protocol as below:

pic5.png

and please don't forget to turn on the RF before the communication:-)

pic6.png

 

At first, we need an ISO14443-3a actication, which can be easily accomplished by clicking the button as shown below.

pic7.png

Then we may do the ISO14443-4a activation before sending the APDU commands, just as we do above, but we may choose a higher baud rate supported by SE050 in this case, so here we select 848 kBd/s.

pic8.png

and then we may have the ATS from SE050.

pic9.png

Now the SE050 is ready to receive the APDU commands, here we show how to send Applet Selection and GetVersion command to SE050, and any other APDU commands specified in https://www.nxp.com/docs/en/application-note/AN12413-SE050_APDU_specification.pdf can be issued like this.

pic10.png

Applet selection: 00 A4 04 00 10 A0 00 00 03 96 54 53 00 00 00 01 03 00 00 00 00 00

pic11.png

pic12.png

Get Version: 80 04 00 20 09

pic13.png

Please also note in this demo, the communication channel is plain which is not recommended for production use. Secure channel on Platform or Applet level is recommended in a real application. Please kindly refer to https://www.nxp.com/docs/en/nxp/application-notes/AN12664.pdf for more details.

Labels (1)
100% helpful (1/1)
Version history
Last update:
‎09-28-2020 11:49 PM
Updated by: