PIC12F1516 MICROCHIP [Microchip Technology], PIC12F1516 Datasheet - Page 185

no-image

PIC12F1516

Manufacturer Part Number
PIC12F1516
Description
28/40/44-Pin Flash Microcontrollers with nanoWatt XLP Technology
Manufacturer
MICROCHIP [Microchip Technology]
Datasheet
21.0
21.1
The Master Synchronous Serial Port (MSSP) module is
a serial interface useful for communicating with other
peripheral or microcontroller devices. These peripheral
devices may be Serial EEPROMs, shift registers, dis-
play drivers, A/D converters, etc. The MSSP module
can operate in one of two modes:
• Serial Peripheral Interface (SPI)
• Inter-Integrated Circuit (I
The SPI interface supports the following modes and
features:
• Master mode
• Slave mode
• Clock Parity
• Slave Select Synchronization (Slave mode only)
• Daisy-chain connection of slave devices
Figure 21-1
module.
FIGURE 21-1:
 2011 Microchip Technology Inc.
MASTER SYNCHRONOUS
SERIAL PORT (MSSP)
MODULE
Master SSP (MSSP) Module
Overview
is a block diagram of the SPI interface
MSSP BLOCK DIAGRAM (SPI MODE)
2
C™)
SCK
SDO
SDI
SS
Read
SS Control
TRIS bit
bit 0
Enable
Select
Select
Edge
Edge
Preliminary
SSPBUF Reg
SSPSR Reg
SSPM<3:0>
4
Clock
PIC16(L)F1516/7/8/9
Shift
Write
(
Prescaler
Data Bus
Baud Rate
(SSPADD)
TMR2 Output
4, 16, 64
Generator
2 (CKP, CKE)
2
Clock Select
T
OSC
)
DS41452B-page 185

Related parts for PIC12F1516