AT89C51RD2-RDTIM Atmel, AT89C51RD2-RDTIM Datasheet - Page 65
AT89C51RD2-RDTIM
Manufacturer Part Number
AT89C51RD2-RDTIM
Description
MCU 8-Bit AT89 80C51 CISC 64KB Flash 3.3V/5V 64-Pin VQFP Tray
Manufacturer
Atmel
Datasheet
1.AT89C51RD2-RDTIM.pdf
(137 pages)
- Current page: 65 of 137
- Download datasheet (2Mb)
16.3
16.3.1
4235J–8051–01/08
Functional Description
Operating Modes
Figure 16-2
Figure 16-2. SPI Module Block Diagram
The Serial Peripheral Interface can be configured in one of the two modes: Master mode or
Slave mode. The configuration and initialization of the SPI Module is made through one register:
Once the SPI is configured, the data exchange is made using:
During an SPI transmission, data is simultaneously transmitted (shifted out serially) and
received (shifted in serially). A serial clock line (SCK) synchronizes shifting and sampling on the
two serial data lines (MOSI and MISO). A Slave Select line (SS) allows individual selection of a
Slave SPI device; Slave devices that are not selected do not interfere with SPI bus activities.
When the Master device transmits data to the Slave device via the MOSI line, the Slave device
responds by sending data to the Master device via the MISO line. This implies full-duplex trans-
mission with both data out and data in synchronized with the same clock (Figure 16-3).
• The Serial Peripheral Control register (SPCON)
• SPCON
• The Serial Peripheral STAtus register (SPSTA)
• The Serial Peripheral DATa register (SPDAT)
SPI Interrupt Request
shows a detailed structure of the SPI Module.
Clock
Divider
FCLK PERIPH
SPR2
/128
/16
/32
/64
SPEN
/8
/4
Clock
Select
SSDIS
MSTR
SPIF
Receive Data Register
CPOL
7
WCOL
Shift Register
Internal Bus
6
SPI
Control
CPHA
5
4
3
SPR1
-
2
Clock
Logic
SPCON
1
AT89C51RD2/ED2
SPDAT
MODF
0
SPR0
-
M
Pin
Control
Logic
S
-
-
SPSTA
-
8-bit bus
1-bit signal
MOSI
MISO
SCK
SS
65
Related parts for AT89C51RD2-RDTIM
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
Part Number:
Description:
AT89C51RD2-IM8-bit Flash Microcontroller
Manufacturer:
ATMEL Corporation
Datasheet:
Part Number:
Description:
Manufacturer:
Atmel Corporation
Datasheet:
Part Number:
Description:
IC 8051 MCU FLASH 64K 44VQFP
Manufacturer:
Atmel
Datasheet:
Part Number:
Description:
IC 8051 MCU FLASH 64K 44PLCC
Manufacturer:
Atmel
Datasheet:
Part Number:
Description:
IC 8051 MCU FLASH 64K 44PLCC
Manufacturer:
Atmel
Datasheet:
Part Number:
Description:
IC MCU FLASH 8051 EEP 64K 44PLCC
Manufacturer:
Atmel
Datasheet:
Part Number:
Description:
IC MCU FLASH 8051 EEP 64K 44VQFP
Manufacturer:
Atmel
Datasheet:
Part Number:
Description:
IC 8051 MCU FLASH 64K 44VQFP
Manufacturer:
Atmel
Datasheet:
Part Number:
Description:
IC MCU FLASH 8051 EEP 64K 44PLCC
Manufacturer:
Atmel
Datasheet:
Part Number:
Description:
IC MCU FLASH 8051 EEP 64K 44VQFP
Manufacturer:
Atmel
Datasheet:
Part Number:
Description:
8-bit Flash Microcontroller
Manufacturer:
ATMEL Corporation
Datasheet:
Part Number:
Description:
8-bit Microcontrollers - MCU Microcontroller
Manufacturer:
Atmel
Datasheet:
Part Number:
Description:
IC MICRO CTRL 24MHZ 44TQFP
Manufacturer:
Atmel
Datasheet:
Part Number:
Description:
IC MICRO CTRL 24MHZ 44PLCC
Manufacturer:
Atmel
Datasheet: