AT89C5132 Atmel Corporation, AT89C5132 Datasheet - Page 122

no-image

AT89C5132

Manufacturer Part Number
AT89C5132
Description
Manufacturer
Atmel Corporation
Datasheets

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
Company:
Part Number:
AT89C5132-IL
Quantity:
192
Part Number:
AT89C5132-RORUL
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
AT89C5132-ROTIL
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
AT89C5132-ROTUL
Manufacturer:
Atmel
Quantity:
10 000
Figure 19-4. SPI Slave Mode Block Diagram
Note:
19.1.3
19.1.4
122
MSTR bit in SPCON is cleared to select slave mode.
AT89C5132
Bit Rate
Data Transfer
MISO/P4.2
MOSI/P4.1
SCK/P4.2
SS/P4.3
In case of the AT89C5132 is the only slave on the bus, it can be useful not to use SS pin and get
it back to I/O functionality. This is achieved by setting SSDIS bit in SPCON. This bit has no effect
when CPHA is cleared (see Section "SS Management", page 123).
The bit rate can be selected from seven predefined bit rates using the SPR2, SPR1 and SPR0
control Bits in SPCON according to Table 97. These bit rates are derived from the peripheral
clock (F
page 12.
Table 97. Serial Bit Rates
Notes:
The Clock Polarity bit (CPOL in SPCON) defines the default SCK line level in idle state
the Clock Phase bit (CPHA in SPCON) defines the edges on which the input data are sampled
and the edges on which the output data are shifted (see Figure 19-5 and Figure 19-6). The SI
signal is output from the selected slave and the SO signal is the output from the master. The
SPR2
0
0
0
0
1
1
1
1
PER
1. These frequencies are achieved in X1 mode, F
2. These frequencies are achieved in X2 mode, F
SPR1
0
0
1
1
0
0
1
1
) issued from the Clock Controller block as detailed in Section “Clock Controller”,
SPCON.5
SSDIS
SPR0
0
1
0
1
0
1
0
1
Control and Clock Logic
6 MHz
46.875
187.5
93.75
3000
1500
6000
SPCON.2
750
375
CPHA
(1)
8 MHz
4000
2000
1000
8000
62.5
500
250
125
SPCON.3
CPOL
(1)
10 MHz
Bit Rate (kHz) Vs F
156.25
78.125
10000
312.5
5000
2500
1250
625
(1)
I
SPSTA.7
SPIF
12 MHz
8-bit Shift Register
PER
PER
12000
187.5
93.75
6000
3000
1500
750
375
SPDAT RD
SPDAT WR
= F
= F
(2)
PER
OSC
OSC
16 MHz
.
÷ 2.
16000
8000
4000
2000
1000
500
250
125
(2)
Q
20 MHz
156.25
10000
20000
312.5
5000
2500
1250
625
(2)
4173E–USB–09/07
F
PER
128
Divider
16
32
64
(1)
2
4
8
1
while

Related parts for AT89C5132