PIC12C671-04/P Microchip Technology, PIC12C671-04/P Datasheet - Page 568

no-image

PIC12C671-04/P

Manufacturer Part Number
PIC12C671-04/P
Description
IC MCU OTP 1KX14 A/D 8DIP
Manufacturer
Microchip Technology
Series
PIC® 12Cr
Datasheets

Specifications of PIC12C671-04/P

Program Memory Type
OTP
Program Memory Size
1.75KB (1K x 14)
Package / Case
8-DIP (0.300", 7.62mm)
Core Processor
PIC
Core Size
8-Bit
Speed
4MHz
Peripherals
POR, WDT
Number Of I /o
5
Ram Size
128 x 8
Voltage - Supply (vcc/vdd)
3 V ~ 5.5 V
Data Converters
A/D 4x8b
Oscillator Type
Internal
Operating Temperature
0°C ~ 70°C
Processor Series
PIC12C
Core
PIC
Data Bus Width
8 bit
Data Ram Size
128 B
Maximum Clock Frequency
4 MHz
Number Of Programmable I/os
5
Number Of Timers
1
Operating Supply Voltage
3 V to 5.5 V
Maximum Operating Temperature
+ 70 C
Mounting Style
Through Hole
3rd Party Development Tools
52715-96, 52716-328, 52717-734
Development Tools By Supplier
ICE2000
Minimum Operating Temperature
0 C
On-chip Adc
4-ch x 8-bit
Data Rom Size
128 B
Height
3.3 mm
Length
9.27 mm
Supply Voltage (max)
5.5 V
Supply Voltage (min)
3 V
Width
6.35 mm
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
For Use With
ISPICR1 - ADAPTER IN-CIRCUIT PROGRAMMINGAC124001 - MODULE SKT PROMATEII 8DIP/SOIC
Eeprom Size
-
Connectivity
-
Lead Free Status / Rohs Status
Lead free / RoHS Compliant

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC12C671-04/P
Manufacturer:
MICROCHIP
Quantity:
6 700
PICmicro MID-RANGE MCU FAMILY
DS31029A-page 29-46
Question 5:
Answer 5:
There are a few possibilities, two are:
1.
2.
Another case where a R-M-W instruction may seem to change other pin values unexpect-
edly 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 consid-
eration.
If this is on a PIC16C7X device, you may not have 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 other pins get cleared in the port. Why?
1997 Microchip Technology Inc.

Related parts for PIC12C671-04/P