CY8C0104-PVIT [CYPRESS]
Multifunction Peripheral, CMOS, PDSO28, SSOP-28;型号: | CY8C0104-PVIT |
厂家: | CYPRESS |
描述: | Multifunction Peripheral, CMOS, PDSO28, SSOP-28 光电二极管 |
文件: | 总23页 (文件大小:343K) |
中文: | 中文翻译 | 下载: | 下载PDF数据表文档文件 |
PSoC 125 kHz RFID
Preliminary Data Sheet
CY8C0104 and CY8C0105
CY8C0104, CY8C0105 Features
ꢀ
General
ꢀ
Programmable and Customizable
ꢁ
ꢁ
ꢁ
ꢁ
100-150 kHz Programmable Carrier Frequency
ꢁ
Customizable Code
Manchester RF/32 and RF/64 Compatible
Decodes and Processes Data
−
No need for external MCU
ꢁ
ꢁ
ꢁ
Programmable Watchdog and Sleep Timers
Ready-to-use with Atmel/Temic T55xx and EM
Microelectronic SA EM4100/02 transponder chips
Supports Sequential Terminators
Programmable Read Sequence
Programmable byte tracking settings
ꢁ
ꢁ
ꢁ
ꢁ
ꢀ
ꢀ
Easily Calibrated
Supports Byte Tracking
ꢁ
ꢁ
Programmable drive frequency and gain amplifiers
Low Power Consumption in Sleep Mode
Optimize reading/writing distance
UART, I2C* and SPI* Compatible
Complete Evaluation Tools
ꢀ
Upgradeable
ꢁ
ꢁ
ꢁ
Evaluation Board
ꢁ
ꢁ
Software Included in Evaluation Kit
Evaluation and Programming Software
Complete RFID Unit
Further Expansion Available through SonMicro
RFID Functional Overview
Built on a PSoC (Programmable System-on-Chip)
platform, the RFID Chip and ChipModule eliminate the
need for external components such as filters, amplifiers
and microcontrollers. Approximately 4k of Flash is
available for customization to allow designers to
personalize operations.
Analog Features
(Filters,
Signal
Processing
DHaatradware
Amplifiers)
Processing
Signal
ADC
and Encoding
Processing
Software
Signal
Generation
Antenna
Inductor
Driver
&
Data Receipt
PWMs
UART
Counters
The RFID chip and ChipModule work with both
Manchester RF/32 and Manchester RF/64 modulations
Supporting Atmel/Temic T55xx transponders and EM
Microelectronic SA EM4100/02 transponder chips.
Data
Reference
Voltage
I2C*
Processing
Generator
and Encoding
SPI*
User
Programmable
2x16
LCD
InterfDarciveer&*
Application
Modulation Decoding
User Modules
User
Spare
GPIO
Pins
Programmable
The RFID chip and ChipModule generate a 100-150 kHz
RFID field, decode the transponder return signal, and
store data to be processed or sent. The RFID chip and
ChipModule are pre-programmed. In cases where users
desire a custom decoding algorithm or to decode the
signal with other modulations (e.g., bi-phase), the un-
decoded signals are available on pins of the RFID chip.
Area
User
Programmable
Software
Functional Diagram
*Available as custom option by SonMicro.
The pre-programmed decoding algorithm supports a
sequential terminator, compatable with Atmel/Temic
T55xx transponders.
July 23, 2004
© Cypress MicroSystems, Inc. 2004 ─Document No. 38-xxxxx Rev. **
1
CY8C0104 and CY8C0105
Preliminary Data Sheet
Byte Tracking
Development Tools
The decoding algorithm supports programmable byte
tracking. A read can start after the tracking byte(s) has
been detected. This feature can be used with read-only
transponders (most T5530 transponders start with a
0xE6 header). It can also be used for security because
another reader may not read correct data from a
transponder if it does not know which tracking system is
being used.
Evaluation Kit
The RFID Evaluation Kit (CY3220SMRFID-RD) is a
complete short-range 125 kHz RFID reader. The RFID
Evaluation Kit includes a ChipModule (CY8C0105)
equipped with an RS232 serial communication chip to
perform all RFID functions including reading and writing
to tags, calibration, and communication to a user
interface (PC).
Flash Programmability
The RFID Chip and ChipModule are programmable with
SMRFID (SonMicro RFID) software through the UART
pins. A user can program assembly code to the available
Flash memory providing access to control APIs and
hardware. This eliminates the need for an external
microcontroller. Because of the programmability of Flash
in the RFID Chip and ChipModule, new features and
modifications are easily implemented in user-specific
applications.
SMRFID (SonMicro RFID) Software
The SMRFID Software included in the RFID Evaluation
Kit is a Microsoft Windows-based interface for testing,
programming, and calibrating a ChipModule with the
Evaluation Board. Complete software instructions and
programming steps are described in the Getting Started
Guide and Programming Guide on the Evaluation Kit
CD.
Additional Features
ꢂ
Parameters such as RFID tag programming
period, internal amplifier gain, and carrier
frequency are programmable through the UART
and SMRFID software. This allows the user to
adjust the carrier frequency and baud rate for
specific applications.
ꢂ
ꢂ
Calibration of the RFID Chip and ChipModule is
performed through the UART interface.
General Purpose Input Output (GPIO) pins are
available to expand the functionality of the
devices and to control custom design elements.
RFID Evaluation Kit (CY3220SMRFID-RD)
July 23, 2004
Rev. **
2
CY8C0104 and CY8C0105
Preliminary Data Sheet
Customization
Document Conventions
11 GPIO pins and program may be customized and
programmed with the SMRFID software.
For technical
Acronyms Used
assistance, please reference SonMicro’s contact information in
Section 6 of this document.
The following table lists the acronyms that are used in this
document.
Table of Contents
Acronym
Description
Application Programming Interface
Central Processing Unit
For an in depth discussion and more information about the
PSoC device, the platform of the RFID Chip and ChipModule,
refer to the PSoC Mixed Signal Array Technical Reference
Manual. The remainder of this document is organized into the
following chapters and sections.
API
CPU
DAC
DC
Digital-to-analog Converter
Direct Current
GPIO
IO
General Purpose IO
1. Pin Information
4
4
4
5
Input/Output
1.1 Pinouts
LCD
PC
Liquid Crystal Display
Personal Computer
1.1.1 CY8C0104 (RFID Chip)
1.1.2 CY8C0105 (RFID ChipModule)
2. Communication Protocol
2.1 UART
7
PSoC
PWM
RAM
RFID
SMP
SPI
Programmable System-on-chip
Pulse-width Modulator
Random Access Memory
Radio Frequency Identification
Switch Mode Pump
7
2.1.1 Read Tag Command
2.1.2 Write Tag Command
2.1.3 Byte Tracking Command
2.1.4 Calibration Commands
7
8
10
11
3.Electrical Specifications
17
17
17
18
19
19
19
Serial Peripheral Interface
3.1 Absolute Maximum Ratings
3.2 Electrical Characteristics
UART
Universal Asynchronous Receiver-
transmitter
3.2.1 DC Chip-level Specifications
3.2.2 DC General Purpose IO Specifications
3.2.3 RS232 IO Specifications
3.3 Performance Specifications
Units of Measure
A
units of measure table is located in the Electrical
4. Packaging Information
4.1 Packaging Dimensions
4.2 Thermal Impedances
20
20
21
Specifications section. Table 3-1 lists all the abbreviations
used to specify PSoC devices and the RFID in particular.
5. Ordering Information
22
Numeric Naming
5.1 Ordering Code Definitions
22
Hexidecimal numbers are represented with all letters in upper
case with an appended lower case ‘h’ (for example, ‘14h’ or
‘3Ah’). Hexidecimal numbers may also be represented by an
‘0x’ prefix, the C coding convention. Binary numbers have an
appended lowercase ‘b’ (e.g., ‘01010100b’ or ‘01000011b’).
Numbers not indicated by an ‘h’, ‘b’, or 0x are decimal.
6. Sales and Service information
6.1 Revision History
23
23
23
6.2 Copyrights
July 23, 2004
Rev. **
3
CY8C0104 and CY8C0105
Preliminary Data Sheet
1. Pin Information
This chapter describes the CY8C0104/05 RFID device pins and pinout configurations.
1.1 Pinouts
The CY8C0104 RFID device is available in a variety of packages, which are listed and illustrated in the following section. The
pinout for the CY8C0105 RFID ChipModule is shown and described ahead. Please contact SonMicro at www.sonmicro.com
regarding program customization and GPIO pins.
1.1.1. RFID Chip
Table 1-1. CY8C0104 RFID Chip
Pin #
Pin Name
Description
Antenna Drive Pin When the RFID chip tries to read the transponder, a ~125 kHz square wave with a 50% duty cycle is output on this
pin as well as at ADRV1, ADRV2 and ADRV3 pins to drive the antenna. These pins should be connected together externally to drive
the antenna with more current.
1
ADRV0
2
3
4
5
GPIO0
RSRV0
RSRV0
ADRV1
NC Available for customization as GPIO pin
Reserved 0 Connected externally to pin 4.
Reserved 0 Connected externally to pin 3.
Antenna Drive Pin See Pin 1 description.
Mode Select Used to select the mode of operation. Read Mode if pin is logic 1 (5V) after POR. Command Receive Mode if pin is logic
6
M_SELECT
low (0V) after POR. Use the XRES pin connection to reset the RFID Chip logic signals to change mode of operation.
7
ADRV2
TX
Antenna Drive Pin See Pin 1 description.
8
UART Transmit, TX Default communication rate = 19200 bps. Rate is available for customization.
Switch Mode Pump (SMP) connection to external components required.
Antenna Drive Pin See Pin 1 description.
NC Available for customization as a GPIO pin or for LCD control..
NC Available for customization as a GPIO pin or for LCD control..
NC Available for customization as a GPIO pin, external crystal connection or for LCD control..
Ground Connection
NC Available for customization as a GPIO pin, external crystal connection or for LCD control..
NC Available for customization as a GPIO pin or for LCD control..
NC Available for customization as a GPIO pin or for LCD control..
NC Available for customization as a GPIO pin or for LCD control..
External Reset Active high pin reset with internal pull down.
UART Receive, RX Default communication rate = 19200 bps. Rate is available for customization.
Reserved 1 This pin is reserved and should be connected externally to pin 22.
Reserved 1 This pin is reserved and should be connected externally to pin 21
NC Available for customization as a GPIO pin
9
SMP
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
ADRV3
GPIO1
GPIO2
GPIO3
GND
GPIO4
GPIO5
GPIO6
GPIO7
XRES
RX
RSRV1
RSRV1
GPIO8
GPIO9
REF
NC Available for customization as a GPIO or for LED control.
Reference Voltage This pin outputs a 2.6V reference voltage for the analog-front end.
Ground Connection
Analog Input Signal Connected to analog front end
Supply Voltage 5V Input
GND
AIS
Vdd
July 23, 2004
Rev. **
4
CY8C0104 and CY8C0105
Preliminary Data Sheet
CY8C0104 RFID Chip
CY8C0105 RFID ChipModule
ADRV
GPIO0
RSRV0
RSRV0
ADRV1
M_SELECT
ADRV2
TX
ADRV
GPIO0
T1OUT
R1IN
Vdd
Vdd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
28
27
26
25
24
23
22
1
2
3
4
5
6
7
8
9
10
11
12
13
14
28
27
26
25
24
23
22
21
20
19
18
17
16
15
AIS
GNDC
REF
NC
GND
GPIO9
GPIO8
RX
M_SELECT
TX
GPIO9
GPIO8
RSRV1
RSRV1
RX
PDIP
Chip
SMP
GPIO2
GND
XRES
GPIO6
GPIO4
GPIO5
GPIO7
NC
SSOP 21
Module
SMP
20
19
18
17
16
15
ADRV3
GPIO1
GPIO2
GPIO3
GND
GPIO3
GPIO1
GND
NC
IND2
XRES
GPIO7
GPIO6
GPIO5
GPIO4
Vdd
IND2
1.1.2. RFID ChipModule
Table 2-1. CY8C0105 RFID ChipModule
Pin #
Pin Name
Description
Antenna Drive Pin. When the RFID chip tries to read the transponder, a ~125 kHz square wave with a 50% DC signal is found on this
1
ADRV
pin. The other end of the antenna is connected to IND2.
2
3
GPIO0
T1OUT
NC Available for customization as a GPIO pin.
RS232 TX Signal present at this pin (±5V minimum). Do not connect this pin to TTL pins (5V). T1OUT is pin 14 of MAX232 IC. Designer
may connect this pin to RX pin of PC COM port (DB9 Pin 2) in order to transmit data to PC.
RS232 RX (Receive) Signal present at this pin (±30V maximum). Do not connect this pin to TTL pins (5V). R1IN is pin 13 of MAX232 IC.
4
5
6
R1IN
M_SELECT
TX
Designer may connect this pin to TX pin of PC COM port (DB9 Pin 3) in order to receive data from PC.
Mode Select Used to select the mode of operation. Read Mode if pin is logic 1 (5V) after POR. Command Receive Mode if pin is logic
low (0V) after POR. Use the XRES pin connection to reset the RFID Chip logic signals to change mode of operation.
UART Transmit, TX UART communication pin. Connected to RS232 communication chip as well. Signal on T1OUT (pin 3). Default
communication rate = 19200 bps. Rate is available for customization.
7
8
SMP
GPIO2
GND
Switch Mode Pump (SMP) connection to external components required.
NC Available for customization as a GPIO pin or for LCD control..
Ground Ground connection. Connect to pins 12 and 26.
9
10
11
12
13
GPIO3
GPIO1
GND
NC Available for customization as a GPIO pin, for I2C, for external crystal connection or for LCD control..
NC Available for customization as a GPIO pin or for LCD control..
Ground Ground connection. Connect to pins 9 and 26.
NC
No Connect This pin is not connected to anywhere and thus is not functional.
Inductor Connection The second end of the inductor is connected to this pin or pin 15 to complete the connection between the antenna
14
15
IND2
IND2
driver and the analog-front end. Pins 14 and 15 are connected internally..
Inductor Connection The second end of the inductor is connected to this pin or pin 14 to complete the connection between the antenna
driver and the analog-front end. Pins 14 and 15 are connected internally..
16
17
18
19
20
21
22
Vdd
Supply Voltage 5V Input
No Connect No function.
NC
GPIO7
GPIO5
GPIO4
GPIO6
XRES
NC Available for customization as a GPIO pin or for LCD control..
NC Available for customization as a GPIO pin or for LCD control..
NC Available for customization as a GPIO pin, for I2C, for external crystal connection or for LCD control..
NC Available for customization as a GPIO pin or for LCD control..
External Reset Active high pin reset with internal pull down.
UART Transmit, RX UART communication pin. Connected to RS232 communication chip as well. Signal on R1IN (pin 4). Default
23
RX
communication rate = 19200 bps. Rate is available for customization.
24
25
GPIO8
GPIO9
NC Available for customization as a GPIO pin.
NC Available for customization as a GPIO pin or for LED control..
July 23, 2004
Rev. **
5
CY8C0104 and CY8C0105
Preliminary Data Sheet
26
27
28
GND
NC
Ground Ground connection. Connect to pins 9 and 12.
No Connect No function.
Supply Voltage 5V Input
Vdd
July 23, 2004
Rev. **
6
CY8C0104 and CY8C0105
Preliminary Data Sheet
2. Communication Protocol
2.1 UART
This chapter describes the UART communication protocol for communication between the CY8C0104/05 and an interface. Other
communication methods can be implemented upon customer request. Please visit www.sonmicro.com for support in adding a
different communication protocol.
The RFID ChipModule communicates with peripheral devices via 8-byte data packets at 19200 bps. This baud rate can be
increased or decreased through firmware modification. Most commands consist of 8-byte packets but there are also 16-byte data
packets.
The RFID ChipModule sends the received data back to an external device upon receipt of the UART signal. The external device
checks that the data is the same as the previously sent data. If the data is the same, it sends an acknowledgement. If not, it sends
a non-acknowledgement string message.
2.1.1 Read Tag Command
This command is used to start a read.
‘reTWWXYZ’
ASCII letters ‘re’ start the read command. The following table lists the appropriate values for the other characters. It is not
possible to read block 0.
Table 2-1. Read Tag Command Scheme
Letter
Description
Value
‘0’
Result
T
Selects Read Method (string)
Byte Track Method
‘1’
Sequential Terminator Method
EM4100/02 Method
EM4100/02 (Decoded) Method
Manchester RF/32
Manchester RF/64
Eco Power Mode
Full Power Mode
Read 1 Time
‘2’
‘3’
WW
X
Modulation Type (string)
Power Mode (hex)
‘32’
‘64’
0x01
0x02
0x01
0x02
0x03
0x04
0x05
0x06
0x07
0x01
0x02
0x03
0x04
0x05
0x06
……
0x31
Y
Number of Reads (hex)
Read 2 Times
Read 3 Times
Read 4 Times
Read 5 Times
Read 10 Times
Read Always
Z*
Number of Blocks*
Read 1 Block
Read 2 Blocks
Read 3 Blocks
Read 4 Blocks
Read 5 Blocks
Read 6 Blocks
……
Read 31 Blocks
*Most T55xx transponders consist of 8 blocks. T5552 transponders consist of 32 blocks. If EM4100/02 Read Methods are selected, the user does not need to program
the number of blocks to be read.
July 23, 2004
Rev. **
7
CY8C0104 and CY8C0105
Preliminary Data Sheet
2.1.1.1 Read Command Example
This example describe the commands necessary to read 4 blocks of a Q5 transponder 1 time with Manchester RF/64 modulation
type in full power using the Byte Track Method. Table 4-2 shows the values that are used for the command. The code that is sent
though the UART is shown below. Table 2-3 shows the steps in the read process.
Table 2-2. Example Read Tag Command Values
Letter
Description
Selects Read Method (string)
Modulation Type (string)
Power Mode (hex)
Value
‘0’
Result
T
WW
X
Byte Track Method
Manchester RF/64
Full Power Mode
Read 1 Time
‘64’
0x02
0x01
0x04
Y
Readtime (hex)
Z
Number of Blocks (hex) *
Read 4 Blocks
‘re064’ + char(0x02) +char(0x01)+char(0x04)
= re064 + <0x02> + <0x01> + <0x04>
The designer must send the ‘re064
’ string to RFID Chip
2.1.1.2 UART Read Tag Command Process
Table 2-3 shows an example command process for sending a read command to the RFID chip.
Table 2-3. Example Read Tag Command Process
Step
Process
Device
External
Messgae
re064□□□*
re064□□□*
1
Send Read Command
2
RFID Chip Returns Read Command
RFID Chip
3
4
5
6
Compare Sent Command to Returned Command
Send Acknowledge
External
External
acknwlge
acknokok
Return Acknowledge
RFID Chip
RFID Chip
Execute Read Command
* This ‘ re064□□□’ value appears in the text box when using the SMRFID Software.
2.1.2 Write Tag Command
The RFID Chip and ChipModule use this command to start programming a byte (for blocks 0-7):
‘blXYlcZZ’
ASCII letters ‘bl’ and ‘lc’ start the program command. The Table 2-4 lists the appropriate values for the other characters.
Table 2-4. Write Tag Command Scheme (blocks 0- 7)
Letter
Description
Value
Result
XY
Determines the block to be programmed (0-7)
0x30 + 0x30
0x01 + 0x31
0x02 + 0x32
0x03 + 0x33
0x04 + 0x34
0x05 + 0x35
0x06 + 0x36
0x07 + 0x37
0x30 + 0x30
0x31+ 0x31
Program Block 0
Program Block 1
Program Block 2
Program Block 3
Program Block 4
Program Block 5
Program Block 6
Program Block 7
Locked
ZZ
Locked / Unlocked
Unlocked
July 23, 2004
Rev. **
8
CY8C0104 and CY8C0105
Preliminary Data Sheet
Use the following command to program blocks higher than 7:
‘blXflcZZ’
ASCII letters ‘bl’ and ‘flc’ start the program command. The following table lists the appropriate values for the other characters.
Table 2-5. Write Tag Command Scheme (blocks 8-31)
Letter
Description
Value
0x08
Result
X
Determines the block to be programmed (8-31)
Program Block 8
Program Block 9
Program Block 10
Program Block 11
……
0x09
0x0A
0x0B
……
0x1D
Program Block 29
Program Block 30
Program Block 31
Locked
0x1E
0x1F
ZZ
Locked / Unlocked
0x30 + 0x30
0x31+ 0x31
Unlocked
2.1.2.1 Write Tag Command Example 1
To program block 0 of a Q5 transponder with “6001F00E’ and to lock the block, use the following command:
‘bl’ + char(0x30) + char(0x30) +‘lc’ + char(0x31) + char(0x31)
= ‘bl00lc11’ (send this string to the RFID chip)
Table 2-6 shows the values that are used for the command. Table 4-3 shows the steps in the read process.
Table 2-6. Write Tag Command values
Letter
XY
Description
Selects Block to Program (hex)
Modulation Type (hex)
Value
0x30 + 0x30
0x31 + 0x31
Result
Program Block 0
Locked
ZZ
2.1.2.2 UART Write Tag Command Example 2
To program block 1 of a Q5 transponder with ‘52588B45’ without locking the block use the following command:
‘bl’ + char(0x01) + char(0x31) +‘lc’ + char(0x30) + char(0x30)
= ‘bl + <0x01> + 1lc00’ (send this string to the RFID chip)
Table 2-7 shows the values that are used for the command. Table 2-9 shows the steps in the read process.
Table 2-7. Example Program Command values
Letter
XY
Description
Selects Block to Program (hex)
Modulation Type (hex)
Value
0x01 + 0x31
0x30 + 0x30
Result
Program Block 0
Unlocked
ZZ
July 23, 2004
Rev. **
9
CY8C0104 and CY8C0105
Preliminary Data Sheet
2.1.2.2 UART Write Tag Command Example 3
To program block 20 of a Q5 transponder with ‘30303030’ without locking the block, use the following command:
‘bl’ + char(0x14) + ‘flc’ + char(0x30) + char(0x30)
= ‘bl + <0x14> + 1lc00’ (send this string to the RFID chip)
Table 2-8 shows the values that are used for the command. Table 2-9 shows the steps in the read process.
Table 2-8. Example Program Command Values
Letter
X
Description
Selects Block to Program (hex)
Modulation Type (hex)
Value
0x14
Result
Program Block 0
Unlocked
ZZ
0x30 + 0x30
2.1.3.4 UART Program Command Process
Table 2-9. Example Block Program Process
Step
Process
Device
External
Message
bl□0lc00*
bl□0lc00*
1
Send Program Command
2
RFID Chip Returns Program Command
RFID Chip
3
4
Compare Sent Command to Returned Command
Send Acknowledge
External
External
acknwlge
acknokok
‘xxxxxxxx’
‘xxxxxxxx’
5
Return Acknowledge
RFID Chip
External
6
Send Program Value
7
Return Program Value
RFID Chip
External
9
Compare Sent Value to Returned Value
Send Acknowledge
10
11
12
External
acknwlge
acknokok
Return Acknowledge
RFID Chip
RFID Chip
Execute Write Command
* This ‘bl□0lc00’ value appears in the text box when using the SMRFID Software.
2.1.3 Byte Tracking
To select byte tracking, the following command is used:
‘trackdaX’
Table 2-10. Byte Tracking Values
Letter
Description
Value
0x01
0x02
0x03
0x04
Result
X
Determines the Number of Bytes to be tracked
Track One Byte
Track Two Bytes
Track Three Bytes
Track Four Bytes
To program the RFID to track 0xE7 in an incoming data stream, send the following command.
‘trackda’ + char(0x01)
= ‘trackda + <0x01’ (send this string to the RFID chip)
= ‘trackda□’
Next, send the Byte Track value
‘E7303030’
July 23, 2004
Rev. **
10
CY8C0104 and CY8C0105
Preliminary Data Sheet
Note, the transponder should have the value 0xE7 in its memory and Byte Track Mode should be used.
Table 2-11. Example Byte Track Command Process
Step
1
Process
Device
External
Message
‘trackda□’
‘trackda□’
Send Byte Track Command
2
RFID Chip Returns Byte Track Command
Compare Sent Command to Returned Command
Send Acknowledge
RFID Chip
External
4
5
External
‘acknwlge’
‘acknokok’
3
Wait for Acknowledge Message
Return Acknowledge
RFID Chip
RFID Chip
External
6
7
Wait for ‘Acknowledge from RFID Chip
Send Byte Track Value
8
External
‘E7303030’
‘E7303030’
9
Return Byte Track Value
RFID Chip
External
10
11
12
13
14
Compare Sent Value to Returned Value
Send Acknowledge
External
‘acknwlge’
‘acknokok’
Wait for Acknowledge Message
Return Acknowledge
RFID Chip
RFID Chip
RFID Chip
Write New Value to Flash Memory
* This ‘trackda□’ value appears in the text box when using the SMRFID Software.
2.1.4 Calibration Commands
2.1.4.1 Programming Transponder Parameters
Transponder delay parameters P0, P1 and P2 determine the length of time for writing 0, 1 and a gap value to the transponder
(T55XX) when the transponder is programmed. In the SMRFID software these parameters are entered in microsecond format. The
software then automatically calculates the parameters that are necessary to be sent to the chip. Parameters are determined
according to type of transponder used (T55xx) and the inductor. See individual transponder datasheets for more information.
These parameters determine the delays. The built-in delay function for each parameter is determined by the to following formula:
12KL + 20K + 8
= Delay
(1)
24000000
For a 100 µs delay, values of K = 26 and L = 6 work. First use the ‘progrdly’ command string to begin. Next use the following
command to send parameter values to the RFID chip.
‘TUWXYZfr’
Table 2-12. Transponder Delay Parameter Values
Letter
Delay Parameter
Variable
Format
hex
T
U
W
X
Y
Z
P0
K
L
hex
P1
P2
K
L
hex
hex
K
L
hex
hex
2.1.4.1.1 Delay Parameter Command Example
To program delay parameters of 100 ms, 300 ms, and 200 ms to P0, P1, and P2, respectively, first calculate the K and L values
from equation (1).
Table 4-13. Example Delay Parameter Values
Delay Parameter
Variable
Decimal
hex
July 23, 2004
Rev. **
11
CY8C0104 and CY8C0105
Preliminary Data Sheet
P0
P1
P2
K
L
K
L
K
L
26
06
62
08
2
0x1A
0x06
0x3E
0x08
0x02
0xC6
198
Next, send the following command:
‘progrdly,’
then the following command:
char(0x1A) + char(0x06) char(0x3E) + char(0x08) char(0x02) + char(0xC6) + ‘fr’
= ‘bl + <0x14> + 1lc00’ (send this string to the RFID chip)
Table 2-14 shows the values that are used for the command. Table 2-15 shows the steps in the delay parameter command
process.
Table 2-14. Example Delay Parameter Command Process
Step
Process
Send Change Delay Parameter Command
RFID Chip Returns Change Delay Parameter Command
Compare Sent Command to Returned Command
Send Acknowledge
Device
External
RFID Chip
External
External
RFID Chip
External
Message
‘progrdly’
‘progrdly’
1
2
3
4
5
6
‘acknwlge’
‘acknokok
Return Acknowledge
Send Change Delay Parameter Value
‘□□>□□Æfr’
‘□□>□□Æfr’
7
Return Change Delay Parameter Value
RFID Chip
8
9
Compare Sent Value to Returned Value
Send Acknowledge
External
External
‘acknwlge’
‘acknokok’
10
11
Return Acknowledge
RFID Chip
RFID Chip
Write New Delay Values to Flash Memory
* This ‘□□>□□Æfr’ value appears in the text box when using the SMRFID Software.
July 23, 2004
Rev. **
12
CY8C0104 and CY8C0105
Preliminary Data Sheet
2.1.4.2 Internal Gain Amplifiers
There are two gain amplifiers inside the RFID chip. Amplifications values can be adjusted using the following command value:
‘XYfreeee’
Table 4-15. Gain Parameters for Amplification
Letter
Description
Value
0x30
0x31
0x32
0x33
0x34
0x35
0x36
0x37
0x38
0x39
0x30
0x31
0x32
0x33
0x34
0x35
0x36
0x37
0x38
0x39
Amplification Result
X
Sets Gain Parameter for Amplifier 1
1.0
1.3
2.0
3.2
4.0
5.3
8.0
16.0
24.0
48.0
1.0
Y
Sets Gain Parameter for Amplifier 2
1.3
2.0
3.2
4.0
5.3
8.0
16.0
24.0
48.0
2.1.4.2.1 Internal Gain Amplifiers Example
To download a gain of 8 for amplifier 1 and a gain of 16 to amplifier 2, first send the ‘gainsett’ command. Next, send the following
command:
char(0x36) + char(0x37) + ‘freeee’
= ‘67freeee’
July 23, 2004
Rev. **
13
CY8C0104 and CY8C0105
Preliminary Data Sheet
2.1.4.2.2 Internal Gain Amplifiers Command Process
Table 4-16 shows the steps involved in setting the gain amplifiers.
Table 4-16.
Step
1
Process
Send Set Gain Amplifier Command
RFID Chip Returns Set Gain Amplifier Command
Compare Sent Command to Returned Command
Send Acknowledge
Device
External
Message
‘gainsett’
‘gainsett’
2
RFID Chip
External
3
4
External
‘acknwlge’
‘acknokok’
‘67freee’
5
Return Acknowledge
RFID Chip
External
6
Send Gain Amplifier Value
7
Return Gain Amplifier Value
RFID Chip
External
‘67freee’
8
Compare Sent Value to Returned Value
Send Acknowledge
9
External
‘acknwlge’
‘acknokok’
10
11
Return Acknowledge
RFID Chip
RFID Chip
Write New Gain Amplifier Value to Flash Memory
2.1.4.3 General System Parameters
There are four general system parameters for the RFID Chip and transponders:
•
•
•
•
R-ADF
P-ADF
WDR
FPAT.
They are listed and described below.
R-ADF : This value determines the frequency when antenna is being driven and attempting to read a transponder. The frequency
is determined by a PWM. The input clock for the PWM is 24 MHz. For a desired output frequency, the following formulae should
be applied.
24MHz
OutputFrequency
OutputFrequency =
−1
(2)
(3)
Period
PulseWidth =
(integer part)
2
If a 125 KHz output frequency is desired, the period should be 191 and pulse width 96. These values are then converted into
hexadecimal numbers and sent to the RFID chip.
P-ADF : This value determines the frequency when the antenna is being driven and attempting to write to a transponder. The
frequency is determined by a PWM. The input clock for the PWM is 24MHz. For a desired output frequency, the following formulae
should be applied.
24MHz
OutputFrequency
OutputFrequency =
−1
(4)
(5)
Period
PulseWidth =
(integer part)
2
If output frequency of 125 KHz is desired, the period should be 191 and pulse width 96. These values are then converted into
hexadecimal numbers and sent to the RFID chip
July 23, 2004
Rev. **
14
CY8C0104 and CY8C0105
Preliminary Data Sheet
WDR: This value determines the period for a Watchdog reset. This value can be set to between 2 and 240 seconds. A hardware
reset occurs after each period. Note, the accuracy of the WDR period is low.
FPAT: This values determines the period for driving time of antenna when low power read mode is used. There is an internal
sleep timer adjusted to 1 second. When low power mode is selected, the reader is active. The antenna is driven in full power
mode for the value of the FPAT parameter times 7.5 ms, then enters sleep again.
For example, if FPAT is 20, the reader will wake up for 150 ms then re-enter sleep if a transponder is not detected. This process
occurs once per second. Current consumption is between 50 and 100 mA for the 150 ms period and between 20 and 70 uA during
sleep.
The following command string should be sent to the RFID chip to program the four parameters listed above:
‘TUWXYZfr.’
Table 4-17 lists the values for each parameter.
Table 4-17. General Parameter Values
Letter
Delay Parameter
Variable
Period
Value
Result
Format
hex
T
U
W
X
R-ADF
Pulse Width
Period
hex
R-ADF
WDR
hex
Pulse Width
Period
hex
Y
0x01
0x02
0x03
……
0xF0
Disables WDR
2-second period for WDR
2-second period for WDR
……
hex
hex
hex
……
hex
240-second period for WDR
Z
FPAT
Period
hex
2.1.4.3.1 General Parameters Example
To program the RFID chip with a R-ADF of 122448Hz, a P-ADF of 125654Hz, a 2-second WDR, and an FPAT of 60, first send the
‘systmset’ command, then the following data:
char(0xC3) + char(0x62) + char(0xBE) + char(0x5F) + char(0x02) + char(0x3C) + ‘fr’
= ‘Ãb□<¾_fr’ (This is what the designer sees in the text box).
Table 4-18 shows the steps involved in setting the general parameters.
Table 4-18. Setting the General Parameters.
Step
1
Process
Send Set General Parameters Command
RFID Chip Returns Set General Parameters Command
Compare Sent Command to Returned Command
Send Acknowledge
Device
External
Message
‘systmset’
‘systmset’
2
RFID Chip
External
3
4
External
‘acknwlge’
‘acknokok’
‘Ãb□<¾_fr’
‘Ãb□<¾_fr’
5
Return Acknowledge
RFID Chip
External
6
Send General Parameters Values
Return General Parameters Values
Compare Sent Value to Returned Value
Send Acknowledge
7
RFID Chip
External
8
9
External
‘acknwlge’
‘acknokok’
10
11
Return Acknowledge
RFID Chip
RFID Chip
Write New General Parameters Values to Flash Memory
July 23, 2004
Rev. **
15
CY8C0104 and CY8C0105
Preliminary Data Sheet
4.1.4.4 Default Parameter Values
Table 4-19 lists the default values for each of the above parameters. For more information on these parameters, how to change
them, and what they mean, please reference Sections 4.1.4.1 through 4.1.4.3 of this document and the SMRFID Software Guide.
Table 4-19. Default Parameter Values
Parameter
P0
Default Values
50
P1
300
300
3.2
16
P2
Gain 1
Gain 2
R-ADF
P-ADF
WDR
FPAT
Adjusted for optimal distance in factory
Adjusted for optimal distance in factory
Disabled
20
July 23, 2004
Rev. **
16
CY8C0104 and CY8C0105
Preliminary Data Sheet
3. Electrical Specifications
This chapter presents the electrical and performance specifications of the CY8C0104 and CY8C0105 devices. For the most up-to-
date electrical and performance specifications, confirm that you have the most recent datasheet by going to the web at
http://www.cypress.com/psoc.
Table 3-1. Units of Measure
Acronym
oC
Description
Acronym
mVrms
mW
Description
microvolts root-mean-square
degree Celcius
bits per second
decibels
bps
microwatts
milliampere
dB
ma
ms
fF
Hz
femtofarad
hertz
millisecond
millivolts
mV
nA
ns
nV
Ω
KB
kbit
kHz
kΩ
1024 bytes
1024 bites
kilohertz
nanoampere
nanosecond
nanovolts
kilohm
ohm
MHz
MΩ
µA
megahertz
megaohm
microampere
microfarad
microhenry
microsecond
microvolts
pA
pF
picoampere
picofarad
pp
peak-to-peak
parts per million
picosecond
samples per second
volts
ppm
ps
µF
µH
µs
sps
V
µV
3.1 Absolute Maximum Ratings
Table 3-2. Absolute Maximum Ratings
Symbol
Description
Min
-55
Typ
-
Max
+100
Units
Notes
TSTG
Storage Temperature
oC
Higher storage temperatures will reduce data
retention time.
TA
Vdd
VID
-
Ambient Temperature with Power Applied
Supply Voltage
-40
-0.5
+85
+6.0
oC
V
DC Input
Vss-0.5
Vss-0.5
-25
Vdd+0.5
Vdd+0.5
+50
V
DC Voltage Applied to Tri-state
Maximum Current into an Port Pin
V
IMIO
IMAIO
mA
mA
Maximum Current into an Port Pin
Configured as Analog Driver
-50
+50
-
-
Static Discharge Voltage
Latch
2000
V
200
mA
Table 3-3. Operating Temperatures
Symbol
Description
Min
-40
-40
Typ
Max
+85
Units
Notes
TA
TJ
Ambient Temperature
Junction Temperature
-
-
oC
oC
+100
The temperature rise from ambient to junction is
package specific.
July 23, 2004
Rev. **
17
CY8C0104 and CY8C0105
Preliminary Data Sheet
3.2 DC Characteristics
3.2.1 DC Chip-Level Specifications
The following table lists guaranteed maximum and minimum specifications for the voltage and temperature ranges: 4.75V to 5.25V
and -40oC <TA < 85oC, respectively. Typical parameters apply to 5V and are for design guidance only or unless otherwise
specified
Table 3-4. DC Operating Specifications
Symbol
Description
Min
Typ
Max
Units
Notes
Vdd
Supply Voltage
3.3
5.00
5.25
V
Full Power Read Mode
Io
Io
Io
Io
Supply Current
-
-
-
-
32.6
40
100
45
mA
Without Max232, Coil not connected.
Supply Current
Supply Current
Supply Current
50
38
55
mA
mA
mA
Without Max232, Coil connected.a
With Max232, Coil not connected.
With Max232, Coil connected.a
100
Power Save Read Mode
When low power read mode is used, full power will be active once a
second. Other times total supply current will be sleep current.b
Is
Sleep Current
-
20
60
uA
Programming Mode
Io
Supply Current
25
35
mA
a This may vary according to inductor type/value and size.
b Using low power mode reduces the average current consumption. The period for the full power active time is programmable.
Sleep current value is measured without MAX232 and without other peripheral devices connected (e.g., LED). For programming
information, please see the RFID Programming Guide or contact SonMicro.
3.2.2 DC General Purpose IO Specifications
The following table lists guaranteed maximum and minimum specifications for the voltage and temperature ranges: 4.75V to 5.25V
and -40oC < TA < 85oC, respectively. Typical parameters apply to 5V at 25oC and are for design guidance only or unless otherwise
specified.
Table 3-5. DC GPIO Specifications
Symbol
RPU
Description
Min
4
4
Typ
5.6
5.6
-
Max
Units
kΩ
Notes
Pull up Resistor
8
8
-
RPD
Pull Down Resistor
High Output Level
kΩ
VOH
Vdd - 1.0
V
IOH = 10 mA, Vdd = 4.75 to 5.25 (8 IO switching, 4
per side)
VOL
Low Output Level
-
-
0.75
V
IOH = 25 mA, Vdd = 4.75 to 5.25 (8 IO switching, 4
per side)
VIL
VIH
VH
Input Low Level
-
-
-
0.8
-
V
V
Vdd = 4.75 to 5.25
Vdd = 4.75 to 5.25
Input High Level
2.1
Input Hysterisis
-
-
-
-
60
1
-
mV
nA
pF
pF
IIL
Input Leakage (Absolute Value)
Capacitive Load on Pins as Input
-
Gross tested to 1 mA
CIN
COUT
3.5
3.5
10
10
Package and pin dependent. Temp = 25oC
Package and pin dependent. Temp = 25oC
Capacitive Load on Pins as
Output
3.2.3 RS232 IO Specifications
The following table lists guaranteed maximum and minimum specifications for the voltage and temperature ranges: 4.75V to 5.25V
and -40oC < TA < 85oC, respectively. Typical parameters apply to 5V at 25oC and are for design guidance only or unless otherwise
specified.
July 23, 2004
Rev. **
18
CY8C0104 and CY8C0105
Preliminary Data Sheet
Table 3-6. RS232 IO Specifications
Parameter
Conditions
All transmitter outputs loaded with 3 kΩ to ground
No Load, TA = +25oC
Min
4
Typ
5.6
5
Max
8
Units
kΩ
Output Voltage Swing
Logic Pull-up Current
10
µA
Receiver Input Voltage
Operating Range
-30
-
-30
V
Input Hysteresis
Input Resistance
Vdd = 5V, no hysteresis in shutdown
TA = +25oC, Vdd = 5V
0.2
3
0.5
5
1.0
6
V
kΩ
Propagation Delay
Normal Operation
0.5
4
10
30
µS
T
A = +25oC, Vdd = 5V, RL – 3 kΩ, CL = 50 pF to 2500 pF, measured from +3V
V/µS
Transition Region Slew Rate
to -3V or -3V to +3V.
Transmitter Output Resistance
Vdd = V+ = V- = 0V = ±2V
300
Ω
Transmitter Output Short-
circuit Current
±10
MA
3.3 Performance Specifications
Table 3-3. Performance Specifications
Modulation
Manchester 32
Min
Typ
6.5
Max
10
Units
Notes
-
-
cm
cm
Depends on internal gain, antenna-driving frequency, inductor size, Q, series capacitance,
transponder size.
Manchester 64
8
10
Depends on internal gain, antenna-driving frequency, inductor size, Q, series capacitance,
transponder size.
Data Read Rate
Manchester 32
Manchester 64
-
-
240
120
-
-
Byte/second
Byte/second
Decoded byte.
Decoded byte.
Reading Distances are measured with ISO CARDS. Smaller tags/transponders have smaller reading distances.
July 23, 2004
Rev. **
19
CY8C0104 and CY8C0105
Preliminary Data Sheet
4. Packaging Information
4.1 Packaging Dimensions
This chapter illustrates the packaging specifications for the CY8C0104 device, along with the thermal impedances for each
package and the typical package capacitance on crystal pins.
Figure 3-1. Molded DIP
Figure 3-2. SOIC
July 23, 2004
Rev. **
20
CY8C0104 and CY8C0105
Preliminary Data Sheet
1.470"
0.795"
0.485"
0.035"
0.055"
0.085"
0.225"
0.055"
0.050"
0.015"
Figure 3-3. ChipModule
4.2 Thermal Impedances
Table 4-1. Thermal Impedances per Package
Package
Typical θJA
*
PDIP
69oC/W
SSOP
96oC/W
July 23, 2004
Rev. **
21
CY8C0104 and CY8C0105
Preliminary Data Sheet
5. Ordering Information
The following table lists the CY8C0104/05 RFID device family features and ordering codes.
Table 5. CY8C0104/05 RFID Device Family Features and Ordering Information
Package
Ordering Code
CY8C0104-PI
CY8C0104-SIT
CY8C0104-SI
CY8C0104-PVIT
CY8C0104-PVI
CY8C0105
Flash (Kbytes)
SMP
Yes
Yes
Yes
Yes
Yes
Yes
Temperature Range
-40 oC to +85 oC
-40 oC to +85 oC
-40 oC to +85 oC
-40 oC to +85 oC
-40 oC to +85 oC
-40 oC to +85 oC
Extra GPIO Pins
XRES
Yes
Yes
Yes
Yes
Yes
Yes
DIP
4
4
4
4
4
4
11
11
11
11
11
11
SOIC (Tape & Reel)
SOIC
SSOP (Tape & Reel)
SSOP
ChipModule
5.1 Ordering Code Definitions
CY 8 C xxxx - xx x
Deliver Packaging
T = Tape and Reel
Package Type:
P = PDIP
Thermal Rating:
C = Commercial
I = Industrial
PV = SSOP
E = Exteneded
Part Number
Technology Code: C = CMOS
Marketing Code: 8 = Cypress MicroSystems
Company ID: CY = Cypress
July 23, 2004
Rev. **
22
CY8C0104 and CY8C0105
Preliminary Data Sheet
6. Sales and Service information
To obtain information about Cypress MicroSystems or PSoC Sales and technical support, reference the following
information.
Cypress MicroSystems
2700 162nd Street SW, Building D
Lynnwood, WA 98037
Phone:
800.669.0557 or 425.787.4800
425.787.4641
Facsimile:
Web Sites:
Company Information – http://www.cypress.com
Sales
– http://www.cypress.com/aboutus/sales_locations.cfm
Technical Support
– http://www.cypress.com/support/login.cfm
SONMicro ELECTRONICS LTD.
Soda Fab yolu.
Sonmez Mer. Fab. Kazanli
MERSIN 33270 TURKEY
Facsimile:
Web Site:
0 324 451 29 85
Company Information – http://www.sonmicro.com
Support
– http://www.sonmicro.com/ask.php
– http://www.sonmicro.com/ask.php
Products
6.1 Revision History
Document Title: CY8C0104, CY8C0105 Preliminary Data Sheet
Revision ECN#
**
Issue Date
Origin of Change
Description of Change
7/23/2004
OJMTMP.
New.
Distribution: External/Public
Posting: None
6.2 Copyrights
© Cypress MicroSystems, Inc. 2004. All rights reserved. PSoC™ (Programmable System-on-Chip™) are trademarks of Cypress MicroSystems,
Inc. All other trademarks or registered trademarks referenced herein are property of the respective corporations. The information contained herein
is subject to change without notice. Cypress MicroSystems assumes no responsibility for the use of any circuitry other than circuitry embodied in a
Cypress MicroSystems product. Nor does it convey or imply any license under patent or other rights.
Cypress MicroSystems does not authorize its products for use as critical components in life-support systems where a malfunction or failure may
reasonably be expected to result in significant injury to the user. The inclusion of Cypress MicroSystems products in life-support systems
application implies that the manufacturer assumes all risk of such use and in doing so indemnifies Cypress MicroSystems against all charges.
Cypress MicroSystems products are not warranted nor intended to be used for medical, life-support, life-saving, critical control or safety
applications, unless pursuant to an express written agreement with Cypress MicroSystems.
July 23, 2004
Rev. **
23
相关型号:
©2020 ICPDF网 联系我们和版权申明