DatasheetQ Logo
Electronic component search and free download site. Transistors,MosFET ,Diode,Integrated circuits

PIC16F1503-I/ST View Datasheet(PDF) - Microchip Technology

Part Name
Description
Manufacturer
PIC16F1503-I/ST
Microchip
Microchip Technology 
PIC16F1503-I/ST Datasheet PDF : 352 Pages
First Prev 151 152 153 154 155 156 157 158 159 160 Next Last
PIC16(L)F1503
FIGURE 21-4:
SPI MASTER AND MULTIPLE SLAVE CONNECTION
SCKx
SPI Master SDOx
SDIx
General I/O
General I/O
General I/O
SCKx
SDIx SPI Slave
SDOx
#1
SSx
SCKx
SDIx SPI Slave
SDOx
#2
SSx
SCKx
SDIx SPI Slave
SDOx
#3
SSx
Rev. 10-000079A
8/1/2013
21.2.1 SPI MODE REGISTERS
The MSSP module has five registers for SPI mode
operation. These are:
• MSSP STATUS register (SSPxSTAT)
• MSSP Control Register 1 (SSPxCON1)
• MSSP Control Register 3 (SSPxCON3)
• MSSP Data Buffer register (SSPxBUF)
• MSSP Address register (SSPxADD)
• MSSP Shift register (SSPxSR)
(Not directly accessible)
SSPxCON1 and SSPxSTAT are the control and
STATUS registers in SPI mode operation. The
SSPxCON1 register is readable and writable. The
lower six bits of the SSPxSTAT are read-only. The
upper two bits of the SSPxSTAT are read/write.
In SPI master mode, SSPxADD can be loaded with a
value used in the Baud Rate Generator. More informa-
tion on the Baud Rate Generator is available in
Section21.7 “Baud Rate Generator”.
SSPxSR is the shift register used for shifting data in
and out. SSPxBUF provides indirect access to the
SSPxSR register. SSPxBUF is the buffer register to
which data bytes are written, and from which data
bytes are read.
In receive operations, SSPxSR and SSPxBUF
together create a buffered receiver. When SSPxSR
receives a complete byte, it is transferred to SSPxBUF
and the SSPxIF interrupt is set.
During transmission, the SSPxBUF is not buffered. A
write to SSPxBUF will write to both SSPxBUF and
SSPxSR.
DS40001607D-page 158
2011-2015 Microchip Technology Inc.

Share Link: 

datasheetq.com  [ Privacy Policy ]Request Datasheet ] [ Contact Us ]