DIGANT NFC Reader DTNFCXX Datasheet and Specification
DIGANT NFC Reader DTNFCXX Datasheet and Specification
DIGANT NFC Reader DTNFCXX Datasheet and Specification
SPECIFICATION
Supported Standards - Mifare® family (ISO 14443A), NFC
protocol ISO18092
Baud Rate (to host) - 9.6, 19.2, 38.4, 57.6, 115.2, 230.4, 460.8 k Baud, 8, N, 1
Baud rate (tag / NFC peer) - 106 kBaud, 212 kBaud, up to 424 kBaud.
Interface - USB 2.0 (cable 1.80m) / UART (TTL).
Power Supply - USB bus powered / +5V (non USB module).
Power consumption - ~ 120mA.
Antenna - Integrated.
Size (L X B X H) in mm - 56 X 37 X 11 (L X B X H)
Reading Range - ≥ 60 m m
Operating Voltage - +5.0V
Operating Temperature - -10C to +65C
Tag Types supported - Mifare, Ultra light, FeliCa contactless smart cards.
Package - ABS Plastic, 6x Pin out / 1.80m USB cable (Pigtail).
Color - Black
Mechanical drawing
Bottom View Note: All the dimensions are in mm
Reference Schematics
+5V
TXD (TTL)
UART
RXD (TTL) I/F uC
DTNFCSS
USB
DTNFCUS Conn
Page 2 of 18
© Digant Technologies 2008
Version 1.0
Digant Technologies | #8, 7th Main | Indiranagar 2nd Stage | Bangalore-560038| India
www.diganttechnologies.com | e-mail: [email protected]
Datasheet
Reference Schematics
Features
General
NFC module integrates NFC controller and SmartMX secure smart card controller in
a single package.
Module is fully integrated which does not need any external circuitry except +5V
power input to make it work.
Module is fully NFC IP-1 (ISO18092) compliant.
Block Diagram
TX
NFC NFC front
Controller/ end Antenna Antenna
RX
Interface Matching
3.3V
Controller
Power filters
Page 3 of 18
© Digant Technologies 2008
Version 1.0
Digant Technologies | #8, 7th Main | Indiranagar 2nd Stage | Bangalore-560038| India
www.diganttechnologies.com | e-mail: [email protected]
Datasheet
ACK Frame:
00 00 FF 00 FF 00
preamble Start of Ack Postamble
packet packet
code code
NACK Frame:
This acknowledgement indicates that the previous frame has not been successfully
received.
00 00 FF FF 00 00
preamble Start of Ack Postamble
packet packet
code code
Page 4 of 18
© Digant Technologies 2008
Version 1.0
Digant Technologies | #8, 7th Main | Indiranagar 2nd Stage | Bangalore-560038| India
www.diganttechnologies.com | e-mail: [email protected]
Datasheet
Error Frame:
This acknowledgement indicates that DTNFCUS has detected an error at application
level.
00 00 FF 01 FF 7F 81 00
Error Codes:
Error Cause Error Code
Timeout 0x01
CRC 0x02
Parity 0x03
Bit count 0x04
Framing 0x05
Collision 0x06
Buffer too small 0x07
RF buffer overflow 0x09
RF 0x0A
Protocol 0x0B
Temperature 0x0D
Internal buffer overflow 0x0E
Invalid parameters 0x10
Unsupported command 0x12
Invalid format 0x13
AE 0x14
UID check byte 0x23
Invalid device state 0x25
Operation not allowed 0x26
Unknown target 0x27
Select Tag:
This command is used to initiate the targets. DTNFCUS is capable of handling 2
targets at a time.
The input frame format is:
Example:
Bit 0 Bit 1 Bit 2 Bit 3 Bit 4 Bit 5 Bit 6 Bit 7 Bit 8 Bit 9 Bit 10
0x00 0x00 0xFF 0x04 0x00 0xD4 0x4A 0x01 0x00 0x00 0x00
– sum
of
data
1. 0x00 – Preamble.
2. 0x00 and 0xFF – Start of packet code.
3. 0x04 – packet length.
Page 5 of 18
© Digant Technologies 2008
Version 1.0
Digant Technologies | #8, 7th Main | Indiranagar 2nd Stage | Bangalore-560038| India
www.diganttechnologies.com | e-mail: [email protected]
Datasheet
D5 4B 01 01 04 08 08 04 4A 3C 93 34 81 00
Output No .of Logical SENS_RES SEL_RES TagID Tag ID ATS
parameters targets number length
of tag
Here the Tag ID of the MIFARE card is: 4A 3C 93 34
Authentication:
The command code for authentication is: 0x60
The input frame format is:
Example:
0x00 0x00 0xFF 0x0F 0x00 - 0xD4 0x40 0x01 0x60 0x02
Length
preamble Start Start Length LCS Input Input Tag CMD Block
of of of data parameter parameter Number NO
packet packet
code code
0xFF 0xFF 0xFF 0xFF 0xFF 0xFF 0x4A 0x3C 0x93 0x34 0x00 0x00
– sum
of
data
key key key key key key Tag Tag Tag Tag Check poatamble
id id id id sum
In the above frame we are authenticating using the keys 0xFF 0xFF 0xFF 0xFF 0xFF 0xFF to
the address 0x02 of a MIFARE card whose ID number is 0x4A 0x3C 0x93 0x34.
Page 6 of 18
© Digant Technologies 2008
Version 1.0
Digant Technologies | #8, 7th Main | Indiranagar 2nd Stage | Bangalore-560038| India
www.diganttechnologies.com | e-mail: [email protected]
Datasheet
Read Data:
The command code for Read data is: 0x30
The input frame format is:
0x00 0x00 0xFF 0x0F 0x00 - 0xD4 0x40 0x01 0x30 0x02
Lenght
preamble Start Start Length LCS Input Input Logical Command Block
of of of data parameter parameter number code number
packet packet assigned to
code code tag by
DTNFCUS
0x00 – 0x00
sum of
data
Check poatamble
sum
Here we are reading 16 – bytes data from the address 0x02.
The Output frame format is:
Example: 0000FF00FF000000FF13EDD541007068616E696B726973686E61303030312900
D5 41 00 70 68 61 6E 69 6B 72 69 73 68 6E 61 30 30 30 31 29 00
Output Error 16-Bytes of data ATS
parameters code
Write Data:
The command code for Write data is: 0xA0. Here we are writing 16 – bytes data
0x 00… ..0x 1A to the address 0x 02.
The input frame format is:
0x00 0x00 0xFF 0x0F 0x00 - 0xD4 0x40 0x01 0x30 0x02
Length
preamble Start Start Lengt LCS Input Input Logical Comman Block
of of h of parameter parameter number d code number
packet packet data assigned to
code code tag by
DTNFCUS
0x01 0x02 0x03 0x04 0x05 0x06 0x07 0x08 0x09 0x0A 0x0B 0x0C 0x0D 0x0E 0x0F 0x1A
data data data data data data data data data data data data data data data data
Page 7 of 18
© Digant Technologies 2008
Version 1.0
Digant Technologies | #8, 7th Main | Indiranagar 2nd Stage | Bangalore-560038| India
www.diganttechnologies.com | e-mail: [email protected]
Datasheet
0x00 – 0x00
sum of
data
Check poatamble
The Output frame format is: sum
Example: 0000FF00FF000000FF03FDD54100EA00
D5 41 00 EA 00
Output parameters Error code ATS
Value Block:
Before doing the Increment block data or decrement the block data operations we
have to make the block as value block. This can be done by writing the value to the block by
using normal write command.
The value must be 4-byte.The maximum value is 9999.
0… … … 3 4… … … .7 8… … … 11 12 13 14 15 Check postamble
sum
Page 8 of 18
© Digant Technologies 2008
Version 1.0
Digant Technologies | #8, 7th Main | Indiranagar 2nd Stage | Bangalore-560038| India
www.diganttechnologies.com | e-mail: [email protected]
Datasheet
0x00 – 0x00
Here we are transferring the incremented or decremented block data to sum of
other block in the same sector. data
The Output frame format is: Check poatamble
Example: 0000FF00FF000000FF03FDD54100EA00 sum
D5 41 00 EA 00
Output parameters Error code ATS
0x00 – 0x00
sum of
The Output frame format is: data
Example: 0000FF00FF000000FF03FDD54100EA00 Check poatamble
D5 41 00 EA 00 sum
Output parameters Error code ATS
Page 10 of 18
© Digant Technologies 2008
Version 1.0
Digant Technologies | #8, 7th Main | Indiranagar 2nd Stage | Bangalore-560038| India
www.diganttechnologies.com | e-mail: [email protected]
Datasheet
Anti-collision:
This command is used to initiate the targets. DTNFCUS is capable of handling 2
targets at a time.
The input frame format is:
Example:
Bit 0 Bit 1 Bit 2 Bit 3 Bit 4 Bit 5 Bit 6 Bit 7 Bit 8 Bit 9 Bit 10
0x00 0x00 0xFF 0x04 0x00 0xD4 0x4A 0x01 0x00 0x00 0x00
0x00 – Preamble.
0x00 and 0xFF – Start of packet code.
0x04 – packet length.
0x00 – packet length check sum.
Bit 4 = 0x00 – bit3
0xD4 – Input Parameters
0x01 – Number of targets wanted to initialize.
This field value should not exceed 2.
0x00 – Baud rate
0x00 - 106 kbps
0x01 – 212 kbps
0x02 – 424 kbps.
0x00 – packet data check sum.
Bit 9 = 0x00 – (bit5+bit6 + ............+bit9)
0x00 – postamble.
02 04 00 08 04 CA F4 93 34 E9 00
Logical SENS_RES SEL_RES Tag ID 2 Tag ID 2 ATR
number of length
tag
Page 11 of 18
© Digant Technologies 2008
Version 1.0
Digant Technologies | #8, 7th Main | Indiranagar 2nd Stage | Bangalore-560038| India
www.diganttechnologies.com | e-mail: [email protected]
Datasheet
Halt Tag:
The command code for Halt Tag is: 0x44
The input frame format is:
Example:
0x00 0x00 0xFF 0x04 0x00 0xD4 0x44 0x01 0x00 – 0x00
sum of
data
preamb Start of Start of Length LCS Input CMD Tag checks postam
le packet packet of data parameter Num um ble
code code ber
Here we are forcing the card whose logical number assigned by DTNFCUS is 01 to halt
mode or we are deselecting the tag.
Initiator Side:
Configure NFC as initiator and scan for the targets in the field.
Send data to the target.
Release target.
Target Side:
Configure NFC as target.
Receive data from initiator.
Send acknowledgement to initiator.
Page 12 of 18
© Digant Technologies 2008
Version 1.0
Digant Technologies | #8, 7th Main | Indiranagar 2nd Stage | Bangalore-560038| India
www.diganttechnologies.com | e-mail: [email protected]
Datasheet
ACK Frame:
00 00 FF 00 FF 00
NACK Frame:
This acknowledgement indicates that the previous frame has not been successfully
received.
00 00 FF FF 00 00
preamble Start of packet Ack packet Postamble
code code
Error Frame:
This acknowledgement indicates that Digant has detected an error at application level.
00 00 FF 01 FF 7F 81 00
Error Codes:
Error Cause Error Code
Timeout 0x01
CRC 0x02
Parity 0x03
Bit count 0x04
Framing 0x05
Page 13 of 18
© Digant Technologies 2008
Version 1.0
Digant Technologies | #8, 7th Main | Indiranagar 2nd Stage | Bangalore-560038| India
www.diganttechnologies.com | e-mail: [email protected]
Datasheet
Collision 0x06
Buffer too small 0x07
RF buffer overflow 0x09
RF 0x0A
Protocol 0x0B
Temperature 0x0D
Internal buffer overflow 0x0E
Invalid parameters 0x10
Unsupported command 0x12
Invalid format 0x13
AE 0x14
UID check byte 0x23
Invalid device state 0x25
Operation not allowed 0x26
Unknown target 0x27
The user must follow the following sequence for the NFC Peer To Peer communication.
Example:
0x00 0x00 0xFF 25 0x00 – bit 3 0xD4 8C 02
Bit 1 Bit 2 Bit 3 Bit 4 Bit 5 Bit 6 Bit7 Bit 8
0xFF 0xFF
Bit 31 Bit 32
0xAA 0x99 0x88 0x77 0x66 0x55 0x44 0x33 0x22 0x11
Bit 33 Bit 34 Bit 35 Bit 36 Bit 37 Bit 38 Bit 39 Bit 40 Bit 41 Bit 42
Page 14 of 18
© Digant Technologies 2008
Version 1.0
Digant Technologies | #8, 7th Main | Indiranagar 2nd Stage | Bangalore-560038| India
www.diganttechnologies.com | e-mail: [email protected]
Datasheet
1.0x00 – Preamble.
2.0x00 and 0xFF – Start of packet code.
3.0x25 – packet length.
4.0x00 – packet length check sum.
Bit 4 = 0x00 – bit 3
5. Bit 6 and Bit 7 are the input command code.
6. Bit 8 represents the mode (active/passive)
7. Bit 9 to Bit 14 represents MIFARE parameters.
Bit 9 and Bit 10 are SENS_RES bits.
Bit 11 to Bit 13 represents NFCID1t
Bit 14 is SEL_RES bit.
8. Bit 15 to Bit 32 represents Felica parameters
Bit 15 to Bit 22 represents NFCID2t.
Bit 23 to Bit 30 represents Padding.
Bit 31 and Bit 32 represents the system code.
9. Bit 33 to Bit 42 represents NFCID3t.
10. Bit 43 = 0x00 - (B it 6 + B it 7… … … .+ B it 42)
It is the packet data check sum.
11. Bit 44 represents the postamble.
Page 15 of 18
© Digant Technologies 2008
Version 1.0
Digant Technologies | #8, 7th Main | Indiranagar 2nd Stage | Bangalore-560038| India
www.diganttechnologies.com | e-mail: [email protected]
Datasheet
Now one of the NFC module is configured as Initiator. And it activates the target in
the field. When the target is identified by the initiator it sends the following response.
0000FF14ECD58D2111D400D8ABCD41A5011615AE9600000000F200
0x8D 0x21 11 D4 00 D8 AB CD 41 A5 01 16 15 AE 96 00 00 00 00
Response mode Initiator command received (ATR_REQ)
command
code
Page 16 of 18
© Digant Technologies 2008
Version 1.0
Digant Technologies | #8, 7th Main | Indiranagar 2nd Stage | Bangalore-560038| India
www.diganttechnologies.com | e-mail: [email protected]
Datasheet
Release Target:
This command used at the initiator side to release the target.
Input frame format is:
0x00 0x00 0xFF 0x03 0x00 – 0xD4 0x52 0x01 0x00 - 0x00
bit 3 sum
preamble Start Start Packet Packet Input Command Target Packet postamb
Page 17 of 18
© Digant Technologies 2008
Version 1.0
Digant Technologies | #8, 7th Main | Indiranagar 2nd Stage | Bangalore-560038| India
www.diganttechnologies.com | e-mail: [email protected]
Datasheet
Application
e-money POS
Access control Ticketing
Card Personalization Time &Attendance
Page 18 of 18
© Digant Technologies 2008
Version 1.0
Digant Technologies | #8, 7th Main | Indiranagar 2nd Stage | Bangalore-560038| India
www.diganttechnologies.com | e-mail: [email protected]