PIC18LF25K22-E/SS Microchip Technology, PIC18LF25K22-E/SS Datasheet - Page 217
![no-image](/images/manufacturer_photos/0/4/439/microchip_technology_sml.jpg)
PIC18LF25K22-E/SS
Manufacturer Part Number
PIC18LF25K22-E/SS
Description
32KB, Flash, 1536bytes-RAM,8-bit Family,nanoWatt XLP 28 SSOP .209in TUBE
Manufacturer
Microchip Technology
Series
PIC® XLP™ 18Fr
Specifications of PIC18LF25K22-E/SS
Core Processor
PIC
Core Size
8-Bit
Speed
48MHz
Connectivity
I²C, SPI, UART/USART
Peripherals
Brown-out Detect/Reset, HLVD, POR, PWM, WDT
Number Of I /o
24
Program Memory Size
32KB (16K x 16)
Program Memory Type
FLASH
Eeprom Size
256 x 8
Ram Size
1.5K x 8
Voltage - Supply (vcc/vdd)
1.8 V ~ 3.6 V
Data Converters
A/D 19x10b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 125°C
Package / Case
28-SSOP
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC18LF25K22-E/SS
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
- Current page: 217 of 496
- Download datasheet (5Mb)
15.2.6 SPI OPERATION IN SLEEP MODE
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
interrupts should be disabled.
TABLE 15-1:
2010 Microchip Technology Inc.
ANSELA
ANSELB
ANSELC
ANSELD
INTCON
IPR1
IPR3
PIE1
PIE3
PIR1
PIR3
PMD1
SSP1BUF
SSP1CON1
SSP1CON3
SSP1STAT
SSP2BUF
SSP2CON1
SSP2CON3
SSP2STAT
TRISA
TRISB
TRISC
TRISD
Legend:
Note 1:
Name
2:
Shaded bits are not used by the MSSPx in SPI mode.
PIC18(L)F2XK22 devices.
PIC18(L)F4XK22 devices.
MSSP2MD MSSP1MD
GIE/GIEH
ACKTIM
ACKTIM
SSP2IP
SSP2IE
TRISA7
TRISB7
TRISC7
TRISD7
SSP2IF
ANSC7
ANSD7
WCOL
WCOL
Bit 7
SMP
SMP
REGISTERS ASSOCIATED WITH SPI OPERATION
—
—
—
—
—
PEIE/GIEL
BCL2IP
BCL2IE
SSPOV
SSPOV
TRISA6
TRISB6
TRISC6
TRISD6
ANSC6
ANSD6
BCL2IF
ADIP
ADIE
ADIF
PCIE
PCIE
Bit 6
CKE
CKE
—
—
TMR0IE
TRISA5
TRISB5
TRISC5
TRISD5 TRISD4
SSPEN
SSPEN
ANSA5
ANSB5
ANSC5
ANSD5
RC1IP
RC2IP
RC1IE
RC2IE
RC1IF
RC2IF
SCIE
SCIE
Bit 5
SSP1 Receive Buffer/Transmit Register
SSP2 Receive Buffer/Transmit Register
D/A
D/A
—
ANSD4
CCP5MD
TRISA4
TRISB4
TRISC4
ANSC4
Preliminary
ANSB4
INT0IE
TX1IP
TX2IP
TX1IE
TX2IE
BOEN
BOEN
TX1IF
TX2IF
Bit 4
CKP
CKP
—
P
P
(2)
(2)
TRISB3
TRISD3
ANSB3
ANSD3
CCP4MD
CTMUIP
CTMUIE
CTMUIF
SSP1IP
SSP1IE
TRISA3
TRISC3
ANSC3
SSP1IF
SDAHT
SDAHT
ANSA3
In SPI Master mode, when the Sleep mode is selected,
all module clocks are halted and the transmission/
reception will remain in that state until the device
wakes. After the device returns to Run mode, the
module 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.
RBIE
Bit 3
S
S
PIC18(L)F2X/4XK22
(1)
(2)
(1)
(2)
TRISB2
TMR5GIP
TMR5GIE
TMR5GIF
ANSB2
CCP3MD
CCP1IP
CCP1IE
TMR0IF
CCP1IF
TRISA2
TRISC2
TRISD2
ANSC2
ANSD2
SBCDE
SBCDE
ANSA2
Bit 2
R/W
R/W
SSPM<3:0>
SSPM<3:0>
(1)
(1)
TRISB1
TRISD1
TMR3GIP
TMR3GIE
TMR3GIF
ANSB1
ANSD1
CCP2MD
TMR2IP
TMR2IE
TMR2IF
TRISA1
TRISC1
ANSA1
INT0IF
AHEN
AHEN
Bit 1
UA
UA
—
(1)
(2)
(1)
(2)
TRISB0
TRISD0
ANSD0
TMR1GIP
TMR1GIE
TMR1GIF
ANSB0
CCP1MD
TMR1IP
TMR1IE
TMR1IF
TRISA0
TRISC0
ANSA0
DHEN
DHEN
DS41412D-page 217
Bit 0
RBIF
BF
BF
—
(1)
(2)
(1)
(2)
Register
on Page
152
153
153
153
115
127
129
123
125
118
120
256
259
255
256
259
255
154
154
154
154
57
—
—
Related parts for PIC18LF25K22-E/SS
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
![TC1014-2.7VCT](/images/manufacturer_photos/0/4/440/microchip_technology_inc__tmb.jpg)
Part Number:
Description:
Manufacturer:
Microchip Technology Inc.
Datasheet:
![TC1014-5.0VCT](/images/manufacturer_photos/0/4/440/microchip_technology_inc__tmb.jpg)
Part Number:
Description:
Manufacturer:
Microchip Technology Inc.
Datasheet:
![TC1055-2.5VCT](/images/manufacturer_photos/0/4/440/microchip_technology_inc__tmb.jpg)
Part Number:
Description:
Manufacturer:
Microchip Technology Inc.
Datasheet:
![TC1055-2.7VCT](/images/manufacturer_photos/0/4/440/microchip_technology_inc__tmb.jpg)
Part Number:
Description:
Manufacturer:
Microchip Technology Inc.
Datasheet:
![TC1055-2.8VCT](/images/manufacturer_photos/0/4/440/microchip_technology_inc__tmb.jpg)
Part Number:
Description:
Manufacturer:
Microchip Technology Inc.
Datasheet:
![TC1055-4.0VCT](/images/manufacturer_photos/0/4/440/microchip_technology_inc__tmb.jpg)
Part Number:
Description:
Manufacturer:
Microchip Technology Inc.
Datasheet:
![TC1186-2.5VCT](/images/manufacturer_photos/0/4/440/microchip_technology_inc__tmb.jpg)
Part Number:
Description:
Manufacturer:
Microchip Technology Inc.
Datasheet:
![TC1186-2.85VCT](/images/manufacturer_photos/0/4/440/microchip_technology_inc__tmb.jpg)
Part Number:
Description:
Manufacturer:
Microchip Technology Inc.
Datasheet: