PIC18F8525-E/PT Microchip Technology, PIC18F8525-E/PT Datasheet - Page 122

no-image

PIC18F8525-E/PT

Manufacturer Part Number
PIC18F8525-E/PT
Description
IC PIC MCU FLASH 24KX16 80TQFP
Manufacturer
Microchip Technology
Series
PIC® 18Fr

Specifications of PIC18F8525-E/PT

Core Processor
PIC
Core Size
8-Bit
Speed
25MHz
Connectivity
EBI/EMI, I²C, SPI, UART/USART
Peripherals
Brown-out Detect/Reset, LVD, POR, PWM, WDT
Number Of I /o
69
Program Memory Size
48KB (24K x 16)
Program Memory Type
FLASH
Eeprom Size
1K x 8
Ram Size
3.75K x 8
Voltage - Supply (vcc/vdd)
4.2 V ~ 5.5 V
Data Converters
A/D 16x10b
Oscillator Type
External
Operating Temperature
-40°C ~ 125°C
Package / Case
80-TFQFP
Processor Series
PIC18F
Core
PIC
Data Bus Width
8 bit
Data Ram Size
3840 B
Interface Type
MSSP, SPI, I2C, EUSART
Maximum Clock Frequency
40 MHz
Number Of Programmable I/os
69
Number Of Timers
2 x 8 bit
Operating Supply Voltage
4.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
PG164130, DV164035, DV244005, DV164005, PG164120, ICE2000, ICE4000, DV164136, DM163032
Minimum Operating Temperature
- 40 C
On-chip Adc
16 bit
For Use With
XLT80PT3 - SOCKET TRAN ICE 80MQFP/TQFPAC164320 - MODULE SKT MPLAB PM3 80TQFPAC174011 - MODULE SKT PROMATEII 80TQFP
Lead Free Status / RoHS Status
Lead free / RoHS Compliant

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC18F8525-E/PT
Manufacturer:
Microchip Technology
Quantity:
10 000
PIC18F6525/6621/8525/8621
10.7
PORTG is a 6-bit wide port with 5 bidirectional pins
(RG0:RG4) and one optional input only pin (RG5). The
corresponding data direction register is TRISG. Setting
a TRISG bit (= 1) will make the corresponding PORTG
pin an input (i.e., put the corresponding output driver in
a high-impedance mode). Clearing a TRISG bit (= 0)
will make the corresponding PORTC pin an output (i.e.,
put the contents of the output latch on the selected pin).
The Data Latch register (LATG) is also memory
mapped. Read-modify-write operations on the LATG
register, read and write the latched output value for
PORTG.
PORTG is multiplexed with both CCP/ECCP and
EUSART functions (Table 10-13). PORTG pins have
Schmitt Trigger input buffers.
When enabling peripheral functions, care should be
taken in defining TRIS bits for each PORTG pin. Some
peripherals override the TRIS bit to make a pin an
output, while other peripherals override the TRIS bit to
make a pin an input. The user should refer to the
corresponding peripheral section for the correct TRIS
bit settings.
The pin override value is not loaded into the TRIS reg-
ister. This allows read-modify-write operations of the
TRIS register without concern due to peripheral
overrides.
FIGURE 10-16:
DS39612B-page 120
Note:
RD LATG
Data Bus
RD TRISG
Peripheral Output
Enable
PORTG/Peripheral Out Select
Peripheral Data Out
WR PORTG
WR TRISG
RD PORTG
Peripheral Data In
WR LATG
PORTG, TRISG and LATG
Registers
(2)
On a Power-on Reset, these pins are
configured as digital inputs.
or
TRIS Latch
Data Latch
PORTG BLOCK DIAGRAM (PERIPHERAL OUTPUT OVERRIDE)
D
D
CK
CK
Q
Q
Q
Q
Override
TRIS
Logic
0
1
Q
EN
D
Schmitt
Trigger
V
N
P
V
DD
SS
programming voltage input during device programming.
The sixth pin of PORTG (MCLR/V
input pin. Its operation is controlled by the MCLRE
configuration
(CONFIG3H<7>).
(MCLRE = 1), the pin functions as the device Master
Clear input. When selected as a port pin (MCLRE = 0),
it functions as an input only pin; as such, it does not
have TRISG or LATG bits associated with it.
In either configuration, RG5 also functions as the
EXAMPLE 10-7:
CLRF
CLRF
MOVLW
MOVWF
Note 1: On a Power-on Reset, RG5 is enabled as
I/O pin
2: If the device Master Clear is disabled,
(1)
PORTG
LATG
0x04
TRISG
a digital input only if Master Clear
functionality is disabled (MCLRE = 0).
verify that either of the following is done to
ensure proper entry into ICSP mode:
a.) disable low-voltage programming
b.) make certain that RB5/KBI1/PGM is
Note 1: I/O pins have diode protection to V
RG0
RG1
RG2
RG3
RG4
Pin
bit
(CONFIG4L<2> = 0); or
held low during entry into ICSP.
2: Peripheral output enable is only active
; Initialize PORTG by
; clearing output
; data latches
; Alternate method
; to clear output
; data latches
; Value used to
; initialize data
; direction
; Set RG1:RG0 as outputs
; RG2 as input
; RG4:RG3 as inputs
in
and V
if peripheral select is active.
In
Override
INITIALIZING PORTG
 2005 Microchip Technology Inc.
Yes
Yes
Yes
Yes
Yes
Configuration
SS
TRIS OVERRIDE
its
.
default
USART1 Async Xmit,
USART1 Async Rcv,
PP
Sync Data Out
Sync Clock
Peripheral
ECCP3 I/O
CCP4 I/O
CCP5 I/O
/RG5) is a digital
Register
configuration
DD
3H

Related parts for PIC18F8525-E/PT