PIC16F877T-04I/PQ Microchip Technology, PIC16F877T-04I/PQ Datasheet - Page 158
![IC MCU FLASH 8KX14 EE 44-MQFP](/photos/6/59/65984/150-44-pqfp_sml.jpg)
PIC16F877T-04I/PQ
Manufacturer Part Number
PIC16F877T-04I/PQ
Description
IC MCU FLASH 8KX14 EE 44-MQFP
Manufacturer
Microchip Technology
Series
PIC® 16Fr
Datasheets
1.PIC16F616T-ISL.pdf
(8 pages)
2.PIC16F688T-ISL.pdf
(688 pages)
3.PIC16C770-ISO.pdf
(8 pages)
4.PIC16F873-04SO.pdf
(218 pages)
5.PIC16F873-04SO.pdf
(5 pages)
6.PIC16F873-04SO.pdf
(5 pages)
Specifications of PIC16F877T-04I/PQ
Core Processor
PIC
Core Size
8-Bit
Speed
4MHz
Connectivity
I²C, SPI, UART/USART
Peripherals
Brown-out Detect/Reset, POR, PWM, WDT
Number Of I /o
33
Program Memory Size
14KB (8K x 14)
Program Memory Type
FLASH
Eeprom Size
256 x 8
Ram Size
368 x 8
Voltage - Supply (vcc/vdd)
4 V ~ 5.5 V
Data Converters
A/D 8x10b
Oscillator Type
External
Operating Temperature
-40°C ~ 85°C
Package / Case
44-MQFP, 44-PQFP
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
PIC16F877T-04I/PQ
Manufacturer:
Microchip Technology
Quantity:
10 000
- PIC16F616T-ISL PDF datasheet
- PIC16F688T-ISL PDF datasheet #2
- PIC16C770-ISO PDF datasheet #3
- PIC16F873-04SO PDF datasheet #4
- PIC16F873-04SO PDF datasheet #5
- PIC16F873-04SO PDF datasheet #6
- Current page: 158 of 688
- Download datasheet (3Mb)
PICmicro MID-RANGE MCU FAMILY
DS31009A-page 9-18
Question 4:
Answer 4:
1.
2.
Another case where a read-modify-write instruction may seem to change other pin values
unexpectedly can be illustrated as follows: Suppose you make PORTC all outputs and
drive the pins low. On each of the port pins is an LED connected to ground, such that a
high output lights it. Across each LED is a 100 F capacitor. Let's also suppose that the
processor is running very fast, say 20 MHz. Now if you go down the port setting each pin
in order; BSF PORTC,0 then BSF PORTC,1 then BSF PORTC,2 and so on, you may see
that only the last pin was set, and only the last LED actually turns on. This is because the
capacitors take a while to charge. As each pin was set, the pin before it was not charged
yet and so was read as a zero. This zero is written back out to the port latch (r-m-w,
remember) which clears the bit you just tried to set the instruction before. This is usually
only a concern at high speeds and for successive port operations, but it can happen, so
take it into consideration.
If this is on a PIC16C7XX device, you have not configured the I/O pins properly in the
ADCON1 register. If a pin is configured for analog input, any read of that pin will read a
zero, regardless of the voltage on the pin. This is an exception to the normal rule that the
pin state is always read. You can still configure an analog pin as an output in the TRIS reg-
ister, and drive the pin high or low by writing to it, but you will always read a zero. Therefore
if you execute a Read-Modify-Write instruction (see previous question) all analog pins are
read as zero, and those not directly modified by the instruction will be written back to the
port latch as zero. A pin configured as analog is expected to have values that may be nei-
ther high nor low to a digital pin, or floating. Floating inputs on digital pins are a no-no, and
can lead to high current draw in the input buffer, so the input buffer is disabled.
When I perform a BCF instruction, other pins get cleared in the port. Why?
1997 Microchip Technology Inc.
Related parts for PIC16F877T-04I/PQ
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
![PIC16F877T-04/PQ](/photos/6/59/65984/150-44-pqfp_tmb.jpg)
Part Number:
Description:
IC MCU FLASH 8KX14 EE 44-MQFP
Manufacturer:
Microchip Technology
Datasheet:
![PIC16F877T-04/L](/photos/6/63/66325/150-44-plcc_tmb.jpg)
Part Number:
Description:
IC MCU FLASH 8KX14 EE 44PLCC
Manufacturer:
Microchip Technology
Datasheet:
![PIC16F877T-04/PT](/photos/6/82/68251/c04-076_pt_tmb.jpg)
Part Number:
Description:
IC MCU FLASH 8KX14 EE 44TQFP
Manufacturer:
Microchip Technology
Datasheet:
![PIC16F877T-20/PQ](/photos/6/59/65984/150-44-pqfp_tmb.jpg)
Part Number:
Description:
IC MCU FLASH 8KX14 EE 44-MQFP
Manufacturer:
Microchip Technology
Datasheet:
![PIC16F877T-20/L](/photos/6/63/66325/150-44-plcc_tmb.jpg)
Part Number:
Description:
IC MCU FLASH 8KX14 EE 44PLCC
Manufacturer:
Microchip Technology
Datasheet:
![PIC16F877T-20/PT](/photos/6/82/68251/c04-076_pt_tmb.jpg)
Part Number:
Description:
IC MCU FLASH 8KX14 EE 44TQFP
Manufacturer:
Microchip Technology
Datasheet:
![PIC16F877T-20I/L](/photos/6/63/66325/150-44-plcc_tmb.jpg)
Part Number:
Description:
IC MCU FLASH 8KX14 EE 44PLCC
Manufacturer:
Microchip Technology
Datasheet:
![PIC16F877T-20I/PT](/photos/6/82/68251/c04-076_pt_tmb.jpg)
Part Number:
Description:
IC MCU FLASH 8KX14 EE 44TQFP
Manufacturer:
Microchip Technology
Datasheet:
![PIC16F877T-04I/L](/photos/6/63/66325/150-44-plcc_tmb.jpg)
Part Number:
Description:
IC MCU FLASH 8KX14 EE 44PLCC
Manufacturer:
Microchip Technology
Datasheet:
![PIC16F877T-04I/PT](/photos/6/82/68251/c04-076_pt_tmb.jpg)
Part Number:
Description:
IC MCU FLASH 8KX14 EE 44TQFP
Manufacturer:
Microchip Technology
Datasheet:
![PIC16F877T-04E/L](/photos/6/63/66325/150-44-plcc_tmb.jpg)
Part Number:
Description:
IC MCU FLASH 8KX14 EE 44PLCC
Manufacturer:
Microchip Technology
Datasheet:
![PIC16F877T-10E/L](/photos/6/63/66325/150-44-plcc_tmb.jpg)
Part Number:
Description:
IC MCU FLASH 8KX14 EE 44PLCC
Manufacturer:
Microchip Technology
Datasheet:
![PIC16F877T-04E/PQ](/photos/6/59/65984/150-44-pqfp_tmb.jpg)
Part Number:
Description:
IC MCU FLASH 8KX14 EE 44-MQFP
Manufacturer:
Microchip Technology
Datasheet:
![PIC16F877T-10E/PQ](/photos/6/59/65984/150-44-pqfp_tmb.jpg)
Part Number:
Description:
IC MCU FLASH 8KX14 EE 44-MQFP
Manufacturer:
Microchip Technology
Datasheet:
![PIC16F877T-10E/PT](/images/manufacturer_photos/0/4/439/microchip_technology_tmb.jpg)
Part Number:
Description:
IC MCU FLASH 8KX14 EE 44TQFP
Manufacturer:
Microchip Technology
Datasheet: