PIC16F1826-I/MQ Microchip Technology, PIC16F1826-I/MQ Datasheet - Page 243

no-image

PIC16F1826-I/MQ

Manufacturer Part Number
PIC16F1826-I/MQ
Description
IC, 8BIT MCU, PIC16F, 32MHZ, QFN-28
Manufacturer
Microchip Technology
Datasheet

Specifications of PIC16F1826-I/MQ

Controller Family/series
PIC16F
Eeprom Memory Size
256Byte
Ram Memory Size
256Byte
Cpu Speed
32MHz
No. Of Timers
3
Interface
EUSART, I2C, SPI
Core Size
8 Bit
Program Memory Size
2kWords
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
24.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
MSSPx clock is much faster than the system clock.
In Slave mode, when MSSPx interrupts are enabled,
after the master completes sending data, an MSSPx
interrupt will wake the controller from Sleep.
If an exit from Sleep mode is not desired, MSSPx inter-
rupts should be disabled.
TABLE 24-1:
© 2009 Microchip Technology Inc.
APFCON0
ANSELA
ANSELB
INTCON
PIE1
PIR1
SSPxBUF
SSPxCON1
SSPxCON3
SSPxSTAT
TRISA
TRISB
Legend:
Note 1:
Name
*
SPI OPERATION IN SLEEP MODE
Shaded cells are not used by the MSSPx in SPI mode.
Page provides register information.
PIC16F/LF1827 only.
Synchronous Serial Port Receive Buffer/Transmit Register
RXDTSEL
TMR1GIE
TMR1GIF
ACKTIM
TRISA7
TRISB7
ANSB7
WCOL
Bit 7
SMP
GIE
SUMMARY OF REGISTERS ASSOCIATED WITH SPI OPERATION
SDO1SEL
SSPxOV
TRISA6
TRISB6
ANSB6
ADIE
PCIE
Bit 6
PEIE
ADIF
CKE
SSPxEN
SS1SEL
TMR0IE
TRISA5
TRISB5
ANSB5
RCIE
RCIF
SCIE
Bit 5
D/A
P2BSEL
TRISA4
TRISB4
ANSA4
ANSB4
BOEN
Preliminary
INTE
TXIE
Bit 4
TXIF
CKP
P
(1)
CCP2SEL
SSPxM3
SSP1IE
SSP1IF
TRISA3
TRISB3
ANSA3
ANSB3
SDAHT
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
MSSPx interrupt flag bit will be set and if enabled, will
wake the device.
S
(1)
PIC16F/LF1826/27
SSPxM2
P1DSEL
TMR0IF
CCP1IE
CCP1IF
SBCDE
TRISA2
TRISB2
ANSA2
ANSB2
Bit 2
R/W
P1CSEL
SSPxM1
TMR2IE
TMR2IF
TRISA1
TRISB1
ANSA1
ANSB1
AHEN
Bit 1
INTF
UA
CCP1SEL
SSPxM0
TMR1IE
TMR1IF
TRISA0
TRISB0
ANSA0
DHEN
IOCIF
Bit 0
DS41391B-page 243
BF
Register
on Page
237*
122
128
282
284
281
120
126
118
89
90
94

Related parts for PIC16F1826-I/MQ