AT89C5132 Atmel Corporation, AT89C5132 Datasheet - Page 128

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
19.3.7
128
AT89C5132
Slave Mode with Interrupt Policy
Figure 19-11. Slave SPI Polling Policy Flows
Figure 19-10 shows the initialization phase and the transfer phase flows using the interrupt
policy.
The transfer format depends on the master controller.
Reading SPSTA at the beginning of the ISR is mandatory for clearing the SPIF flag. Clear is
effective when reading SPDAT.
Program CPOL & CPHA
write data in SPDAT
SPI Initialization
Select Slave Mode
Disable interrupt
Prepare Transfer
Polling Policy
Select Format
Enable SPI
MSTR = 0
SPEN = 1
SPIE = 0
Prepare Next Transfer
Write Data in SPDAT
Get Data Received
Polling Policy
Data Received?
SPI Transfer
Read SPDAT
SPIF = 1?
4173E–USB–09/07

Related parts for AT89C5132