![Microchip Technology PIC12F1501 Скачать руководство пользователя страница 168](http://html1.mh-extra.com/html/microchip-technology/pic12f1501/pic12f1501_manual_1785833168.webp)
2011-2015 Microchip Technology Inc.
DS40001609E-page 169
PIC16(L)F1508/9
21.0
MASTER SYNCHRONOUS
SERIAL PORT (MSSP)
MODULE
21.1
MSSP Module Overview
The Master Synchronous Serial Port (MSSPx) 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 (I
2
C™)
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
is a block diagram of the SPI interface
module.
FIGURE 21-1:
MSSP BLOCK DIAGRAM (SPI MODE)
Read
Write
SSPxBUF
8
8
SSPxSR
8
Bit 0
Shift clock
SDI
SDO
Data bus
Control
Enable
2
(CKP, CKE)
clock select
Edge
enable
Edge
enable
SCK_out
Prescaler
4, 16, 64
(T2_match)
2
T
OSC
Baud Rate
Generator
(SSPxADD)
TRIS bit
4
SSPM<3:0>
Rev. 10-000076A
12/16/2013
SSx
SDO_out
SCK
Содержание PIC12F1501
Страница 307: ...PIC16 L F1508 9 DS40001609E page 308 2011 2015 Microchip Technology Inc NOTES...
Страница 392: ...2011 2015 Microchip Technology Inc DS40001609E page 393 PIC16 L F1508 9 1RWH 6 7 7 588 8 7...
Страница 399: ...PIC16 L F1508 9 DS40001609E page 400 2011 2015 Microchip Technology Inc NOTES...