English
Language : 

PIC16F1933_11 Datasheet, PDF (221/430 Pages) Microchip Technology – 28-Pin Flash-Based, 8-Bit CMOS Microcontrollers LCD Driver and nanoWatt XLP Technology
PIC16(L)F1933
24.0 MASTER SYNCHRONOUS
SERIAL PORT MODULE
24.1 Master SSP (MSSP) Module
Overview
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 (I2C™)
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 24-1 is a block diagram of the SPI Interface
module.
FIGURE 24-1:
MSSP BLOCK DIAGRAM (SPI MODE)
Read
Data Bus
Write
SSPBUF Reg
SDI
SDO
SSPSR Reg
bit 0
Shift
Clock
SS
SCK
SS Control
Enable
Edge
Select
2 (CKP, CKE)
Clock Select
SSPM<3:0>
4
( ) TMR2 Output
2
Edge
Select
Prescaler TOSC
4, 16, 64
TRIS bit
Baud rate
generator
(SSPADD)
 2011 Microchip Technology Inc.
Preliminary
DS41575A-page 221