English
Language : 

PIC16LF1454 Datasheet, PDF (203/418 Pages) Microchip Technology – 14/20-Pin Flash, 8-Bit USB Microcontrollers with XLP Technology
PIC16(L)F1454/5/9
22.0 MASTER SYNCHRONOUS
SERIAL PORT (MSSP)
MODULE
22.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 MSSPx 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 22-1 is a block diagram of the SPI interface
module.
FIGURE 22-1:
MSSP BLOCK DIAGRAM (SPI MODE)
Read
Data Bus
Write
SSPBUF Reg
SDI
SDO
SSPSR Reg
SDO_out
bit 0
Shift
Clock
SS
SCK
SS Control
Enable
Edge
Select
2 (CKP, CKE)
Clock Select
SCK_out
Edge
Select
SSPM<3:0>
4
( ) TMR2 Output
2
Prescaler TOSC
4, 16, 64
TRIS bit
Baud Rate
Generator
(SSPADD)
 2012 Microchip Technology Inc.
Preliminary
DS41639A-page 203