PIC18LF8525T-I/PT Microchip Technology, PIC18LF8525T-I/PT Datasheet - Page 122
![no-image](/images/manufacturer_photos/0/4/439/microchip_technology_sml.jpg)
PIC18LF8525T-I/PT
Manufacturer Part Number
PIC18LF8525T-I/PT
Description
IC PIC MCU FLASH 24KX16 80TQFP
Manufacturer
Microchip Technology
Series
PIC® 18Fr
Datasheet
1.PIC18F6525-IPT.pdf
(396 pages)
Specifications of PIC18LF8525T-I/PT
Core Processor
PIC
Core Size
8-Bit
Speed
40MHz
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.8K x 8
Voltage - Supply (vcc/vdd)
2 V ~ 5.5 V
Data Converters
A/D 16x10b
Oscillator Type
External
Operating Temperature
-40°C ~ 85°C
Package / Case
80-TFQFP
Processor Series
PIC18LF
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
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
PG164130, DV164035, DV244005, DV164005, PG164120, ICE2000, ICE4000, DV164136, DM163032
Minimum Operating Temperature
- 40 C
On-chip Adc
16 bit
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
PIC18LF8525T-I/PT
Manufacturer:
Microchip Technology
Quantity:
10 000
- Current page: 122 of 396
- Download datasheet (8Mb)
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 PIC18LF8525T-I/PT
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: