PIC18F4539T-E/ML Microchip Technology, PIC18F4539T-E/ML Datasheet - Page 38

IC PIC MCU FLASH 12KX16 44QFN

PIC18F4539T-E/ML

Manufacturer Part Number
PIC18F4539T-E/ML
Description
IC PIC MCU FLASH 12KX16 44QFN
Manufacturer
Microchip Technology
Series
PIC® 18Fr

Specifications of PIC18F4539T-E/ML

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
32
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)
4.2 V ~ 5.5 V
Data Converters
A/D 8x10b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 125°C
Package / Case
44-QFN
Processor Series
PIC18F
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
32
Number Of Timers
16 bit
Operating Supply Voltage
2 V to 5.5 V
Maximum Operating Temperature
+ 125 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
8
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
PIC18FXX39
4.3
For PIC18FXX39 devices, a “fast interrupt return”
option is available for high priority interrupts. A single
level Fast Register Stack is provided for the STATUS,
WREG and BSR registers; it is not readable or writable.
When the processor vectors for an interrupt, the stack
is loaded with the current value of the corresponding
register. If the FAST RETURN instruction is used to
return from the interrupt, the values in the registers are
then loaded back into the working registers.
4.4
The program counter (PC) specifies the address of the
instruction to fetch for execution. The PC is 21-bits
wide. The low byte is called the PCL register. This reg-
ister is readable and writable. The high byte is called
the PCH register. This register contains the PC<15:8>
bits and is not directly readable or writable. Updates to
the PCH register may be performed through the
PCLATH register. The upper byte is called PCU. This
register contains the PC<20:16> bits and is not directly
readable or writable. Updates to the PCU register may
be performed through the PCLATU register.
FIGURE 4-3:
DS30485A-page 36
Note:
OSC2/CLKO
Fast Register Stack
PCL, PCLATH and PCLATU
(RC mode)
The fast interrupt return for PIC18FXX39
devices is reserved for use by the ProMPT
kernel and the Timer2 match interrupt. It is
not available to the user for any other
interrupts or returns from subroutines.
OSC1
Q1
Q2
Q3
Q4
PC
Q1
CLOCK/INSTRUCTION CYCLE
Execute INST (PC-2)
Fetch INST (PC)
Q2
PC
Q3
Q4
Q1
Preliminary
Execute INST (PC)
Fetch INST (PC+2)
Q2
PC+2
The PC addresses bytes in the program memory. To
prevent the PC from becoming misaligned with word
instructions, the LSB of PCL is fixed to a value of ‘0’.
The PC increments by 2 to address sequential
instructions in the program memory.
The CALL,
instructions write to the program counter directly. For
these instructions, the contents of PCLATH and
PCLATU are not transferred to the program counter.
The contents of PCLATH and PCLATU will be trans-
ferred to the program counter by an operation that
writes PCL. Similarly, the upper two bytes of the pro-
gram counter will be transferred to PCLATH and
PCLATU by an operation that reads PCL. This is useful
for computed offsets to the PC (see Section 4.8.1).
4.5
The clock input (from OSC1) is internally divided by
four to generate four non-overlapping quadrature
clocks, namely Q1, Q2, Q3 and Q4. Internally, the pro-
gram counter (PC) is incremented every Q1, the
instruction is fetched from the program memory and
latched into the instruction register in Q4. The instruc-
tion is decoded and executed during the following Q1
through Q4. The clocks and instruction execution flow
are shown in Figure 4-3.
Q3
Q4
Clocking Scheme/Instruction
Cycle
Q1
RCALL,
Execute INST (PC+2)
Fetch INST (PC+4)
Q2
 2002 Microchip Technology Inc.
PC+4
GOTO and program branch
Q3
Q4
Internal
Phase
Clock

Related parts for PIC18F4539T-E/ML