Siemens
Product Manual R0002
Semiconductor Group
9
3.1
5
Registers
The R0002 has the following information registers:
CID and RCA are used for identifying and addressing the R0002. The third register contains the
card specific data record. This record is a set of information fields to define the operation conditions
of the R0002.
For the user the CID and the CSD are read only registers. They are read out by special commands
(see "Chapter 6.1: Commands"). The RCA register is a write only register. Unlike CID and CSD,
RCA looses its contents after powering down the card. Its value is reassigned in each initialization
cycle. The complete CID and parts of the CSD are programmed by the content provider via the pro-
gramming mask (see "Chapter 8: Programming mask format").
5.1
Card identification (CID)
This registers content is the card identification information used during the card identification proce-
dure. It is a 128 bit wide register. The CID is divided into three slices:
The CID has to be error free. To ensure the correctness of the CID a CRC checksum is added to the
end of the CID. The CRC checksum is computed by the following formula:
CRC Calculation: G(x) = x
7
+ x
3
+ 1
M(x) = CID[127]
x
119
+...+ CID[8]
x
0
In the R0002 the CID is programmed with parameters defined by the content provider. The pro-
gramming is done by the mask which is used for the data programming too. Details of the mask pro-
gramming and the formats of data transfer between content provider and card manufacturer are
defined in "Chapter 8: Programming mask format".
CRC[6...0] = Remainder [(M(x)
x
7
)/G(x)]
5.2
Relative card address (RCA)
The 16-bit relative card address register carries the card address assigned by the host during the
card identification. This address is used for the addressed host to card communication after the card
Name
Width
Type
Description
CID
128
Mask programmable,
read only for user
Programmed during
initialization, not readable
Read only
Card identification number, card individual number for
identification.
Relative card address, local system address of a card,
dynamically assigned by the host during initialization.
Card specific data, information about the card operation condi-
tions.
RCA
16
CSD
128
Table 2: R0002 registers
Name
Field
Width
CID-slice
Manufacturer ID
Card individual number
CRC checksum
not used, always 1
MID
CIN
CRC
-
24
96
7
1
[127:104]
[103:8]
[7:1]
[0:0]
Table 3: CID fields