AT89C5132 Atmel Corporation, AT89C5132 Datasheet - Page 85
AT89C5132
Manufacturer Part Number
AT89C5132
Description
Manufacturer
Atmel Corporation
Datasheets
1.AT89C5132.pdf
(3 pages)
2.AT89C5132.pdf
(182 pages)
3.AT89C5132.pdf
(38 pages)
4.AT89C5132.pdf
(33 pages)
Specifications of AT89C5132
Flash (kbytes)
64 Kbytes
Max. Operating Frequency
20 MHz
Cpu
8051-12C
Max I/o Pins
44
Usb Transceiver
1
Usb Speed
Full Speed
Usb Interface
Device
Spi
1
Uart
1
Adc Channels
2
Adc Resolution (bits)
10
Adc Speed (ksps)
22.7
Sram (kbytes)
2.25
Self Program Memory
API
Operating Voltage (vcc)
2.7 to 3.6
Timers
2
Isp
UART/USB
Watchdog
Yes
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
16.2.3
Figure 16-6. Command Token Format
16.2.4
4173E–USB–09/07
Command Token Format
Response Token Format
As shown in Figure 16-6, commands have a fixed code length of 48 Bits. Each command token
is preceded by a Start bit: a low level on MCMD line and succeeded by an End bit: a high level
on MCMD line. The command content is preceded by a Transmission bit: a high level on MCMD
line for a command token (host to card) and succeeded by a 7-bit CRC so that transmission
errors can be detected and the operation may be repeated.
Command content contains the command index and address information or parameters.
Table 71. Command Token Format
There are five types of response tokens (R1 to R5). As shown in Figure 16-7, responses have a
code length of 48 Bits or 136 Bits. A response token is preceded by a Start bit: a low level on
MCMD line and succeeded by an End bit: a high level on MCMD line. The command content is
preceded by a Transmission bit: a low level on MCMD line for a response token (card to host)
and succeeded (R1,R2,R4,R5) or not (R3) by a 7-bit CRC.
Response content contains mirrored command and status information (R1 response), CID regis-
ter or CSD register (R2 response), OCR register (R3 response), or RCA register (R4 and R5
response).
Figure 16-7. Response Token Format
R1, R4, R5
Bit Position
Width (Bits)
Description
Value
0
R3
R2
1
0
0
0
Start bit
0
0
0
47
‘0’
1
Total Length = 48 Bits
Content
Transmission
Total Length = 48 Bits
Total Length = 48 Bits
Content
46
bit
‘1’
1
Content
Content = CID or CSD
Total Length = 136 Bits
CRC
Command
45:40
Index
6
-
1
CRC
Argument
1
1
39:8
32
-
AT89C5132
CRC7
7:1
7
-
CRC
1
End bit
‘1’
0
1
85