PIC18LF2539T-I/SO Microchip Technology, PIC18LF2539T-I/SO Datasheet - Page 135

IC MCU FLASH 12KX16 EE AD 28SOIC

PIC18LF2539T-I/SO

Manufacturer Part Number
PIC18LF2539T-I/SO
Description
IC MCU FLASH 12KX16 EE AD 28SOIC
Manufacturer
Microchip Technology
Series
PIC® 18Fr

Specifications of PIC18LF2539T-I/SO

Core Processor
PIC
Core Size
8-Bit
Speed
40MHz
Connectivity
I²C, SPI, UART/USART
Peripherals
Brown-out Detect/Reset, LVD, POR, PWM, WDT
Number Of I /o
21
Program Memory Size
24KB (12K x 16)
Program Memory Type
FLASH
Eeprom Size
256 x 8
Ram Size
1408 x 8
Voltage - Supply (vcc/vdd)
2 V ~ 5.5 V
Data Converters
A/D 5x10b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Package / Case
28-SOIC (7.5mm Width)
Processor Series
PIC18LF
Core
PIC
Data Bus Width
8 bit
Data Ram Size
1408 B
Interface Type
I2C, SPI, AUSART
Maximum Clock Frequency
40 MHz
Number Of Programmable I/os
21
Number Of Timers
16 bit
Operating Supply Voltage
2 V to 5.5 V
Maximum Operating Temperature
+ 85 C
Mounting Style
SMD/SMT
3rd Party Development Tools
52715-96, 52716-328, 52717-734, 52712-325, EWPIC18
Development Tools By Supplier
DV164005, DV164136
Minimum Operating Temperature
- 40 C
On-chip Adc
5 bit
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
16.3.8
In Master mode, all module clocks are halted and the
transmission/reception will remain in that state until the
device wakes from SLEEP. After the device returns to
Normal mode, the module will continue to transmit/
receive data.
In 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
from SLEEP.
16.3.9
A RESET disables the MSSP module and terminates
the current transfer.
TABLE 16-2:
 2002 Microchip Technology Inc.
INTCON
PIR1
PIE1
IPR1
TRISC
SSPBUF
SSPCON
TRISA
SSPSTAT
Legend: x = unknown, u = unchanged, - = unimplemented, read as '0'. Shaded cells are not used by the MSSP in SPI mode.
Note 1: The PSPIF, PSPIE and PSPIP bits are reserved on the PIC18C2X2 devices; always maintain these bits clear.
Name
* Reserved bits; do not modify.
SLEEP OPERATION
EFFECTS OF A RESET
Synchronous Serial Port Receive Buffer/Transmit Register
GIE/GIEH
PSPIF
PSPIE
PSPIP
TRISC7
WCOL
Bit 7
SMP
REGISTERS ASSOCIATED WITH SPI OPERATION
(1)
(1)
(1)
PORTA Data Direction Register
TRISC6
SSPOV
PEIE/
ADIE
ADIP
GIEL
ADIF
Bit 6
CKE
TMR0IE
TRISC5
SSPEN
RCIF
RCIE
RCIP
Bit 5
D/A
TRISC4
INT0IE
TXIE
TXIP
Bit 4
TXIF
CKP
P
Preliminary
TRISC3
SSPM3
SSPIF
SSPIE
SSPIP
RBIE
Bit 3
S
16.3.10
Table 16-1 shows the compatibility between the
standard SPI modes and the states the CKP and CKE
control bits.
TABLE 16-1:
There is also an SMP bit which controls when the data
is sampled.
TMR0IF
SSPM2
Standard SPI Mode
Bit 2
R/W
*
Terminology
0, 0
0, 1
1, 0
1, 1
TMR2IF
TMR2IE
TMR2IP
SSPM1
INT0IF
BUS MODE COMPATIBILITY
Bit 1
UA
*
SPI BUS MODES
TMR1IF
TMR1IE
TMR1IP
TRISC0
SSPM0
PIC18FXX39
RBIF
Bit 0
BF
CKP
Control Bits State
0000 000x 0000 000u
0000 0000 0000 0000
0000 0000 0000 0000
0000 0000 0000 0000
1111 1111 1111 1111
xxxx xxxx uuuu uuuu
0000 0000 0000 0000
-111 1111 -111 1111
0000 0000 0000 0000
POR, BOR
0
0
1
1
Value on
DS30485A-page 133
All Other
CKE
Value on
RESETS
1
0
1
0

Related parts for PIC18LF2539T-I/SO