5.15. Code meanings in response frames .......................................................... 38
6. MEANING OF SYMBOLS USED IN THE SPECIFICATION ......................... 38
7. MECHANISM OF MASTER ID ...................................................................... 38
8. RESET TO DEFAULT SETTINGS ................................................................ 39
9. OPERATION EXAMPLE OF TRANSPONDER............................................. 39
CTU
-
Mxx
NETRONIX CTU-Mxx
5
1. Introduction
CTU-M device series is OEM miniature RFID card reader operating at frequency of
13,56 MHz
Main features:
• Support of Mifare S50, S70, Ultralight, Desfire
• built-in antenna
• card memory with build-in lock driver,
• lots of communication interfaces type, depend on version (see table below)
• Built-in relay and buzzer
• Built-in push-button for reset to default settings
• 2 configurable inputs/outputs
• Two-state outputs control
• Read-out of two-state input
• changeable format of sending ID
• MAD functionality
• Data password protected
• Software update via serial interface using NEFIR program
CTU-M reader series
Module type
GPIO
Card memory
Event memory
Relay
Power supply
RS-232
CTU-M2R*
CTU-M4R
CTU-M5N*
CTU-M5R
CTU-M2RM
40
40
40
40
1000 4000
7-16
7-16
5
5
7-16
* - standard version, rest of version for special order
INTERFACES
RS-485
RS-232TTL
SPI
I2C
WIEGAND
1WIRE
NETRONIX .
CTU
-
Mxx
NETRONIX CTU-Mxx
6
2. General specification
Supported functionality depending on transponder / card type:
Transponder
type
ID number
read-out
Full write and read-out of memory blocks
S50 YES YES
S70 YES YES
Ultralight YES YES
Desfire YES NO
CTU-Mxx module parameters
Supply voltage (M2R, M4R model) 7-16 V
Supply voltage (M5R model ) 4,5 - 5,5 V
Max. supply current 120 mA
Rated operation radio frequency of module 13,56MHz
Working temperature
-20°c - +65°c
Max. relay current 2A
Appr. read distance for S50 7 cm
Max. output current for GPIO 20mA
Transmission parameters for
RS232/RS485/RSTTL
2400, 4800, 9600, 19200, 38400, 57600,
115200 bps,
8 data bits, 1 stop bit, no parity
compliant with „Netronix Protocol”
Address on I2C bus 0xC0
1WIRE family code,address (configurable) 0x01,0x01
WIEGAND number of bits 37
• configure to factory settings – press button for 8 seconds
• change interface and RFID transponder type – press button in schematic:
STEP
1 MENU1 – interface
Number of press 1
2 3 4 5 6
- RS232/485 SPI WIEGAND 1WIRE I2C
selection*
2 Triple beep
* - type of interface depends on CTU-M model
5. Transmission protocols
5.1.RS-232/485 transmission protocol
In this data sheet RS-232/485 protocol has been confined to descriptions of
commands, responses and their parameters. Header and CRC control sum exist
always and are compliant with full “Netronix Protocol” document.
RS protocol operation can be tested by means of development tools including free of
charge “FRAMER” software”.
5.2. Protocol for I2C transmission
5.2.1. Data exchange algorithm
A module configured depending on table showed on point 4. operates in I2C
interface mode in following sequences:
1. Master (external device) writes command with parameters if necessary into slave
device (CTU module)
2 The command is performed (immediately after receiving byte sent quantity declared
in frame)
3. Master device reads response, its parameters and operation code. In case of
receiving busy byte 0xCB, repeat attempt to read the response after ca. 1 ms
NETRONIX .
CTU
-
Mxx
NETRONIX CTU-Mxx
9
(N bytes)
START
0b110000a0
STOP
TAK
NIE
(commands connected with write to/and read from transponders can last up to 100
ms).
We write inquiry-command to CTU module:
START
SLAVE ADDRESS (1B)
0
NUMBER OF BYTES(1B)
COMMAND (1B)
PARAMETERS (0...n B)
The „number of bytes” field must contain information on byte quantity sent directly
“command” fields and “parameters”.
We have then:
START
SLAVE ADDRESS (1B)
1
Number of bytes N or 0xCB
PARAMETERS + OPERATION CODE
STOP
I2C SEND
I2C SEND:
Number of bytes,command,[data]
I2C SEND:
Wait 1ms
I2C START
I2C SEND:
0b110000a1
Wait for ACK
I2C READ 1 byte:N
N= 0xCB ?
Receive N bytes
I2C SEND
NETRONIX .
CTU
-
Mxx
NETRONIX CTU-Mxx
10
5.2.2. Timings
Module sends and receives data at 400 kHz clock frequency considering
timings showed below.
Note 2: Reader keeps in low state first clock pulse of each byte sent until
proper state is placed on SDA line.
5.3. Protocol for 1WIRE (Dallas) bus.
NETRONIX .
CTU
-
Mxx
NETRONIX CTU-Mxx
11
Family code ID1…ID5 Address CRC
1 byte 5 bytes 1 byte 1 bytet
ID1...5 – unique ID number of transponder
CRC_DAL- check sum of data send
The format conforms 1-WIRE Dallas (e.g.. DS1990A). It means, that described
module could be used as a replacement of DS1990A drop.
During operation, a module tries to read-out transponder periodically. If it fails (no
successful read-out), module does not response for pulses sent from 1-WIRE master
unit. Bus does not "see" the module, which corresponds with lack of reader applying, it
means applying the DS1990A drop to drop reader. If module reads out the
transponder, the module starts to send data via 1-WIRE bus.
Calculate the CRC value
According to DS1990A specification C value is calculated from equation
x^8+x^5+x^4+1 with initial value equal to 0x00. The CRC is calculated on basis of all
frame bytes excluding the last one.
An example of CRC value calculation procedure written in C language
The format conforms WIEGAND protocol specification for N bits. During operation,
a module tries to read-out transponder periodically. If it fails (no successful read-out),
module does not send data (bus does not "see" the module). If module reads out the
transponder, the module starts to send data via Wiegand bus.
Pulse sequence from left to right.
L level
H level
L level
1 1 0 0 1 ............. 1 0 0 encoding DATA
......
Total number of pulses (level L) is equal to N. The first being bit sent complements up
to parity the bits from first half of total bits. The last bit N complements up to non-parity
the bits from second half of bits being sent.
It means, that two bits out of N bits assure the transmission correctness. Information is
being sent is written by means bits 2 to N-1, it gives N information bits.
Check sums for bit sequence:
for even N:
EXXXXXXXXXXXXYYYYYYYYYYYYO
or for odd N:
EXXXXXXXXXXXXXXXXXX..................
..................YYYYYYYYYYYYYYYYYYO
Where:
E = bit complementing up to parity
O = bit complementing up to non-parity
X = mask for parity calculation
Y = mask for non-parity calculation
NETRONIX .
Loading...
+ 28 hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.