PIC16C554-04I/P Microchip Technology, PIC16C554-04I/P Datasheet - Page 31

IC MCU OTP 512X14 18DIP

PIC16C554-04I/P

Manufacturer Part Number
PIC16C554-04I/P
Description
IC MCU OTP 512X14 18DIP
Manufacturer
Microchip Technology
Series
PIC® 16Cr
Datasheets

Specifications of PIC16C554-04I/P

Core Size
8-Bit
Program Memory Size
896B (512 x 14)
Core Processor
PIC
Speed
4MHz
Peripherals
POR, WDT
Number Of I /o
13
Program Memory Type
OTP
Ram Size
80 x 8
Voltage - Supply (vcc/vdd)
3 V ~ 5.5 V
Oscillator Type
External
Operating Temperature
-40°C ~ 85°C
Package / Case
18-DIP (0.300", 7.62mm)
Controller Family/series
PIC16C
No. Of I/o's
13
Ram Memory Size
80Byte
Cpu Speed
4MHz
No. Of Timers
1
Processor Series
PIC16C
Core
PIC
Data Bus Width
8 bit
Data Ram Size
80 B
Maximum Clock Frequency
20 MHz
Number Of Programmable I/os
13
Number Of Timers
8
Operating Supply Voltage
2.5 V to 5.5 V
Maximum Operating Temperature
+ 85 C
Mounting Style
Through Hole
3rd Party Development Tools
52715-96, 52716-328, 52717-734
Development Tools By Supplier
ICE2000
Minimum Operating Temperature
- 40 C
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Eeprom Size
-
Data Converters
-
Connectivity
-
Lead Free Status / Rohs Status
 Details
EXAMPLE 5-1:
FIGURE 5-6:
 2002 Microchip Technology Inc.
; Initial PORT settings: PORTB<7:4> Inputs
;
;
; PORTB<7:6> have external pull-up and are
; not connected to other circuitry
;
;
;
;
Note 1: This example shows write to PORTB followed by a read from PORTB.
BCF PORTB, 7
BCF PORTB, 6
BSF STATUS, RP0 ;
BCF TRISB, 7
BCF TRISB, 6
Instruction
2: Data setup time = (0.25 T
RB <7:0>
fetched
output valid. Therefore, at higher clock frequencies, a write followed by a read may be problematic.
PC
READ-MODIFY-WRITE
INSTRUCTIONS ON AN
I/O PORT
SUCCESSIVE I/O OPERATION
Q1
MOVWF PORTB
; 01pp pppp
; 10pp pppp
; 10pp pppp
; 10pp pppp
PORT latch PORT pins
---------- ---------
Q2
Write to
PORTB
PORTB<3:0> Outputs
PC
Q3
CY
Q4
- T
11pp pppp
11pp pppp
11pp pppp
10pp pppp
PD
) where T
Q1
MOVF PORTB, W
Read PORTB
MOVWF
Preliminary
Execute
PORTB
Q2
PC + 1
CY
T
Q3
= instruction cycle and T
PD
Q4
5.4.2
The actual write to an I/O port happens at the end of an
instruction cycle, whereas for reading, the data must be
valid at the beginning of the instruction cycle, as shown
in Figure 5-6. Therefore, care must be exercised if a
write followed by a read operation is carried out on the
same I/O port. The sequence of instructions should be
such to allow the pin voltage to stabilize (load
dependent) before the next instruction which causes
that file to be read into the CPU is executed. Otherwise,
the previous state of that pin may be read into the CPU
rather than the new state. When in doubt, it is better to
separate these instructions with an NOP or another
instruction not accessing this I/O port.
Q1
Port pin
sampled here
Q2
PORTB, W
PC + 2
Execute
NOP
MOVF
SUCCESSIVE OPERATIONS ON I/O
PORTS
Q3
PD
= propagation delay of Q1 cycle to
Q4
Q1
PIC16C55X
Execute
Q2
PC + 3
NOP
NOP
Q3
DS40143D-page 29
Q4

Related parts for PIC16C554-04I/P