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

no-image

PIC12F1516

Manufacturer Part Number
PIC12F1516
Description
28/40/44-Pin Flash Microcontrollers with nanoWatt XLP Technology
Manufacturer
MICROCHIP [Microchip Technology]
Datasheet
21.2.6
In SPI Master mode, module clocks may be operating
at a different speed than when in Full-Power mode; in
the case of the Sleep mode, all clocks are halted.
Special care must be taken by the user when the MSSP
clock is much faster than the system clock.
In Slave mode, when MSSP interrupts are enabled,
after the master completes sending data, an MSSP
interrupt will wake the controller from Sleep.
If an exit from Sleep mode is not desired, MSSP inter-
rupts should be disabled.
TABLE 21-1:
 2011 Microchip Technology Inc.
ANSELA
ANSELC
APFCON
INTCON
PIE1
PIR1
SSPBUF
SSPCON1
SSPCON3
SSPSTAT
TRISA
TRISA
Legend:
Name
*
SPI OPERATION IN SLEEP MODE
— = Unimplemented location, read as ‘0’. Shaded cells are not used by the MSSP in SPI mode.
Page provides register information.
Synchronous Serial Port Receive Buffer/Transmit Register
TMR1GIE
TMR1GIF
ACKTIM
TRISA7
TRISC7
ANSC7
WCOL
Bit 7
SMP
GIE
SUMMARY OF REGISTERS ASSOCIATED WITH SPI OPERATION
TRISC6
SSPOV
TRISA6
ANSC6
ADIE
PCIE
Bit 6
PEIE
ADIF
CKE
TMR0IE
TRISC5
SSPEN
TRISA5
ANSA5
ANSC5
RCIE
RCIF
SCIE
Bit 5
D/A
TRISA4
TRISC4
ANSC4
BOEN
Preliminary
INTE
TXIE
Bit 4
TXIF
CKP
P
TRISA3
TRISC3
ANSA3
ANSC3
SDAHT
SSPIE
SSPIF
IOCIE
Bit 3
In SPI Master mode, when the Sleep mode is selected,
all module clocks are halted and the transmis-
sion/reception will remain in that state until the device
wakes. After the device returns to Run mode, the mod-
ule will resume transmitting and receiving data.
In SPI Slave mode, the SPI Transmit/Receive Shift
register operates asynchronously to the device. This
allows the device to be placed in Sleep mode and data
to be shifted into the SPI Transmit/Receive Shift
register. When all 8 bits have been received, the MSSP
interrupt flag bit will be set and if enabled, will wake the
device.
S
PIC16(L)F1516/7/8/9
TMR0IF
CCP1IE
CCP1IF
TRISC2
SBCDE
TRISA2
ANSA2
ANSC2
Bit 2
R/W
SSPM<3:0>
TMR2IE
TMR2IF
TRISA1
TRISC1
ANSA1
SSSEL
AHEN
Bit 1
INTF
UA
CCP2SEL
TMR1IE
TMR1IF
TRISC0
TRISA0
ANSA0
DHEN
IOCIF
Bit 0
DS41452B-page 195
BF
Register
on Page
189*
124
233
235
233
123
117
114
116
80
81
83

Related parts for PIC12F1516